Description: Official subforum for LunaLua - an extension framework for SMBX Engine Version 1.3 (which a core of SMBX 2.0). Share your creations that require the use of LunaLUA. You may also share info/tutorials on how to use LunaLUA.Moderators:Moderators, Semi-moderatos

The timing with the waitSeconds function isn't consistent. I moved multiple layers, at the same speed, for the same amount of time, and they weren't aligned afterward. Also, I tried waitSeconds(1) and waitFrames(65) at the same time, and they weren't aligned afterward. These wait times should be equivalent.

Also, waitSeconds IS accurate, but in terms of the number of physical seconds taken. The waitSeconds function takes into account the time between frames, which means it will always take the same physical time regardless of any lag. For this reason, waitSeconds is not suitable for moving layers.