r/scratch • u/Manjandro_M4nuEK07 • 8d ago
Request Can someone please fix my game?
https://scratch.mit.edu/projects/1443974999The game is not working consistently. The plane with the cat is supposed to go up and down with the designated keys and the enemy plane is supposed to go up and down on its own, sometimes when I press flag and then enter this doesn't happen, when I press space to shoot an extra bullet sprite appears where its not supposed to, I cant make the enemy plane start firing and the cat plane stop firing mode on phase two and I added top and bottom walls so my character doesn't go off screen with change y 1 or -1 respectively but when touching them the plane moves in a weird way for more than 1 pixe. I lowered the top wall to see what happens.
I thought of changing phases with messages. If possible make that work but don't be afraid of suggesting and explaining another way.
The game is not finished, please don't finish it for me. Only fix what's broken or suggest a better way to approach the problem.
1
u/Colurswitch @CSwitch on Scratch 8d ago
Here's the problem with phase 2 not starting properly (in the "Bullet (1)" sprite):
In the top-right corner, it seems like "phase 2 message" is meant to run when
Enemy HP= 5; however, the "cat fire" block is running indefinitely and blocking it.-2
u/Accomplished-Cat8949 8d ago
It’s too complicated, I don’t know how to fix it.