Hi,
I have am using the 'Beginners guide to DarkBasic Gme Programming' book to teach me DBPro. I am using the trial version (full one should arrive 2moro

!) I am using one of their sample programs and can't get it to work! It is one of the fundamentally simple sprite displaying programs. However, the program won't compile saying that the sprite on line 23 doesn't exist!
`----------------------------------------------------------
`Beginner's Guide To DarkBASIC Game Programming
`Copyright (C)2002 Jonathan S. Harbour and Joshua R. Smith
`Chapter 11 - TransSprite Program
`----------------------------------------------------------
`Initialize the program
SET DISPLAY MODE 640, 480, 32
HIDE MOUSE
CLS
`Load background bitmap
LOAD BITMAP "background.bmp", 0
`Load the source bitmap file
LOAD BITMAP "F15.bmp", 1
`Grab image 1 from bitmap
GET IMAGE 1,0,0,300,300
`Draw the sprite
SPRITE 1,170,90,1
paste sprite 1, 0, 0
`Wait for keypress
WAIT KEY
END
background.bmp and F15.bmp are in the right directory. What's going on? The book says I should see a plane on top of a pretty background! If I can't understand this I'm not gonna do to well!
P.S. How do I use the code snippet thingy on these forums?
Life is like a penis:
When it's soft you can't beat it, when it's hard you get screwed.