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

#1 2009-12-18 11:14:56

Raakuth
Scratcher
Registered: 2009-11-18
Posts: 8

Hi im stuck on a few things...

hi im making a space invaders game and i am stuck on two things:
1)the laser keeps going through the space invaders.
2)how do i get the mothership to come when the points reach a multiple of something e.g. every 1000 points. so a mothership at 1000 points,2000 points,3000 points,4000 points etc.

Thanks for reading  smile


http://img710.imageshack.us/img710/5325/db652a36e109b70d6ab8698.pnghttp://img710.imageshack.us/img710/2360/207bd7b8d8d38d39ac99eb7.png

Offline

 

#2 2009-12-18 18:28:30

Raakuth
Scratcher
Registered: 2009-11-18
Posts: 8

Re: Hi im stuck on a few things...

Nevermind now ive worked it out sorry for any inconvenience


http://img710.imageshack.us/img710/5325/db652a36e109b70d6ab8698.pnghttp://img710.imageshack.us/img710/2360/207bd7b8d8d38d39ac99eb7.png

Offline

 

#3 2009-12-18 20:54:20

TheSaint
Scratcher
Registered: 2008-11-04
Posts: 1000+

Re: Hi im stuck on a few things...

Welcome to Scratch.

If you need any more help, just ask. It is not any inconvience. We live to serve.  tongue
But seroisly, don't hesitate to ask. Good luck on the project.

Offline

 

#4 2009-12-22 15:43:57

TreacLE_24
Scratcher
Registered: 2008-07-18
Posts: 10

Re: Hi im stuck on a few things...

Hello, Raakuth!

I have a solution (hopefully) for the second problem.

Create a variable called points

<{ points }>

Then try the following script

<when green flag clicked>
<forever if><( <{ points }> <=> (( <pick random( 1 )to( 20 <*> 1000 )) )>
<broadcast[ mothership down ]

Hope this works!

TreacLE_24

Offline

 

Board footer