This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-11-22 19:30:50

AwemazingDave
New Scratcher
Registered: 2010-11-22
Posts: 1

Life points

How do i make all my scripts stop when one of my sprites life points run out?

Offline

 

#2 2010-11-22 19:34:58

-GizzardGulp-
Scratcher
Registered: 2010-03-05
Posts: 100+

Re: Life points

Wrap this around all of you're other sprite's scripts:

http://i1118.photobucket.com/albums/k607/Max_Levine/vjhm.gif

I hope I helped!


http://i1118.photobucket.com/albums/k607/Max_Levine/SnoutmolStudios.png

Offline

 

#3 2010-11-24 00:51:17

2l84zwamani
Scratcher
Registered: 2010-09-27
Posts: 100+

Re: Life points

When flag clicked
Forever
If Life points = 0
Stop all

The "stop all" block can be found in the "Control" section  smile


I will be a Ms. Pickle Dr. Deadpebble Great Person <forever>
http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3 GROB THE SLIME WILL TAKE OVER THE WORLD!

Offline

 

#4 2010-11-24 15:07:38

-GizzardGulp-
Scratcher
Registered: 2010-03-05
Posts: 100+

Re: Life points

2l84zwamani wrote:

When flag clicked
Forever
If Life points = 0
Stop all

The "stop all" block can be found in the "Control" section  smile

Yes, but then you can't make anything else happen after putting a stop all


http://i1118.photobucket.com/albums/k607/Max_Levine/SnoutmolStudios.png

Offline

 

#5 2010-11-28 20:00:36

-GizzardGulp-
Scratcher
Registered: 2010-03-05
Posts: 100+

Re: Life points

-GizzardGulp- wrote:

2l84zwamani wrote:

When flag clicked
Forever
If Life points = 0
Stop all

The "stop all" block can be found in the "Control" section  smile

Yes, but then you can't make anything else happen after putting a stop all

also, i don't like stop alls. they are an easy way out of showing someone they lost the game.


http://i1118.photobucket.com/albums/k607/Max_Levine/SnoutmolStudios.png

Offline

 

#6 2010-11-28 20:20:20

nextstorm
Scratcher
Registered: 2009-12-13
Posts: 1000+

Re: Life points

-GizzardGulp- wrote:

-GizzardGulp- wrote:

2l84zwamani wrote:

When flag clicked
Forever
If Life points = 0
Stop all

The "stop all" block can be found in the "Control" section  smile

Yes, but then you can't make anything else happen after putting a stop all

also, i don't like stop alls. they are an easy way out of showing someone they lost the game.

I lost the game! D:
Also, he wanted that all the scripts stopped when a sprite died. So, stop alls come inn handy here.


bye

Offline

 

#7 2010-11-28 20:22:21

-GizzardGulp-
Scratcher
Registered: 2010-03-05
Posts: 100+

Re: Life points

nextstorm wrote:

-GizzardGulp- wrote:

-GizzardGulp- wrote:


Yes, but then you can't make anything else happen after putting a stop all

also, i don't like stop alls. they are an easy way out of showing someone they lost the game.

I lost the game! D:
Also, he wanted that all the scripts stopped when a sprite died. So, stop alls come inn handy here.

i suppose so., but i think he should come up with a better ending then that


http://i1118.photobucket.com/albums/k607/Max_Levine/SnoutmolStudios.png

Offline

 

#8 2010-11-28 20:33:46

Bentheneighbor
Scratcher
Registered: 2008-12-24
Posts: 100+

Re: Life points

i lost the game.


"Something most Flash developers couldn't do."/"If 50 people did this, I would be amazed."/"Truly the best game on Scratch."/"So realistic, dark, and even beautiful, this game is better than 90% of escape games!" Real comments! CLICK HERE to see for yourself!

Offline

 

Board footer