Thank You Aphrodite thats all i needed to know, using the array is a method i need to burn into my brain.
I just seen this reply sorry for the late reply. I just asked R0j0hound this question but maybe you can help me aswell.
im having an issue with figuring out if the cell is empty because if my cell is equal to 0 and my animation frames adjust to the value of the array.
dirt = 0
grass covered = 7
If an empty cell is equal to 0 that is giving me an issue because if it is empty it will always make the sprite that occupies that cell Frame 0
What is the return value of an empty cell?
Im kinda confused because the way i see the logic it seems like an empty cell should return a different value.