Removing Network support?
by Ecliptic · in iTorque 2D · 07/07/2009 (2:08 pm) · 26 replies
I was curious if anyone seen a noticeable increase in loading performance by removing network support. I am currently running the latest iTGB and only utuillizing it's script features and gui. All objects being called through datablocks and I only have about 1mb of images. I am trying to cut down my initial load times because it is starting to self terminating for taking too long.
I have been reading a lot of the suggestions on the forum but I have not had too much success lowering the loading time. I have removed almost everything in the common directory of my game. I am geussing all that is left is going into the source.
Also, when using images that aren't squared, does this increase load time for iTGB to auto correct them? (I would think so).
Thanks guys
Ecliptic
I have been reading a lot of the suggestions on the forum but I have not had too much success lowering the loading time. I have removed almost everything in the common directory of my game. I am geussing all that is left is going into the source.
Also, when using images that aren't squared, does this increase load time for iTGB to auto correct them? (I would think so).
Thanks guys
Ecliptic
#22
I also pulled out networking and a few other things from the main.cc main loop. Helped push the game's FPS a tiny bit. Thanks for the tips!
10/02/2009 (2:22 pm)
I removed a huge amount last night. Most GUI elements and a variety of other things I don't use (3D objects, et al). Load time was shaved way down to 11 seconds and I'm still pre-loading all art and sound. So a very positive result for me there. Easily 10 seconds shaved off.I also pulled out networking and a few other things from the main.cc main loop. Helped push the game's FPS a tiny bit. Thanks for the tips!
#23
If I want 3D I take a fullscale 3D tech and add the 2D stuff I need, far easier.
10/03/2009 (6:11 pm)
3D objects is the first thing I normally drop too, together with the resource support for tga, pbm etc (I only leave pvr and png)If I want 3D I take a fullscale 3D tech and add the 2D stuff I need, far easier.
#24
I went ahead and completely removed TGB from my project.
Seems to work great so far :)
10/06/2009 (8:10 pm)
So I finally joined your shredding party and got rid of most of the gui's. at some point I got a compile error because a file in TGB dir is referencing one of the Gui's I've deleted ( I think it was T2DDatablobksGui something).I went ahead and completely removed TGB from my project.
Seems to work great so far :)
#25
10/06/2009 (10:32 pm)
Generally, the Datablock classes shouldn't be touched. its near granted that they are used at least at one point as a reference by a related class. Unless you naturally rip out the whole "tree". For example for tsshape
#26
So apparently I only got rid of gui2DDatablocks stuff when removing TGB directory. It seems like the t2dBaseDatablocks is still in my project since it's in the 2TD directory.
Thanks for letting me know.
10/06/2009 (11:05 pm)
I went back to the original project and compare to see what I've done.So apparently I only got rid of gui2DDatablocks stuff when removing TGB directory. It seems like the t2dBaseDatablocks is still in my project since it's in the 2TD directory.
Thanks for letting me know.
Torque 3D Owner Marc Dreamora Schaerer
Gayasoft
Glad it helped