Quote: "
Your sprite moves five pixels at a time, of course it will look like it's moving jagged."
I've never had a problem with this causing the movement to look jagged or jerky,, especially a such a low interval like 5 pixels.
- Though Why is "shiftx" a float "#"? It should be an integer
- Why is the sync rate 40? I generally set it ot 60 or 0.
- I would suggest adding a ,1 at the end of your load image line.
- Is the backsave going to be necessary? More often than not, I turn it off, and redraw the background every frame, placing a cls at the begining of the loop.
- Not sure that it matters in dbpro, but I tend to keep my sprites and the images of the sprites at sizes x & y based on the power of 2. for example 2,4,8,16,32,64,128,256... It's probably not as important thesed days, but it's something I am in the habit of.
Your signature has been erased by a mod please reduce it to 600 x 120.
