Pausing Additions

  • bchandark
    20th Aug 2010 Member 0 Permalink
    I suggest a way to let us skip forward in the simulation a set amount of time. For example, I could press pause, set the number to 5 frames, hit go, and the game would go forward only 5 frames, still paused. This would be useful for debugging circuitry.

    Is this possible, and if it is, would it be implemented?
  • SerGreen
    20th Aug 2010 Member 0 Permalink
    I love this idea. Think it will be usefull
  • bchandark
    20th Aug 2010 Member 0 Permalink
    SerGreen
    Thanks!

    To clarify, one spark travels one px of metal in one frame, correct?
  • HeyJD
    20th Aug 2010 Member 0 Permalink
    Yeah...

    Maybe just a fast foward, rewind, next step, previous step, play, pause.

    But putting together all the topics created...

    I think there should be a debuger!
  • ssc4k
    20th Aug 2010 Member 0 Permalink
    1 frame stepping would be the easiest to add for now and could be possible, I don't see how you can have a reverse without having insane amounts of RAM usage , fast forward would be impossible as the game already maxes out everyones CPU :p.
  • bchandark
    20th Aug 2010 Member 0 Permalink
    ssc4k
    Awesome. And I figured out my circuitry wasn't working (after half an hour) because my PTCT was right next to my other PTCT, which I thought was NTCT. Netbook screens suck
  • Awesan
    20th Aug 2010 Member 0 Permalink
    ssc4k
    Except that the game would have to calc let's say 5 frames but only draw one, which makes the whole thing slower, but not like it would when you actually draw the 5 frames. On good computers this could actually work. You'd get a pretty low framerate though.
  • HeyJD
    20th Aug 2010 Member 0 Permalink
    The only thing stopping us is slow computers... finally people can stop saying we've got no creativity and we can blame computers these days!!
  • ssc4k
    20th Aug 2010 Member 0 Permalink
    Well I have tried adding a frame-by-frame mode where you hit "0" to enter into it and "+" to increment a frame but I'm running into a problem (maybe a more experienced dev could help me?). I have it run goto "justdraw" if the mode is enabled, i can disabel teh mode fine by pressing "0" but when I press "+" I have it change a global variable then in the particle update loop if that variable was changed it is set to "renderframe" (it's a goto label) but nothing happens and any other function works so I think I'm confused as to how "render frame works".
  • Z0MG1337H4X0R5
    20th Aug 2010 Member 0 Permalink
    ssc4k
    fast forward would be impossible as the game already maxes out everyones CPU :p.



    powder game has it and all it does is a little bit of lag