TICKTOCK - ignorantbliss/nba GitHub Wiki

A Tick / Tock scripting node is used to create events that are evenly spaced in time.

Your Level has a 'master clock' that moves between '1' and '0' every few seconds. Using the Tick/Tock node, you can make sure that every Prop and Terrain Block in your level shares a common timer.

Outputs

1> Output: An output signal, either '1' or '0'

Usage

This node is used if you want your level to change with consistent timing.

You might want to drive the activation of a door, or make terrain blocks visible and invisible using a consistent timer.

The tick-tock timer not only makes this easy to do, but also ensures that there's enough time between each change to let your player predict and respond - such as jumping between disappearing blocks.

Examples

Vanishing Blocks

If you have a set of Spikes, you can create a 'timing challenge' where the player needs to walk across a set of spikes that operate in a pattern by connecting the spikes activation to a Tick/Tock node.

You can also use this timer with terrain blocks, such as having every second block turn invisible.

You should also consider adding a NOT block to your Tick/Tock node.

See Also

On Delay
Off Delay

⚠️ **GitHub.com Fallback** ⚠️