array maps

Blitz3D Forums/Blitz3D Beginners Area/array maps

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.

perhaps depends on complexity or number of images in the image

hold the image in program as normal, say:

gfxLevel = loadimage ("F:\Documents and Settings\Administrator.NSTT1\My Documents\Blitz Progs\test.bmp")

then when you want a speficic image

rough example:

for a = 0 to 9 step 2
copyrect gfxLevel, a * 256, 0, 256, 256, imagebuffer(gfxLevel), backbuffer()
next

or
need = 5

copyrect gfxLevel, need * 256, 0, 256, 256, imagebuffer(gfxLevel), backbuffer()

Edit: hmmm no matter i misread question