Hey. From Roblox.Lua I got used to wait(sec) function. Is there any way to simplify waiting in Corona?
In example, I need a function to be repeated every 300ms, so it looks something like this:
for i = 1, 10 do
wait(300) – ms
functionFire()
end
I tried using timer.performWithDelay() but instead of pausing (waiting) it just skipped the time. Help?