I was wondering in what order the following take place in the Corona app execution loop:
- touchEvents are dispatched handled
- enterFrame events are dispatched handled
- display is refreshed
- physics objects are updated by physics engine
- programmer defined events (if this is even possible. If so, how do you do this by the way? Question has been asked before but the thread died.)
- …
Since I use the “enterframe” event to trigger my game update, it would be good to know whether my game code or my UI code runs first.
I havent found any documentation from Ansca that describes the execution loop at all. What else is going on behind the scenes that might be of interest to the coder, and in what order? Does anybody have a reference to some documentation?
Request: I’d really appreciate a write-up on this.
[import]uid: 48545 topic_id: 21104 reply_id: 321104[/import]
[import]uid: 52491 topic_id: 21104 reply_id: 83511[/import]