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

#1 2009-05-28 18:01:40

Quaggledorf
Scratcher
Registered: 2009-03-27
Posts: 7

Is it possible...?

Hi. I was wondering if it's possible to place an existing sprite into a list and, if so, how is this done. I'm trying to make a "Team A" and "Team B" situation and I dont want to rewrite the code for the sprites over and over again. Any help is greatly apppreciated.

Offline

 

#2 2009-05-28 18:26:13

big-bang
Scratcher
Registered: 2008-02-21
Posts: 1000+

Re: Is it possible...?

Quaggledorf wrote:

Hi. I was wondering if it's possible to place an existing sprite into a list and, if so, how is this done. I'm trying to make a "Team A" and "Team B" situation and I dont want to rewrite the code for the sprites over and over again. Any help is greatly apppreciated.

It isn't possible. You could have a Team variable maybe.


http://i47.tinypic.com/6edrbm.jpghttp://i45.tinypic.com/dw9hmw.jpghttp://i50.tinypic.com/f28tvn.jpghttp://i45.tinypic.com/ruwaop.jpg

Offline

 

#3 2009-05-29 17:23:27

Quaggledorf
Scratcher
Registered: 2009-03-27
Posts: 7

Re: Is it possible...?

alright, thanx

Offline

 

#4 2009-05-29 18:41:46

iab97
Scratcher
Registered: 2009-04-04
Posts: 100+

Re: Is it possible...?

If you had a Sprite touch another Sprite (like if Team A and B were attacking each-other), then you could tell the Sprites to change their Health Variable.

Of course, you wouldn't have-to have Teams A and B fighting one another—they could be trading or something like that.  wink


Hope that helped at least a little bit!  smile


-iab97 One of my favorite quotes: "You can't direct the wind, but can adjust your sails." -Unknown

Offline

 

Board footer