change the timer speed

ronreronre Member Posts: 38
edited April 2015 in Working with GS (Mac)

hey,
i have speed buttom with a rule that when actor receives event touch is pressed
change attribute game.speedperclick To: game.speedperclick +0.2

in the timer i have every 1 second
change attribute game.mile To: game.mile +0.001
this is a mile counter

now, i want the timer to increase the counting every time that the game.speedperclick is ON
for example: 1-0.02, then the counting will change (increasing in speed)
in the next clicking its will be 0.8-0.02 and again and again until 0.2 the max speed.

i have tried to play with the position of the game.speedperclick in the timer field but without success.

thank you.

Comments

Sign In or Register to comment.