Discuss Scratch

MrR0g3rs
New Scratcher
9 posts

Need some help killing sprites

Hello Everyone. My first game is coming along nicely thanks to the community here. So the dragons fly toward the plane. The plane has two weapons, a bullet and a missile. I want the bullet to do 1 damage and the missile to do 2. The dragon is supposed to die after 2 damage. Couple of issues. If I hold down space and blast the dragon it will change its costume to the receiving damage costume but does not disappear until the space bar is released. I would like it to disappear as soon as it takes 2 damage. The same thing is happening with the missile. Also, when I fire the missile I cannot move the plane until the missile has completed its animation. Thanks in advance for any assistance.

https://scratch.mit.edu/projects/94310026/
BKFighter
Scratcher
1000+ posts

Need some help killing sprites

Move the missile broadcast detection/if z key pressed into its own loop in the missile sprite (or at least in its own loop).

Powered by DjangoBB