03-17-2005, 08:10 AM
Just make all the tiles in one BMP, then GET each separet one. That will be the easiest way to do it.
But if you want separet BMPs,. you only need to put..
[syntax="qbasic"]LoadBMP &HA000, 320, 200, "grass.bmp", 0, 0, 1, -1
GET (0, 0)-(15, 15), grass
CLS
LoadBMP &HA000, 320, 200, "wall.bmp", 0, 0, 1, -1
GET (0, 0)-(15, 15), wall
CLS [/syntax]
No need to make another BMP loader, you can use the same one.. ^ See, its variables are set before it runs to what you want... its almost like a PRINT command, you don't need 2 QB IDEs to make 2 PRINT statments aye? :wink:
But if you want separet BMPs,. you only need to put..
[syntax="qbasic"]LoadBMP &HA000, 320, 200, "grass.bmp", 0, 0, 1, -1
GET (0, 0)-(15, 15), grass
CLS
LoadBMP &HA000, 320, 200, "wall.bmp", 0, 0, 1, -1
GET (0, 0)-(15, 15), wall
CLS [/syntax]
No need to make another BMP loader, you can use the same one.. ^ See, its variables are set before it runs to what you want... its almost like a PRINT command, you don't need 2 QB IDEs to make 2 PRINT statments aye? :wink: