Game performance

  • bl000dy
    9th Jul 2013 Member 0 Permalink

    I really would to see medium levels (like glass factory or nuclear PP) not slowing down. This projects sometimes very lags TPT (I have fps under 15 when running something big on Intel C2D E4600 OC to 2880MHz). Can it run faster when TPT will be optimised?

     

    Sorry for my bad English.

  • xetalim
    9th Jul 2013 Member 0 Permalink

    @bl000dy (View Post)

     do you have water equalisation on?

    that option makes alot of lag, dont use it when you have the screen full with water

  • bl000dy
    9th Jul 2013 Member 0 Permalink

    I never use water equalisation. BTW what water equalisation adds?

  • mniip
    9th Jul 2013 Developer 0 Permalink
    @bl000dy (View Post)
    water equalization adds water equalization

    and yes, TPT seems rather laggy, but after you realize how many calculations it has to perform per frame ...
    and no, there isn't much room for optimizing; at least, we haven't found it yet
  • jacob1
    9th Jul 2013 Developer 0 Permalink
    @bl000dy (View Post)
    water equalization makes it so that if you have a U shaped pipe, the water level on both sides of the U will stay at the same level. If you dump water on the right side some will move to the left. It's horribly laggy though, I wouldn't suggest ever turning it on.

    We try to do optimizations whenever we find any, but there aren't many major things we can do besides rewriting parts of the game, and I don't know how much that would actually improve speed.
  • greymatter
    9th Jul 2013 Member 0 Permalink
    @bl000dy (View Post)
    Devs always look for the most efficient way to carry out functions. But powder toy actually computes such a GIGANTIC lot of calculations every frickin' frame. After seeing the source code a couple of months back, I was blown away by the amount of loops and functions it had to excecute every frame. The simulation engine is awsome, and I don't understand how it can possibly run faster..


    BTW, there are some stuff you can do to make saves run faster:


    1)View saves in nothing display, as this gives a huge fps gain over other displays.
    2)Turn water equalisation off.
    3)Turn off Ambient heat and newtonian gravity unless very much required.

    So the point I'm trying to show is that :
    Use only the minimum features required, and keep the features required to a minimum when you make things.