Hey,
I was wondering, How can my character move smooth?
He moves 20 pixels at the time. Now, can we make it for example 4 pixels x 5?
Here was my original idea:
at the end of the loop:
for i=1 to 20 step 4
sprite 1,oldxpos*i,oldypos*i,anim(1)
sync
next i
are there any other solutions?
note: I don't really want to move by floats (0.20125....)
It has to be a small code that will do the movment at the bottom.
Cheers,
PiratSS.
Specs: Dual Amd Athlon 2Ghz(1Ghz x 2), 40GB 15000 Rpm SCSI Hard Drive, 640 Mb 266Mhz DDR, 12x8x32 CDRW, ATI Rage Fury Pro 32Mb SD Video, 17' Monitor