Alarms/Wait function? (SOLVED)

This sounds like something you could do with a repeating timer. There are plenty of threads on the forum regarding it :slight_smile:

Here is one using Native Extensions
https://forum.defold.com/t/defold-timer-the-native-timer-extension/6581/9

Here is one using a lua module

Here is one of people discussing delaying a function call with go.animate as a workaround

@britzl also have a couple of modules on his repo
This one in the gem bag that is ludobits
https://github.com/britzl/ludobits/blob/master/ludobits/m/timer.lua
and this one among his gists

5 Likes