LB Booster
« re: endless graphics draws and LBBooster »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 04:43am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
BBC BASIC Home Page
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1 2  Notify Send Topic Print
 hotthread  Author  Topic: re: endless graphics draws and LBBooster  (Read 1677 times)
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: re: endless graphics draws and LBBooster
« Reply #15 on: Sep 11th, 2015, 5:24pm »

on Sep 11th, 2015, 5:06pm, Rod wrote:
If you ran this in LB with a size of 200 then every time the window was moved minimised or restored there would be 200 drawing actions. Perhaps not with LBB but certainly with LB.

The effect won't be so serious in LBB, but it will certainly slow the program down so it's not a good idea. If you're writing a program to run only in LBB, I would recommend not using FLUSH (although it can still be useful when paired with REDRAW). If you want the code to run in both LB and LBB then use FLUSH but ensure it doesn't result in a memory leak (e.g. using CLS or DELSEGMENT to free the memory).

Richard.
User IP Logged

michael
Guest
xx Re: re: endless graphics draws and LBBooster
« Reply #16 on: Sep 11th, 2015, 5:34pm »

That's fine. It doesn't take me long to copy/paste my main program onto a template.
I will just make a Program generator to merge the files together quickly into a new program.
Because that's what I do best.

I am using LBB just for the fact that it makes stand alone executables and for the fact it allows continuous draws.
I could use the other resources like gxGL and OpenGL and some other method Richard used in old forum posts for 3D magic, but that's a bit over me since I have only been serious on LB since last January 2015..
« Last Edit: Sep 11th, 2015, 5:56pm by michael » User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: re: endless graphics draws and LBBooster
« Reply #17 on: Sep 11th, 2015, 8:24pm »

on Sep 11th, 2015, 5:34pm, michael wrote:
I will just make a Program generator to merge the files together quickly into a new program.

Can I just reiterate that 'include works correctly in LBB, as documented. If it serves your purpose (and it's ideal for the gxGraphics library) then use it.

Richard.
User IP Logged

Pages: 1 2  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls