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

#1 2012-04-08 07:32:31

Ad2k1
Scratcher
Registered: 2012-03-02
Posts: 3

Space defender!

"Space defender!" is a game where you are playing as a rocket, trying to protect the earth from evil alien invaders who want to take over it.

Controls

You control the rocket with the arrow keys (or w and s on the keyboard).You shoot with space.

Help

Help, is not included in the game as it is included in the project notes.

I hope you enjoy playing the game!  smile

Offline

 

#2 2012-04-08 07:55:48

Splodgey
Scratcher
Registered: 2011-04-26
Posts: 500+

Re: Space defender!

Link?
Here's how if you don't know;

Code:

[url=LINK URL HERE]LINK NAME[/url]

For example:

Code:

[url=http://scratch.mit.edu/projects/Ad2k1/2454512]Space Defender![/url]

Will make:
Space Defender!



Also, as I commented, adding multiple beams could be like this:

when gf clicked //stage
delete [all v] of [Available beams v]

when gf clicked //for all beam sprites
wait (0.1) secs
add [Beam1] to [Available beams v] //Change the "1" to the Beam num if you see what I mean

when key [space v] pressed //stage probably
broadcast (item [1 v] of [Available beams v])
delete [1 v] of [Available beams v]

when i receive [Beam1 v] //for all beam sprites - again, change the 1 appropriately.
do whatever you do to fire the beam
when the beam is gone;
add [Beam1] to [Available beams v] //again, changing the 1.

Last edited by Splodgey (2012-04-08 10:04:09)

Offline

 

#3 2012-04-08 08:09:36

Ad2k1
Scratcher
Registered: 2012-03-02
Posts: 3

Re: Space defender!

Ok, heres the link

Space Defender!

Offline

 

#4 2012-04-08 08:10:58

Ad2k1
Scratcher
Registered: 2012-03-02
Posts: 3

Re: Space defender!

And thanks for showing me how to do multiple beams.

Offline

 

#5 2012-04-08 10:02:56

Splodgey
Scratcher
Registered: 2011-04-26
Posts: 500+

Re: Space defender!

Ad2k1 wrote:

Ok, heres the link

Space Defender!

Also, you'll Find an EDIT Button in the bottom right of your post (so edit the first post for people to see the link). And I missed something in my scripts (see my post again - at the bottom)

Last edited by Splodgey (2012-04-08 10:05:24)

Offline

 

Board footer