I'd like to do a racing game in DB Pro using similar graphics to
OutRun or the
Lotus games on the Amiga. I've got my program to draw the road on screen. It's probably rubbish, but I've:
*Made a road image
*Made an animated sprite from it, each frame being the width of the bitmap horizontally an one pixel vertically
*Cloned it until a top-down road fills the screen
*set each sprite one frame after the one above it
*and scaled each sprite in such a way, that I have a basic road going off into the distance
It runs smoothly (at the 60 fps that I set it for) at this point.
Now my problem is, when I try to set each sprite's priorities, it runs sluggishly. About 10 fps.
Any ideas anyone?
Sorry, but I couldn't provide the code at the moment. Can't remember where I save it!