Hello, thanks for taking the time to read this topic.
Recently i have gotten back into dark basic and gave a simple invaders clone a shot. well when the paddle moves (left and right) it kind of skips its not a smooth movement, Can anyone help?
`---Setup Screen---`
Set Display Mode 640, 480, 32
Hide Mouse
Sync On
Sync Rate 60
`---Variables---`
PlayerX = 320
PlayerY = 445
`---Load Sprites---`
Load Image "Media/paddle.png", 1
Sprite 1, PlayerX, PlayerY, 1
Rotate Sprite 1,90
`---Main Loop---`
do
cls
`---Handle Movement---`
if LeftKey()
Move Sprite 1, -4
else if RightKey()
Move Sprite 1, 4
endif
endif
sync
loop
Current Project: Learning DBP