Custom PUT routine to screen 12
Custom PUT routine to screen 12
Hi! I have created a 18*18 pixels image and saved it with bsave in screen 12. Is there way to draw that picture pixel by pixel from memory after bloading it? For example drawing only 10*10 pixels instead 18*18 pixels. Anyway, I know how to do that in screen 13, but I don't know how to get it work in screen 12. Can anyone help me?
- burger2227
- Veteran
- Posts: 2466
- Joined: Mon Aug 21, 2006 12:40 am
- Location: Pittsburgh, PA
Sure
I gather you are using a BLOAD array. PUT the image on the screen and then just GET what you need and erase the original picture. This should hardly take much time. Just erase it with a black full box. CLS is too slow and can cause screen flicker.
If you use two Arrays or index one array, then you can have either one shown later using PUT.
Ted
If you use two Arrays or index one array, then you can have either one shown later using PUT.
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
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