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

#1 2008-01-19 15:39:33

SirSniipesAlot
Scratcher
Registered: 2008-01-18
Posts: 10

Falling Items

Alright so I'm making a project where you have to dodge falling scratches(bombs) as a knight.   I've got the bombs falling and the movement squared away with the knight, but my problem is this:  whenever a bomb hits the knight it won't explode + kill him unless he's moving, which kinda ruins the game.  Any help?

Offline

 

#2 2008-01-19 16:14:41

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

Re: Falling Items

It sounds like you might be sensing for the bombs in the same script that does the knight movement.  If that is the case, you won't get any checking for bomb contact unless the knight is moving.  You should have the sensing for bomb contact in a separate script, you could even have the bombs do the checking. 

Without seeing your project, I'm just guessing at the problem.  If you can't figure it out, you should share your project so other's can take a look at it.


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

Offline

 

Board footer