speed up and slow down options

  • mitolegy
    3rd Jun 2015 Member 0 Permalink

    hi again. im here to ask if you can add the abbilety to speed up and slow down the simulation in powdertoy. i got the ide after i was trying to study filt storage but i had to turn on power save to slow down the game so i could see. i think this could be a small but usefull feature. for we who make electronics

  • boxmein
    3rd Jun 2015 Former Staff 0 Permalink
    Yes, slowing down is easy - we can just make TPT wait a bit longer between two update cycles. Enter this into the console to set the FPS cap lower to accomplish this:
    tpt.setfpscap(10)
    . Note this also slows down the input cycles - it'll be more difficult to click things.

    Speeding up, however... we'd have to make the game magically run faster than it possibly can already (so if your save runs at 30FPS then that's how fast your processor can chug along processing the frames, a hard limit!).
  • Jokersona
    3rd Jun 2015 Member 0 Permalink

    boxmein:

    Yes, slowing down is easy - we can just make TPT wait a bit longer between two update cycles. Enter this into the console to set the FPS cap lower to accomplish this:
    tpt.setfpscap(10)
    . Note this also slows down the input cycles - it'll be more difficult to click things.

    Speeding up, however... we'd have to make the game magically run faster than it possibly can already (so if your save runs at 30FPS then that's how fast your processor can chug along processing the frames, a hard limit!).

     

    ...or a script to pause, and do what F does to advance frames at a certain speed. Then you get slow without lowering FPS at all.

  • 12Me21
    24th Jun 2015 Member 0 Permalink

    mitolegy:

    hi again. im here to ask if you can add the abbilety to speed up and slow down the simulation in powdertoy. i got the ide after i was trying to study filt storage but i had to turn on power save to slow down the game so i could see. i think this could be a small but usefull feature. for we who make electronics

     If you're trying to see something, it's usually easier to just pause and press F to advance to the next frame. Though I do agree that being able to make the game run slower would be nice.

    Edited once by 12Me21. Last: 24th Jun 2015
  • thomasxin
    2nd Jul 2015 Member 0 Permalink

    Also, if you want to set the max FPS that your CPU can handle, use tpt.setfpscap(2).