Hi everybody,
I have absolutely zero knowledge of Lua script, however, I have tried reverse engineering to implement dynamic clouds into my game according to this tutorial
LINK. I have been almost successful except for one thing - the clouds in my game flow either very quickly across the screen or when I slow them down, they disappear halfway through it. By trial and error, I found out, I can change the speed of the clouds in scene Action "dyn_cloud_i_loop"
local delay = math.floor(Values["v_cloud_1_delay"].Int / 100) * getPos("cloud_1", -1181, 1280)
By changing the number after .Int/ or by changing the number in
Set random value in "v_cloud_delay". However, in both cases, the clouds then disappear halfway on the screen.
I should also state, that the original tutorial is made for screen 640px wide, and my game is 1280, i suspect that may play a role as well.
Is there the original author of the scripts or someone who understand Lua, that could please help me sort this out and make my clouds "live" untill they make it all the way across the screen? (i did account the width of my screen within the scripts and where the clouds are suppesd to move)