I have everything else exept for the fact that THE GAME CAN'T END!!! How do you make it when you're out of shots, the game plays a noise then ends? Here's what I tried:
[<when green flag clicked>
<if><{ Shots<( <=> )>0 }>
<play sound[ End
Offline
What exactly do you want to do?
Here's something to try out:
[blocks]<when green flag clicked>
<forever>
<if><( <{ shots }> <=> 0 )>
<broadcast[ end ]> [/blocks] (make scripts in other sprites with "when I receive[end]" for end stuff)
[blocks]<play sound[ End ]>[/blocks]
*insert other end scripting here*
[blocks]<stop all>
<end>
<end>[/blocks]
Offline
meowmeow55 wrote:
What exactly do you want to do?
Here's something to try out:
[blocks]<when green flag clicked>
<forever>
<if><( <{ shots }> <=> 0 )>
<broadcast[ end ]> [/blocks] (make scripts in other sprites with "when I receive[end]" for end stuff)
[blocks]<play sound[ End ]>[/blocks]
*insert other end scripting here*
[blocks]<stop all>
<end>
<end>[/blocks]
Thanks!!! But, I was also kinda looking for how to make a leaderboard...
Offline
Corbinsor wrote:
meowmeow55 wrote:
What exactly do you want to do?
Here's something to try out:
[blocks]<when green flag clicked>
<forever>
<if><( <{ shots }> <=> 0 )>
<broadcast[ end ]> [/blocks] (make scripts in other sprites with "when I receive[end]" for end stuff)
[blocks]<play sound[ End ]>[/blocks]
*insert other end scripting here*
[blocks]<stop all>
<end>
<end>[/blocks]Thanks!!! But, I was also kinda looking for how to make a leaderboard...
It's currently not possible unless the Scratchers post their scores as comments and the take the highest 10. However, you can make a thing called highscore in the project. Wait a minute...
Here: http://scratch.mit.edu/projects/project1/1201218
Last edited by laser100 (2010-07-19 18:16:38)
Offline