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

#1 2008-02-01 00:01:29

exezima
Scratcher
Registered: 2008-01-26
Posts: 17

Help! please.....

http://scratch.mit.edu/projects/exezima/91004

please help why wont these enimies DIe.

Offline

 

#2 2008-02-01 05:44:53

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Help! please.....

Don't test for death by looking for health equal to zero.  Instead, look for health less than zero, it's a much safer test.  What is happening here is that the big bosses health is going down so fast that it is passing zero before the test has a chance to catch it.  You also will probably want to put a Wait statement after the test that checks for damage from the seeds. 

You can see all this happen if you display the variable for the Big Bosses health on the screen while you are shooting at it.  Hope that helps!

Last edited by Paddle2See (2008-02-01 05:45:45)


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#3 2008-02-01 10:47:14

exezima
Scratcher
Registered: 2008-01-26
Posts: 17

Re: Help! please.....

gahhh....i know that but how do i fix it

Offline

 

#4 2008-02-01 11:19:51

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Help! please.....

To Fix:

On Sprite17, change

              If Lapras = 0

To

             If Lapras < 0

Also, you need to put that IF in a Forever Loop, it is only getting tested once at the start of the project

            Forever IF Lapras < 0



and put a Wait 1 Sec after

              Change Lapras by -10

so that it looks like

               Change Lapras by -10
               Wait 1 Second

Okay?  And stop making rude noises on the Forum.

Last edited by Paddle2See (2008-02-01 11:33:22)


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#5 2008-02-01 11:42:28

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: Help! please.....

Download this version and take a look.

http://scratch.mit.edu/projects/Paddle2SeeFixIt/91191


http://i39.tinypic.com/2nav6o7.gif

Offline

 

Board footer