Home | Reviews | GUIpedia | Forum | Fun500


jasonwoodlandStoring Image
I'm making a paint proggy, how would i store the image in QBasic? every frame i clear the screen, so it's flicker free. I really need this help ASAP! Thanks in advance :)
2009-10-146:30 AM

ToddRe:Storing Image
What screen mode are you using? If you're in SCREEN 13, you can use GET/PUT with a PAGE routine. Also, here's an example paint program with source: http://qb45.com/download.php?id=720
2009-10-147:39 AM

BrandonRe:Storing Image
You're using Future Lib right? Then use its built in Get and Put routines.
2009-10-141:39 PM

jasonwoodlandRe:Storing Image
I'm using the future lib, 800x600x32, I'm already using paging and storing heaps of script data. i dont think it has much room left for images. I think this idea might work, how about if i draw a line then $actions = "line:042:028:601:335:&h0" then i execute that through my image parser inside the scripter.
2009-10-145:38 PM

BrandonRe:Storing Image
32bit is a waste of RAM! Use 16bit color it will save RAM, and look fine.
2009-10-146:07 PM

trollyRe:Storing Image
i think there is functions in futurelib to save and load screen, but i'm not sure about the function's name
2009-10-246:59 AM

GUIs


2021 Brandon Cornell