Discuss Scratch

123chespen
Scratcher
52 posts

Help on my game again...

I am having trouble with my Game.
The game is supposed to be a Galaga/Space Invader sort of game but my enemies have stopped showing up when I play. Another thing I'm hoping 1 of you guys can fix is the music I have does not work (Does not change). The music script is in the backdrop and the green and red spaceship is the enemy that I am talking about.

Here is the link to my game: https://scratch.mit.edu/projects/220031704/

Please help me again! Thanks!


I occasionally create games on scratch, but most of my projects are consisting of pixilart, which usually takes up the majority of my effort, rather then gameplay. If you would like to see more of my pixilart, go here.
littlekitty5
Scratcher
18 posts

Help on my game again...

To make the music change

Use this script in the backdrop:

when green flag clicked
forever
if <(Start game) = [0]> then
play sound [Inside Dreams] until done
end
if <(Start game) = [1]> then
play sound [Dark Intentions] until done
end
end

And add a “stop all sounds” block to the script that broadcasts “Game start” in your fighter ship sprite so that the script looks like this:

when green flag clicked
forever
if <<<(Start game) = [0]> and <touching [mouse-pointer] ?>> and <mouse down?>> then
broadcast [Game start]
stop all sounds
end
end

Last edited by littlekitty5 (May 18, 2018 03:48:22)

littlekitty5
Scratcher
18 posts

Help on my game again...

Figured out why you can't see the enemies! : D They are stuck behind the space background sprite. Hit the go to front block and they'll show up again.
123chespen
Scratcher
52 posts

Help on my game again...

Thanks for the help! It is all greatly appreciated!


I occasionally create games on scratch, but most of my projects are consisting of pixilart, which usually takes up the majority of my effort, rather then gameplay. If you would like to see more of my pixilart, go here.
123chespen
Scratcher
52 posts

Help on my game again...

Now I am having even more trouble. I am trying to add a death sort of ‘Game Over’ thing but the explosion costumes on the spaceship do not change and the sounds for the health do not work either.

I would really much appreciate it if any of you could help me with my project again, thank you anyway!


I occasionally create games on scratch, but most of my projects are consisting of pixilart, which usually takes up the majority of my effort, rather then gameplay. If you would like to see more of my pixilart, go here.

Powered by DjangoBB