Frame Skipping

  • Shazam
    4th Aug 2010 Member 0 Permalink
    How about having the ability to skip frames to speed up the simulation ( like a 2x, 4x, 8x speed? )

    I don't know if this is possible though :S
  • alexthesax
    4th Aug 2010 Member 0 Permalink
    well im no expert, but it would seem to me no, because, how would the engine know where it would be 2 frames from now, without making the calculations for the next frame. it just seems to me like that is how it would work.
  • plypencil
    4th Aug 2010 Member 0 Permalink
    Frame skipping means processing the logic but not drawing to the screen

    Per Frame
    Logic
    Draw
    Logic
    Draw

    2x Frame Skip
    Logic
    Logic
    Draw
    Logic
    Logic
    Draw
  • Felix
    4th Aug 2010 Member 0 Permalink
    Since the logic is the limiting factor, I do not think it would increase the speed anything.
  • Awesan
    4th Aug 2010 Member 0 Permalink
    Drawing takes a lot of time, too. It might help.
  • plypencil
    4th Aug 2010 Member 0 Permalink
    You will be surprised. I dont know what its like on the powder toy but other physics toys like this are 9/10ths drawing.