Hello all!
First of all: what a wonderful community you have here. The amount of information, tutorials and sample code available for free is astonishing.
My question relates to general code structure. Do most of you do all your game updates inside your event callbacks?
So, most of the game logic is called from inside the “OnScreenTouch” (for example) function?
Is there a way of harnessing a per-frame “Update” function or something? Is this a common way of doing things? Is it normal for the whole screen to have to redraw on a user’s touch?
It looks to me that all of this stuff is abstracted away from the coder (the Corona animation stuff is super tidy).
Would be great if you guys could share some “best practices” with regards to this.
Many thanks!
Toby [import]uid: 102533 topic_id: 21069 reply_id: 321069[/import]

[import]uid: 52491 topic_id: 21069 reply_id: 83353[/import]