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

#1 2011-01-24 20:01:44

AlbertEGV
Scratcher
Registered: 2011-01-06
Posts: 6

Link's Live :d

PLZ, I NEED SOME HELP, BUT I CAN'T UPLOAD THE GAME :S IS A NEW VERSION OF ZELDA GAME  big_smile  NOW ITS CALLED "THE LOST FRAGMENT" AND I HAVE A QUESTION XD

WHAT COMMAND I NEED TO USE FOR THAT
EXAMPLE:
IF <ENERGY BALL> TOUCHING <LINK>
SET, CHANGE( I DON'T KNOW) LINK LIVE TO -1 

OK, I DO THAT, AND WORKS! BUT I HAVE A IMAGE OF THE LINK LIVE (HEARTS) AND I WANT TO CHANGE THE COSTUME, I DON'T KNOW, LIKE

IF <ENERGY BALL> TOUCH <LINK>
SET, CHANGE( I DON'T KNOW) LINK LIVE TO -1 
BROADCAST LIVE-1

WHEN I RECEIVED LIVE-1, SWITCH COSTUME TO <IMAGE>

PLZ HELP ME, TELL ME WHAT I WANT TO CHANGE, HERE IS A SCREENSHOT OF THE PROYECT( I DON'T KNOW WHY I CAN'T UPLOAD TO THE WEB)

picture of error: http://i54.tinypic.com/2litra1.jpg ( THIS IS THE COMANDS OF HEARTS COSTUMES)

http://i52.tinypic.com/5b63qw.jpg ( COMANDS OF ENERGY BALL["OBJEATO 36] )

Offline

 

#2 2011-01-25 00:10:24

throughthefire
Scratcher
Registered: 2009-07-09
Posts: 1000+

Re: Link's Live :d

Okay, first of all, stop typing in caps.
Second of all, make it so it's CHANGE link live by -1
Third, make it a global (Able to be read by all sprites) variable, then make it so that if link's life is a certain number, the hearts are at a certain costume, instead of using broadcasting. Using broadcasting for that is like brushing your teeth with a plunger. It doesn't make sense at all. Hope that helped!


Back. For now. Maybe.

Offline

 

#3 2011-01-25 19:11:53

AlbertEGV
Scratcher
Registered: 2011-01-06
Posts: 6

Re: Link's Live :d

I don't know, not work  sad  I do that the life goes down. But not that changes image of the hearts when the life decrease =/

Offline

 

Board footer