Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / how do you...

Author
Message
UnderLord
21
Years of Service
User Offline
Joined: 2nd Aug 2003
Location:
Posted: 18th Oct 2003 22:02
make the file size of a game smaller for a little thing i made on my site showing object collision it's like 17mb's or somthing for just have 3 textures and a couple of other things is there texture compression?

http://www.freewebs.com/ingamers
elVee
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location:
Posted: 18th Oct 2003 23:17
depends where all the size is. If your actually game is small (exe without any media) then you have to compress the media comehow. If the exe without media is big, you can try optimizing your code.
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 19th Oct 2003 06:19 Edited at: 19th Oct 2003 06:20
Currently DBP is in a debug mode of sorts so a lot of libs and code are bundled to your exe.

As it gets closer to a final build there will be options to reduce the overall size.

It can be smaller if there is no 3d activation in your sample.

There is an expected overhead for using direct x and DBP anyway with regards your projects.

When you make a substantial demonstration or game using a lot of commands its not as troublesome.

In the DBP editor there are methods to make a small exe with an additional file that retains the data.

If there was any extra media in your final projects folder it might have been bundled with the final exe.

If the snippet of code is not as important to share the code then just bundle the source files instead of the exe.

if its DBC then see whats in your final build folder that can be removed.

Login to post a reply

Server time is: 2025-05-21 14:15:20
Your offset time is: 2025-05-21 14:15:20