I am making a project and need the sprite to count. I don't want it to have a limit. How do I do it????
Thanks,
Roadrunner444
Offline
if you are counting seconds
<when green flag clicked>
<say[ <timer> ]>
if you are counting things
<when green flag clicked>
<set{ }to(0)
<forever>
<say[<{ }>
<end>
<when green flag clicked>
<change{ }by(1)
Offline
Im confused. What I want to do is count how many time a button has been clickedd. Thank you Shyguy101 for trying to help. Could you try to explain again??? Thanks again
Roadrunner444
Last edited by roadrunner444 (2011-06-30 12:29:18)
Offline
Simply make a variable called 'clicks' and add this script to the button's sprite:
[blocks]
<when[ button ]clicked>
<change{ clicks }by( 1
[/blocks]
Hope it helped
Offline
LS97 wrote:
Simply make a variable called 'clicks' and add this script to the button's sprite:
[blocks]
<when[ button ]clicked>
<change{ clicks }by( 1
[/blocks]
Hope it helped![]()
And the variable will report how many times it has been clicked, if you didn't get that.
Last edited by scimonster (2011-06-30 13:20:31)
Offline
scimonster wrote:
LS97 wrote:
Simply make a variable called 'clicks' and add this script to the button's sprite:
[blocks]
<when[ button ]clicked>
<change{ clicks }by( 1
[/blocks]
Hope it helped![]()
And the variable http://theblocklibrary.site11.com/inclu … =variables will report how many times it has been clicked, if you didn't get that.
![]()
I have a feeling that was just to try out your spec parser...
Awesome, anyway
Maybe add bingo's category colors, as well as %s and %n inputs?
Last edited by LS97 (2011-06-30 13:56:07)
Offline
Thanks guys!!! helped alot!!!
Offline
LS97 wrote:
scimonster wrote:
LS97 wrote:
Simply make a variable called 'clicks' and add this script to the button's sprite:
[blocks]
<when[ button ]clicked>
<change{ clicks }by( 1
[/blocks]
Hope it helped![]()
And the variable http://theblocklibrary.site11.com/inclu … =variables will report how many times it has been clicked, if you didn't get that.
![]()
I have a feeling that was just to try out your spec parser...
Awesome, anyway![]()
Maybe add bingo's category colors, as well as %s and %n inputs?![]()
It wasn't, and it's not mine. Talk to TheSuccessor.
Offline