I am creating an infinite jumping game. My caracter basically jumps on clouds and picks up stars. The stars are counted (one of the goals of the game is pick up the most stars possible)... However, I don't know how to make my caracter be able to pick up stars... I have tried global variables, but nothing seems to work.
Bonus: I also need to know how I can calculate time (sort of like in the auto-runner template).