Here is one that resets the timer...you need to use greater than or less than... equal will not work with the timer:
when green flag clicked
reset timer
forever
if timer > 10
reset timer
change happiness by 1
Paulmedwal
Offline
Oh, do you have to reset the timer on:
when green flag clicked
reset timer
forever
if timer > 10
reset timer
change happiness by 1
Or can you:
when green flag clicked
forever
if timer > 10
change happiness by 1
Or:
when green flag clicked
reset timer
forever
if timer > 10
change happiness by 1
Any suggestions?
tomosh
Offline
I think you want the first one (with 2 "reset timer" blocks). You want the first one because the timer does not automatically reset when the green flag is clicked. The second one sets the timer back to zero, so you can start all over again and check for when it reaches 10.
Does that help?
-Tammy
Offline