Cant Load File with "_" in it?

BlitzMax Forums/BlitzMax Beginners Area/Cant Load File with "_" in it?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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.
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.