Discuss Scratch

linopa
Scratcher
40 posts

Help with bullets.

In this project: http://scratch.mit.edu/projects/13408071/, the sprites can fire bullets. I want it to be so that when two bullets hit each other, they both delete themselves. This works sometimes. But sometimes only one of the bullets gets deleted, which I do not want to happen. Does anyone know how to make it so that they always both get deleted?

- linopa
drmcw
Scratcher
1000+ posts

Help with bullets.

Usually because there is not enough time for the other clone to detect it before it is deleted. I notice you have wait 0.0001 seconds which is far too short try 0.1 in both waits and see if that fixes it.

10 !
ScratchVaders or Galaga?
Maybe Eliza can help you decide?

Powered by DjangoBB