I am having a problem with timers and my “enterFrame” Runtime listener not working.
I have my code structured using composer and in such a way that in my scene:create function I have two things
timer.performWithDelay(500, spawnEnemies, -1)
Runtime:addEventListener(“enterFrame”, updateGame)
I tried putting them in scene:show, but that didn’t work either
All works fine in the simulator. Is anybody else having this issue? Can anybody help?
**After further testing this seems to happen to anything (timer, transition, touch listener, runtime listener) that is put in the scene:create or scene:show. If I put the timer in another module, it works.
I’d still like to know if there is a way to fix this.