Smoothe animation - in BPlus

BlitzPlus Forums/BlitzPlus Programming/Smoothe animation - in BPlus

Being new to Plus, I need to get to grips with smoothe scrolling in general.

On other platforms I programmed I used double-buffering and VBLANK to get optimal performace and pixel-perfect animation.

I know this is possible, and in your experience, what is the fastest possible way?

Double buffering has to be used in blitz plus i'm sure. Basically draw your images, call flip, then clear screen and start again :)

we have the ront buffer and back buffer.

example:

graphics 640,480,0,2
setbuffer backbuffer()

while not keyhit(1)
text 20,20,"lol"
flip ; Flip the gfx from backbuffer to frontbuffer!
wend

AutoSuspend 1
CreateTimer(60)
Repeat
Select WaitEvent()
     Case $4001 ; Tick
     ; Do all your rendering here
     VWait 1: FlipCanvas Canvas, 1
End Select
Forever


This gives the smoothest scrolling I could come up with, and i've tried many methods.

@Eikon

super tip. thanx