Quick Question on -put-xor-or-and-pset.....

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
User avatar
KDAG
Coder
Posts: 22
Joined: Wed Sep 03, 2008 4:41 am
Location: California

Quick Question on -put-xor-or-and-pset.....

Post by KDAG »

Whats the best way to use the get/put graphics command without getting the flicker of restoring the background placing the mask then adding the pic? :?
User avatar
T'lon Nanaki
Coder
Posts: 42
Joined: Mon Aug 04, 2008 12:46 pm
Location: Denver Colorado
Contact:

Post by T'lon Nanaki »

I'd try dimentioning a screenbuffer, put the graphics in the buffer, then use the put command to place it on the screen, thus eliminating flicker

I remember seeing a tutorial in this site that explains how to do that, but i don't know about using get or put in the buffer :P
User avatar
burger2227
Veteran
Posts: 2466
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Post by burger2227 »

Try using WAIT or page flipping in Screens 7 or 9. Don't use CLS!

Screen 13 can use the screen buffer directly from a BSAVE file.

Ted
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt »

If you're using QB, just use a graphics library. There's plenty of them.
Post Reply