Quote: "1)I have read in a book called "Beginners Guide to Dark Basic Programming" that you can only have 32 bitmaps.Does this mean I have to use sprites to display my bitmaps?"
Bitmaps are like different screens that we can load up to manipulate graphics. Bitmap 0 is the main screen. Bitmaps 1-32 are the others that can be used without showing anything on the main screen. This gives us the ability to load stuff on another bitmap, change the graphics, then copy the changes to the main screen (bitmap 0) without the user of the program knowing whats going on in the background.
Quote: "2)How do I Load all bitmaps(or sprites)?At the moment I have written Load Bitmap(Number)49 times for each individual bitmap.Surely there is a quicker way via a For Next loop?"
There are two ways you can do it. Put all the pictures on one graphic, load that, and use a for/next loop to grab each image. Or you can just avoid using "load bitmap" altogether and load each individual image directly with "load image".
Quote: "3)How do I truly randomize each bitmap to be drawn to the screen?"
To randomize you want to add "randomize timer()" at the top of your code. Anytime you want a random number you use the "rnd()" command.
Quote: "Many thanks in advance to anyone with an answer,or even part of one. P.S I have uploaded the program,its a Work In Progress"
randomize timer()
` Load the image
load bitmap "zelda.bmp",1
` Get Zelda
x=1:y=18
for t=50 to 54
get image t,x,y,x+21,y+23,1
inc x,22
next t
` Get Map Graphics
x=1:y=1
for t=1 to 20
get image t,x,y,x+16,y+16,1
inc x,17
next t
` Change the current working bitmap to zero (the main screen)
set current bitmap 0
do
a=rnd(19)+1
paste image a,rnd(640),rnd(480)
loop