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

#1 2012-08-10 15:07:44

destructo-serpent
Scratcher
Registered: 2012-07-25
Posts: 1000+

a script

is it possible to set a sprite to the character, so you can pick a character and then in a battle the other sprite will hurt you with the

<touching [sprite v] ?>
block, without putting them all as costumes within the same sprite?

Offline

 

#2 2012-08-10 15:16:13

destructo-serpent
Scratcher
Registered: 2012-07-25
Posts: 1000+

Re: a script

if i do put them all in one sprite it will be a lot bigger script

Offline

 

#3 2012-08-10 15:27:41

destructo-serpent
Scratcher
Registered: 2012-07-25
Posts: 1000+

Re: a script

nvm found a way

when gf clicked
forever
if < (character ID) = [red] >
wait until <touching [red sprite v] ?>

Offline

 

#4 2012-08-10 15:30:47

destructo-serpent
Scratcher
Registered: 2012-07-25
Posts: 1000+

Re: a script

when gf clicked
forever
if < (character ID) = [red] >
wait until <touching [red sprite v] ?>
change [character health v] by [5]
ill duplicate it and change it for dif characters
someone post if that wont work

Offline

 

Board footer