Simple Stat Tracker

So far there is a function in roll n bounce: https://flowlab.io/game/edit/2951298

If you click the stat tab it shows how many times you have jumped. But its really odd and tracking is all over the place right now and don’t really see what is going wrong

The code for each time you jump, each time you impulse it plus 1 to the save:

the code for the simple checker in the menu:

Pls help, sometimes the stats get really high after just a few jumps. Sometimes it gets very low again when you return to the tab sometimes. Really weird

  1. Because Jump force is 3, your adding 3 to the jump count on every jump.
  2. The stat is going to reset every stage if you don’t read it first.

1 Like