Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Need help making die/end game script
- FP_Llex
-
2 posts
Need help making die/end game script
Okay so I'm making a side scrolling dodging game but I can't seem to make the main sprite character die when it contacts the scrolling spike lines.
I'll just mention the important scripts involved;
When flag clicked;
broadcast play
(^Main character)
Spike lines ;
When I receive play;
If touching Sprite 2(Main character) then broadcast dead
Game over screen ;
When i receive play;
hide
When i receive dead;
show
stop all.
If there's any way to embed the actual scripts on the board (I just registered) then i wouldn't mind knowing as well
I'll just mention the important scripts involved;
When flag clicked;
broadcast play
(^Main character)
Spike lines ;
When I receive play;
If touching Sprite 2(Main character) then broadcast dead
Game over screen ;
When i receive play;
hide
When i receive dead;
show
stop all.
If there's any way to embed the actual scripts on the board (I just registered) then i wouldn't mind knowing as well

- doonkoo
-
100+ posts
Need help making die/end game script
hmm. is the project shared? i might be able to remix it to work.
- joespray
-
100+ posts
Need help making die/end game script
Changes;
When flag clicked;
broadcast play
(^Main character)
Spike lines ;
When I receive play;
Forever If touching Sprite 2(Main character) then broadcast dead
Game over screen ;
When i receive play;
hide
When i receive dead;
show
stop all.
When flag clicked;
broadcast play
(^Main character)
Spike lines ;
When I receive play;
Forever If touching Sprite 2(Main character) then broadcast dead
Game over screen ;
When i receive play;
hide
When i receive dead;
show
stop all.
- FP_Llex
-
2 posts
Need help making die/end game script
It's now shared. Please help a brother out, need this done by Friday. hmm. is the project shared? i might be able to remix it to work.
- joespray
-
100+ posts
Need help making die/end game script
It's now shared. Please help a brother out, need this done by Friday. hmm. is the project shared? i might be able to remix it to work.
Dude I just gave you the whole fixed line Of code.
- a1299474f
-
1 post
Need help making die/end game script
I'm making a game where u have 2 avoid a ball don't know how to make it when u touch the ball u die???????
- iceplays
-
1 post
Need help making die/end game script
yo i need help making a new game called (tank wars) and i cant seam to make the death script so can some one plz give me a hand?

- deck26
-
1000+ posts
Need help making die/end game script
Please create your own new topic and share the project. yo i need help making a new game called (tank wars) and i cant seam to make the death script so can some one plz give me a hand?
- millie-j
-
1 post
Need help making die/end game script
hi, I'm making a virtual pet game and I have used a variable for its happiness. I don't know how to make a game over when the happiness reaches 0
- PinkTabbyHunterLargo
-
100+ posts
Need help making die/end game script
Please make your own topic for this, hi, I'm making a virtual pet game and I have used a variable for its happiness. I don't know how to make a game over when the happiness reaches 0this kind of thing is sometimes very annoying.
- Discussion Forums
- » Help with Scripts
-
» Need help making die/end game script