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

#1 2012-01-29 17:47:15

ilovescratch2
Scratcher
Registered: 2008-12-31
Posts: 6

I need help with a script

For some reason, I create a health pack with variables and that stuff. But, when I play my game, it doesn't work. So, I tried to make a script that makes my character go to the front of the health pack. That didn't work. I tried to make a script that makes  my character go behind the health pack. That didn't work, either. Can anyone help? D:

Offline

 

#2 2012-01-29 17:48:40

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: I need help with a script

Could you upload the project and post a link?

Offline

 

#3 2012-01-29 18:16:26

4lover
Scratcher
Registered: 2010-04-24
Posts: 500+

Re: I need help with a script

Greenatic wrote:

Could you upload the project and post a link?


Check out this awesome new zombie-cod type of game: http://scratch.mit.edu/projects/4lover/1975649

Offline

 

#4 2012-01-29 18:33:04

jji7skyline
Scratcher
Registered: 2010-03-08
Posts: 1000+

Re: I need help with a script

What exactly do you want the health pack to do?


I don't know why you say goodbye, I say hello!  big_smile

Offline

 

#5 2012-01-29 21:18:53

Thescratch3
Scratcher
Registered: 2011-06-14
Posts: 1000+

Re: I need help with a script

Post the link and we can help you.


View my projects. Or face The scratch curse! (Get it?)
http://i56.tinypic.com/2cdk8hy.png

Offline

 

#6 2012-02-01 13:56:22

EsLdBb
New Scratcher
Registered: 2012-01-27
Posts: 1

Re: I need help with a script

how do you Jump and then be able to some back down

Offline

 

#7 2012-02-01 14:05:04

Legolas_Greenleaf
Scratcher
Registered: 2011-06-16
Posts: 86

Re: I need help with a script

Hello EsLdBb,
You should post your question in a new topic.  For the information you want, please see here.

Legolas  smile


http://25.media.tumblr.com/tumblr_m8s5zeoqje1qky8rdo1_250.gif  OPPAN GANGNAM STYLE~

Offline

 

#8 2012-02-03 15:34:26

scratchwhizz
Scratcher
Registered: 2012-02-03
Posts: 9

Re: I need help with a script

What you have to do is make a variable of health and then have when touching the health sprite or colour or whatever, change health by whatever.

when gf clicked
forever if <touching sprite 4 >
    change [health v] by (-1)

Offline

 

Board footer