First cell refers to the cell number in the image file to start loading. Suppose you have several animations of your player in one .png file.
cells 0 - 15, player walking left
cells 16 - 31, player walking right
cells 32 - 47, player jumping left
etc...
Then you can load them like this.
Actually you could have all your graphics in one huge .png file and load them this way.
cells 0 - 15, player walking left
cells 16 - 31, player walking right
cells 32 - 47, player jumping left
etc...
Then you can load them like this.
Local PlayerWalkLeft:TImage = LoadAnimImage("Player.png",32,32,0,16) Local PlayerWalkRight:TImage = LoadAnimImage("Player.png",32,32,16,16) Local PlayerJumpLeft = LoadAnimImage("Player.png",32,32,32,16) etc...
Actually you could have all your graphics in one huge .png file and load them this way.