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

#1 2007-05-16 22:43:43

wade11
Scratcher
Registered: 2007-05-16
Posts: 8

How and where do i find the health feature? I want to use it but..

I don't know how, any help appriciated!

Offline

 

#2 2007-05-16 22:49:37

paulmedwal
Scratcher
Registered: 2007-03-09
Posts: 100+

Re: How and where do i find the health feature? I want to use it but..

what do you mean by health feature?...If you want to keep track of the "health" of a sprite in a scratch project, you can make a variable called "health" and change it by -1 whenever it touches something bad (using the touching___? block in the sensing catagory).


clutter.scratch.mit.edu Visit the Clutter site to create multi-scene stories and multi-level games with Scratch.

Offline

 

#3 2007-05-16 22:52:37

wade11
Scratcher
Registered: 2007-05-16
Posts: 8

Re: How and where do i find the health feature? I want to use it but..

Thanks!

Offline

 

#4 2007-05-16 23:00:51

rszrama
Scratcher
Registered: 2007-05-15
Posts: 25

Re: How and where do i find the health feature? I want to use it but..

If you want, you can check out my Grumpy Wizard example game.  He loses health every time a witch hits him.  In the main game loop, if health ever equals 0 then the end game routine is called.

Offline

 

Board footer