Time

From Fancade Wiki

Scripts in Fancade execute 60 times a second, so to get the time passed in seconds, divide the number of frames passed by 60. Current Frame is useful for that as it keeps track of the number of frames passed since the game started, starting from 0.

Set Score, when set to Fastest time or Longest time accepts the input in seconds, so the tip from above applies there.

Examples

To make something execute every N frames, the following script can be used:

Plays a sound every 60 frames


Andrew Clark, by reverse engineering the random number generator used by Fancade, made a script that can read the current time on the device. It is availible here.