Hello there!
I'm working on my first in-depth project after being out of games coding for years!
I'm making a top down Gauntlet style game it's based on an old Sega game called Gain Ground.
When a character's health drops to 0 I'm trying to do the following:
Change the normal sprite to a 'defeated' sprite (I can do this bit)
But I'm having a load of characters in the game. So the idea is that you can rescue a downed character, but it needs to remember which character is downed & rescueable.
Do I have to just manually do this for each player sprite, or can it be grouped somehow?
So there are character objects - P1, P2, P3 (for example) which need downed objects (D1, D2, D3)
I'm hoping that makes sense!