Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

hi there! if i replaced everything after:

"on finish"

with:

"go[card]"

would i be able to have a project that automatically jumps the viewer to a new card once the countdown reaches 0? thank you very much for this program by the way, it's great!

(+1)

Yes. Just to be clear, if you make an instance of the EggTimer contraption and edit it's script, it will have a template like

on finish do
end

You can then fill in an event handler for "finish" like you would any script. For example,

on finish do
 go["someCardName"]
end

Note that if the only thing you want to do is wait 10 seconds after clicking a button before navigating to another card you could use the sleep[] function on an ordinary button's script:

on click do
 sleep[10 * 60]
 go["someCardName"]
end

The difference being that sleep[] is "synchronous" and prevents the user from doing anything else while the script sleeps, whereas the EggTimer is "asynchronous" and the user could click something else or navigate away from the timer before it goes off.

ah, thank you for this. i'd rather use this asynchronous option because i aim to have the player click on elements of an image that either pop-up things or navigate to other cards while the countdown is still actively going on (not quite sure yet, but it's a work in progress).