Page 1 of 1

the overhead of PB

Posted: Wed Dec 29, 2010 2:57 pm
by leonhardt
why is the overhead of PB game so large?
I've compared it to some similar tiny game demos which are written in Delphi + HGE/Asphyre,I found PB demo need more memory to run, even a tiny one needs 20M,30M when using 3D engine....
the only addvantage I see is PB is very pure,even need nothing than a single exe,while Delphi needs d3dx81ab.dll(HGE),bass.dll ...
any view?

Re: the overhead of PB

Posted: Wed Dec 29, 2010 4:53 pm
by c4s
I can only guess that it's because Ogre will be loaded for 3D. The executable will be much smaller with just 2D.

Re: the overhead of PB

Posted: Thu Dec 30, 2010 6:11 am
by Rook Zimbabwe
Is very true... the 3d engine is the massive part but that is pretty much going to be a universal true from Windows 7 / OSX forward... Win7 even insisted on using 3D acceleration for the freaking 2D card games!!! :?

Re: the overhead of PB

Posted: Thu Dec 30, 2010 11:38 am
by leonhardt
Rook Zimbabwe wrote:Is very true... the 3d engine is the massive part but that is pretty much going to be a universal true from Windows 7 / OSX forward... Win7 even insisted on using 3D acceleration for the freaking 2D card games!!! :?
exactly! I did those tests under Win7 32bit, while I could get a better result from my XP virtual machine.

Re: the overhead of PB

Posted: Thu Dec 30, 2010 1:44 pm
by PMV
Use another 3D-Engine when you don't want to use OGRE3D. :lol:
This has nothing to do with PureBasic. Only that the Engine is part of
the package, but you doesn't need to use it. :wink:

Re: the overhead of PB

Posted: Thu Dec 30, 2010 5:27 pm
by Rook Zimbabwe
my point... while incomplete... is another engine may have less overhead!

My blitz3D programs were 1.4mb no matter what I wrote amd ,pstly larger! :mrgreen: