Posts: 242
Threads: 29
Joined: Dec 2004
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!"
Posts: 6,419
Threads: 74
Joined: Mar 2002
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.
Posts: 336
Threads: 4
Joined: Nov 2004
wasn't lillo playing around with the idea of having the bloading function he wrote load bitmaps ?
Posts: 29
Threads: 2
Joined: May 2004
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]
Posts: 3,279
Threads: 170
Joined: Nov 2003
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.
I'd knock on wood, but my desk is particle board.
Posts: 242
Threads: 29
Joined: Dec 2004
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!"
Posts: 73
Threads: 16
Joined: Jan 2005
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.
Posts: 1,439
Threads: 15
Joined: Apr 2003
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.
Posts: 6,419
Threads: 74
Joined: Mar 2002
Posts: 268
Threads: 9
Joined: Dec 2004
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...