This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-06-26 21:52:46

ScratchApprentice
New Scratcher
Registered: 2012-06-24
Posts: 3

Help with my game!

I am trying to make a game that's sort of like Space Invaders, I've almost finished but I'm stuck on one point. I don't know how to let scratch know when all the 'Space Invaders' have been shot. I want it to broadcast 'You Win' once all the Space Invaders are gone, but I just don't know how to. I've tried maybe having a sprite that only appears at the end once all the other Invaders have been shot, but once again, I don't know how to make Scratch know when all the Invaders have been shot and broadcast 'Next Sprite' or 'You Win'.
Please help!

Offline

 

#2 2012-06-27 00:06:45

daniel_j
Scratcher
Registered: 2012-05-22
Posts: 100+

Re: Help with my game!

Can you link us to the project, I will try it for you xD


http://i50.tinypic.com/2dhgnsx.jpg

Offline

 

#3 2012-06-27 00:23:44

ScratchApprentice
New Scratcher
Registered: 2012-06-24
Posts: 3

Re: Help with my game!

Sure.
http://scratch.mit.edu/projects/ScratchApprentice/2638304

Offline

 

#4 2012-06-27 00:28:13

ScratchApprentice
New Scratcher
Registered: 2012-06-24
Posts: 3

Re: Help with my game!

Oh, don't worry about it. I've got it figured out. Thanks for your concern though :]

Offline

 

#5 2012-06-27 05:18:27

daniel_j
Scratcher
Registered: 2012-05-22
Posts: 100+

Re: Help with my game!

Thats alright xD I will check it out though!


http://i50.tinypic.com/2dhgnsx.jpg

Offline

 

#6 2012-06-27 07:32:38

dankill51
Scratcher
Registered: 2012-01-22
Posts: 85

Re: Help with my game!

you could change a variable by 1 every time a space invader is shot and make it so when that variable equals the number of space invaders broadcast "you win" or what ever you want

Offline

 

Board footer