hello!
i’ve playing with cheetomoskeeto’s orb smasher tutorial at http://www.youtube.com/watch?v=6TsDdLY7VXk and am having an issue adding a delay when i want the listener to receive variables…
placing random orbs on the screen is no issue, get a nice delay of whatever i want using timer.performWithDelay
tmr = timer.performWithDelay(200, spawnEgg, total\_eggs);
but when i try to place them in a grid it works, but without the intended delay.
for i = 1, egg\_columns do
for j = 1, egg\_rows do
tmr = timer.performWithDelay(200, spawnEgg(i,j), 1);
end
end
so 2 questions…
- can i not pass variables from timer.performWithDelay?
- if not is there another delay method? [import]uid: 24493 topic_id: 6437 reply_id: 306437[/import]
[import]uid: 24493 topic_id: 6437 reply_id: 23002[/import]