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
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.
Offline
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.
Hope that helped at least a little bit!
Offline