Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GFXlib and standard bitmaps?
#1
Playing around with the latest release (0.11b) trying out some of the gfxlib stuff...

Anyone know of an easy way to use standard .BMP bitmap files with the gfxlib stuff?

I have several 256 color bitmap tilesets that I am using as a base for a simple game. I thought I would try using the graphics in a simple program with the gfxlib functions as the base for the screen control.
ature has its way of warning a person away from danger: The distinct black and white coloration on a skunk, the chilling buzz of a rattlesanke, a redneck handing you his beer and saying "Watch this!"
Reply
#2
You load BMPs exactly in the same way you did in QB: coding a BMP loading routine.

There are thousands lying around for QB. Do a quick google search and you'll find plenty of BMP, PCX or GIF loaders. A fast port and you are done!

If you can't find any, I own the complete ABC packets. I could hunt for one.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#3
wasn't lillo playing around with the idea of having the bloading function he wrote load bitmaps ?
Reply
#4
I am working on TIFF image loader in FB, just wait until I finish it and convert your .BMPs to .TIFs in the meantime :wink: :wink: :wink:
img]http://img59.exs.cx/img59/7237/aqsig2el.png[/img]
Reply
#5
PTCXL has a BMP loader. It will need some minor changes to work with gfxlib but any coder worth his/her salt can accomplish that easily. Big Grin
I'd knock on wood, but my desk is particle board.
Reply
#6
I have a couple of BMP and PCX parsing routines for basic and pascal. I was going to port one of those but thought I might check for an obvious way that I might be overlooking.
ature has its way of warning a person away from danger: The distinct black and white coloration on a skunk, the chilling buzz of a rattlesanke, a redneck handing you his beer and saying "Watch this!"
Reply
#7
Nathan, any chance you could put up the ABC packets somewhere?

Last I checked, it seemed that the ABC site went down (maybe I just don't know where to look for it). I wouldn't mind having them all, though.
Reply
#8
You can get most of the ABC packets here.

Quote:NOTICE
Thank you for your interest in All Basic Code Archives (ABC). However, ABC is currently going through some major changes. ABC is not yet available. It will be soon.
Reply
#9
There's also this official mirror: http://www.scottserver.net/basically/abc/
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#10
ShadowWolf: yes I was playing with that idea, but didn't find the time to actually add it... Now I'm wondering if to leave that to external routines...
ngelo Mottola - EC++
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)