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.

FPSC Classic Product Chat / Scrapping code for optimization

Author
Message
That Guy John
16
Years of Service
User Offline
Joined: 30th Apr 2010
Location: United States
Posted: 1st Sep 2010 22:49
Just a curiousity, does anyone here go through and scrap un used code after building a game or map? Or do you think this is even possible without causing errors?

For instance like with webdesign, if I start off by working with a templae or framework, aftwerwards I go through and scrap the code that isn't being used.

This tweaks down file size and often gives faster load times for websites. Could it have the same effect with an FPSC game or map or is the code created by FPSC pretty as optimized as it is going to get?

Scurvy Lobster
20
Years of Service
User Offline
Joined: 3rd Mar 2006
Location: Denmark
Posted: 1st Sep 2010 23:14
You can delete loads of the sounds included in FPSC builds. It won't save a lot of actual space though and doesn't give any extra speed either. In my experience the game crashes if you delete needed files.

That Guy John
16
Years of Service
User Offline
Joined: 30th Apr 2010
Location: United States
Posted: 1st Sep 2010 23:36
Quote: "delete needed files"

Well of course.

Let me give you an example for web design.

The 960 grid system (@ 960.gs ) has loads of prebuilt styles in the css, but I have never used all of those styles in a final layout. So I go through and get rid of all the styles I don't use before uploading to the server or sending to a client.

Of course I wouldn't delete files that are needed, but lines of code within files that arent actually being used.

Would be nice if there were an automated way of back referencing the completed map files to the FPSC engine to be able to determine what code was not actually being used.

In this instance, I am sort of referring to the FPSC engine as the css.

Login to post a reply

Server time is: 2026-07-03 14:40:38
Your offset time is: 2026-07-03 14:40:38