I've been looking to make my game logic run at 30 fps, to make movement deterministic and consistent even if the framerate fluctuates.
I can achieve that by easily moving objects with custom events, by making stuff like this:
| tickcount%2 = 0 | set x to self.x+10 |
(This object would move 10 pixels to the right whenever tick count is divisible by two - so every other tick)
It would be really nice, however, if I could have the default behaviors do that - such as the platformer, sine, and custom movement ones. Is it easy to make a change to the behaviors so they update every other tick? How would I go about doing that?