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).
Develop games in your browser. Powerful, performant & highly capable.
You mean something like:
player on collision with star
system add to global variable Stars = 1
First you'd have to ad the global variable to your event sheet, ofcourse..