Noobie here. I\'m working through the book, \"Beginner\'s Guide to DarkBASIC Game Programming. I\'ve got to the chapter on sprites and I cannot get any of the examples to work! The simplest is in the snippet:
HIDE MOUSE
CLS
SYNC ON
`Load the source bitmap file
LOAD BITMAP \"F15.bmp\", 1
`Grab image 1 from bitmap
get image 1,0,0,300,300
SPRITE 1,170,90,1
SYNC
`Wait for keypress
WAIT KEY
END
This one displays a black screen and does nothing more. If I run in a window I can also run task manager, which shows this process taking 50% of processor time and about 10MB of memory. No sprite though.
The other examples also don\'t work. One will display the sprite, but collisions are not detected. Another displays the sprite, but not the background image. (All is from the DPPro code on the CD and of course the F15.bmp is present in the same directory.
I\'m using DNPro 5.9, but I get the same problems with the Trial version.
Has something changed since the book was published??
Mike