Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
whats wrong with this code??
#18
Smile 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:
Kevin (x.t.r.GRAPHICS)

[Image: 11895-r.png]
Reply


Messages In This Thread
whats wrong with this code?? - by computerkid14 - 03-03-2005, 05:52 AM
whats wrong with this code?? - by Rattrapmax6 - 03-04-2005, 04:28 AM
whats wrong with this code?? - by computerkid14 - 03-06-2005, 03:19 AM
whats wrong with this code?? - by Rattrapmax6 - 03-06-2005, 03:35 AM
whats wrong with this code?? - by computerkid14 - 03-07-2005, 10:58 PM
whats wrong with this code?? - by Rattrapmax6 - 03-08-2005, 02:57 AM
whats wrong with this code?? - by computerkid14 - 03-08-2005, 03:59 AM
whats wrong with this code?? - by Rattrapmax6 - 03-08-2005, 04:05 AM
whats wrong with this code?? - by computerkid14 - 03-15-2005, 10:56 PM
whats wrong with this code?? - by Rattrapmax6 - 03-16-2005, 03:33 AM
whats wrong with this code?? - by computerkid14 - 03-16-2005, 09:30 AM
whats wrong with this code?? - by TheBigBasicQ - 03-16-2005, 11:24 PM
whats wrong with this code?? - by computerkid14 - 03-17-2005, 12:34 AM
whats wrong with this code?? - by Rattrapmax6 - 03-17-2005, 03:28 AM
whats wrong with this code?? - by computerkid14 - 03-17-2005, 07:04 AM
whats wrong with this code?? - by Rattrapmax6 - 03-17-2005, 08:10 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)