An old trick used would be to determine where the character would go, then do a CopyRect to copy that portion of the screen, then DrawRect the character onto the screen. When the character needs to be moved, you would just DrawRect the previously saved buffer to restore the screen, call CopyRect on the new position, then DrawRect the character, on and on as the character keeps moving from frame to frame. I haven't tried it in Blitz to see if it's any faster or not. Of course, it would be determined by the type of game. If you're doing a scrolling tile game, you'll probably need to redraw the entire screen again, in which case, a cls probably wouldn't be necessary at all.
2D screen updates
Blitz3D Forums/Blitz3D Beginners Area/2D screen updatesThe forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.