I am not sure if this is even the best way to describe what I am trying to do but here we go. I have a Energy sprite that has two animations. 1 is grey(empty) and the other is blue(player health) I have a global variable player_health = 5
When it is 5 I want to show 5 blue energy sprites in a row on screen
4 would display 4 blue and 1 grey
3 would display 3 blue and 2 grey
And so on
I have created other arrays for other sprite changes in the game but there is only one instance of those particular sprites on the screen at a time but this I need them laid out differently and i think I am approaching this wrong.