Discuss Scratch

crispysnails
New Scratcher
3 posts

Help with Alien shooting Project!

Hi there!

I am making an alien blasting game for a school project, and I have a few glitches in my game. Can someone please help me?

Here is my link to my game: https://scratch.mit.edu/projects/455096837/editor

- When the player collects 20 stars, it moves right ahead to the second level, as it should. Then, it glitches back to level 1 and makes you replay the level for a couple of seconds. After it goes back, it then moves on to level 2. You will see this happen if you play my game. How do you fix this?

- The other glitch is that since I have now changed the player direction from 90 degrees to change x by 5, now the blast only comes from the right side. You will see this happen if you press the left arrow key and press the spacebar, it only points in the player's right (change x by 10) direction. I think it is because now the player direction does not work since I changed it to 90. Do you have any ideas to fix this issue?

- Also, how do you make all of the enemies spawn and come from all different directions to the player?

I would really, really appreciate any help at all!
Skywarslord
Scratcher
100+ posts

Help with Alien shooting Project!

crispysnails wrote:

Hi there!

I am making an alien blasting game for a school project, and I have a few glitches in my game. Can someone please help me?

Here is my link to my game: https://scratch.mit.edu/projects/455096837/editor

- When the player collects 20 stars, it moves right ahead to the second level, as it should. Then, it glitches back to level 1 and makes you replay the level for a couple of seconds. After it goes back, it then moves on to level 2. You will see this happen if you play my game. How do you fix this?

- The other glitch is that since I have now changed the player direction from 90 degrees to change x by 5, now the blast only comes from the right side. You will see this happen if you press the left arrow key and press the spacebar, it only points in the player's right (change x by 10) direction. I think it is because now the player direction does not work since I changed it to 90. Do you have any ideas to fix this issue?

- Also, how do you make all of the enemies spawn and come from all different directions to the player?

I would really, really appreciate any help at all!
For the first thing Do this.
forever
if <(Stars) = [20]> then
switch backdrop to [ Level 2]
end
end
Repeat this for the other ones just with different variables

Powered by DjangoBB