in rpg game i use on spirte with deference animation for what class it is.. also i make variable on this Sprite with STats:..STs DEx,Con, LVL HP Armor, Weapon etc etc...
my mind stop now why i need to give A spell or ability when player is Level 1,2,3,4,5,... etc etc max 25lvl atm
what can i do now?? what is the best think for this??
1. make a ton variable inside sprite for any class ? e.x Warrior lvl 1 he have 4abiliyl.. lvl +2 5abilitys ,,priest have 10 spell in lvl 1,,priest lvl 2 +15 new spell etc etc this all cost a ton variable inside one Sprite..and
is this the best way ?
and after all this the next step is the enemy!! is good think to continue and create instance variable for any ability or Spell all this in one sprite??
i dont know what is the best setup...
i choose to make only one sprite to avoid and create 100 deference sprite for any hero or enemy...
and last one!! all sprite when spawn in layer the user can control all of them is Grid Game