I am unit testing my game. So in my test I instantiate my code, but I have
no way of advancing the game ahead by a frame. I tried
Runtime:dispatchEvent(‘enterFrame’); to no avail.
So I need to tell Corona to advance my game by a frame, more specifically I
need the physics engine to advance a frame.
ie:
for i=1, 100 do MAKE PHYSICS ENGINE APPLY GRAVITY AND DO OTHER THE OTHER
THINGS IT MIGHT DO EACH FRAME; end
[import]uid: 162900 topic_id: 30864 reply_id: 330864[/import]