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

#1 2013-04-11 10:00:49

aketz123
New Scratcher
Registered: 2013-04-10
Posts: 1

How do i maek shooter game go to next level?

My situation is kind of complicated. This is my first program and i am unsure what to do after this point. I made this shooter game in a couple of days. I made the basic sprites, i can shoot them, i have a timer, etc. But now i want to say that when they are all shot before the time ends, you get a sort of pass to the next level. how could i do that?

Offline

 

#2 2013-04-11 11:04:21

Stickman704
Scratcher
Registered: 2009-01-31
Posts: 1000+

Re: How do i maek shooter game go to next level?

So are there a set amount of enemies? If so, create a variable along the lines of 'enemiesKilled' then change it by one every time an enemy dies. Afterwards, do an if timer is greater than 0 and enemiesKilled = set number, broadcast next level.

Well that's one way to do it anyway  big_smile


Dun dun dun dun dun dun.... dun dun dun dun dun dun...  tongue

Offline

 

#3 2013-04-11 14:06:52

NamorTheFirst
New Scratcher
Registered: 2013-04-10
Posts: 60

Re: How do i maek shooter game go to next level?

say there are 3 enemies. Make a variable called Kills. Then
if kills=3
broadcast level 1 complete

Offline

 

Board footer