How to Score when mouse is pressed or screen is touched?
Dell7730
Member, PRO Posts: 388
I would like to get (set) points per (determined amount of length of time like for ex: 5 seconds or 10 seconds) while screen is touched or pressed upon.
I would like to get earn points for the length of time I stay on pressed, ON CONTACT with the screen (on touchscreens) or within the game area on computer.
Best Answer
-
tatiang Posts: 11,949
When Mouse Button is Down
.....Timer every 0.1 seconds
..........Change attribute game.score to game.score+1.New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Answers
literally figured it out a couple of seconds before you responded hahaha, thanks!