cf_on_interval¶
Category: time
GitHub: cute_time.h
Returns true for one frame update each time an interval of seconds elapses.
Parameters | Description |
---|---|
interval | Number of seconds between each interval. |
offset | A starting offset in seconds for the interval. This gets mathematically modulo'd. Used to sync times for rythms or repeats. |
Simply place this within an if-statement! |