Why???

  • singularity
    20th Aug 2010 Member 0 Permalink
    Why does my version of TPT run at lower frame rates.

    Like official PT runs at easily 50-60 FPS

    Where as mine runs at 40-50 FPS

    At startup???????

    Please help.
  • ief015
    20th Aug 2010 Former Staff 0 Permalink
    Are you using VS to compile? Don't compile it in Debug mode.
  • singularity
    20th Aug 2010 Member 0 Permalink
    Whyat do you mean?

    I click the green arrow..

    EDIT - What is compiling?



    *Please do not double post.*
  • devast8a
    20th Aug 2010 Former Staff 0 Permalink
    singularity
    Dude. How can you hope to code for the Powder Toy if you don't even know the basics of what you're doing? Really this is beyond ridiculous.
  • codefeenix
    20th Aug 2010 Member 0 Permalink
    Whoever wrote the wiki article did it too well

    edit: Triclops200 you did too good of a job on the wiki article.
  • Awesan
    20th Aug 2010 Member 0 Permalink
    Compiling is where you turn code into your app. It's a magic process.

    Now there's to ways to do that (more but shadap). The first is 'debug mode'. The compiler adds lot of extra stuff and leaves nothing out so it can see what's happening inside the application and react to it. It's called debugging. It's to remove bugs.

    The second mode is 'release mode' (that's what it's called in VS anyway). The compiler changes your code a bit to remove double stuff and just generally make everything faster. It's called optimizing and it's what you want. Don't click the green arrow, click Build > Build Solution in the menu's to use this (I suppose, didn't try though. In VS2010 there is a little dropdownbox next to the arrow, where you can select it. I forgot what it's like in VS2008, so someone else could tell you that.).
  • singularity
    20th Aug 2010 Member 0 Permalink
    It says There where build errors would you like to run the last successfull build.

    #include <SDL.h>
    #include <bzlib.h>

    And under #include it says windows is unable to open file specified or sumthing.
  • Felix
    20th Aug 2010 Member 0 Permalink
    singularity:
    It says There where build errors would you like to run the last successfull build.

    #include <SDL.h>
    #include <bzlib.h>

    And under #include it says windows is unable to open file specified or sumthing.

    Paste the real error message. We can't guess what it is.
  • lolzy
    20th Aug 2010 Former Staff 0 Permalink
    My version of TPT runs at 31FPS when paused and nothing on screen...