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!
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.
Logged
michael Guest
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..
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.