1
General / Help me optimize my game
« on: March 27, 2011, 10:26:07 am »
Hi!
I have finished my first game - pong. Ofcourse I wasn't paying attention to things like memory usage etc, because I wanted t learn basic's about game programming. Anyway now I wan't to change it. My pong weight is 1.1 MB when compiled (only 200 lines of code!). And the worst thing is that I have to add sfml dlls to it. Is there any other way doing it ? Because with all dlls it weights is aroud 20 MB~.
Second thing is Ram usage. It takes 8 MB of ram. How to make it lower ? Limit FPS ?
Btw I have already checked all optimize options in compiler settings.
I have finished my first game - pong. Ofcourse I wasn't paying attention to things like memory usage etc, because I wanted t learn basic's about game programming. Anyway now I wan't to change it. My pong weight is 1.1 MB when compiled (only 200 lines of code!). And the worst thing is that I have to add sfml dlls to it. Is there any other way doing it ? Because with all dlls it weights is aroud 20 MB~.
Second thing is Ram usage. It takes 8 MB of ram. How to make it lower ? Limit FPS ?
Btw I have already checked all optimize options in compiler settings.