05-02-2014, 10:36 PM
(05-02-2014, 09:18 PM)Bat Tamer Wrote: "wait" in Marti's code means how long to keep that frame going. wait: 0 means there that frame will only be out for 1 frame(TU); wait: 1 means two frames(TU) before the next is triggered. I hope you mean that wait:1 means waiting for just one frame on your version.But what about 0? "wait:" sets how much extra should the frame be delayed. If wait is 0, then this means that the frame will pass in the normal (1./FPS)th of a second. Else, the wait value will just be added to that 1; (1.+waitvalue)/FPS. Having "wait:1" ignored completely doesn't make any sense IMO.
A-Engine: A new beat em up game engine inspired by LF2. Coming soon
A-Engine Dev Blog - Update #8: Timeout