Discuss Scratch

FP_Llex
New Scratcher
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

doonkoo
Scratcher
100+ posts

Need help making die/end game script

hmm. is the project shared? i might be able to remix it to work.
joespray
Scratcher
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.
FP_Llex
New Scratcher
2 posts

Need help making die/end game script

doonkoo wrote:

hmm. is the project shared? i might be able to remix it to work.
It's now shared. Please help a brother out, need this done by Friday.
joespray
Scratcher
100+ posts

Need help making die/end game script

FP_Llex wrote:

doonkoo wrote:

hmm. is the project shared? i might be able to remix it to work.
It's now shared. Please help a brother out, need this done by Friday.

Dude I just gave you the whole fixed line Of code.
a1299474f
New Scratcher
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
Scratcher
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
Scratcher
1000+ posts

Need help making die/end game script

iceplays wrote:

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?
Please create your own new topic and share the project.
millie-j
New Scratcher
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
Scratcher
100+ posts

Need help making die/end game script

millie-j wrote:

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
Please make your own topic for this, this kind of thing is sometimes very annoying.

Powered by DjangoBB