Time Control Suggestion

  • shadowninja16
    7th Mar 2014 Member 0 Permalink
    Edited 3 times by shadowninja16. Last: 7th Mar 2014
  • Cacophony
    7th Mar 2014 Member 0 Permalink

    !summon Catelite hey tell this guy about TIME,will you?

  • minecraft-physics
    7th Mar 2014 Member 0 Permalink

    /summon KnowledgeableUser ~ ~ ~ {type:Catelite, discussion:difficulty_of_coding{type:lag}}

  • shadowninja16
    7th Mar 2014 Member 0 Permalink

    @Cacophony (View Post)

    Why could't this idea work?

  • mniip
    7th Mar 2014 Developer 0 Permalink
    EDIT: deleted
    Edited 2 times by mniip. Last: 7th Mar 2014
  • minecraft-physics
    7th Mar 2014 Member 2 Permalink

    Okay, first problem with going back in time at all in TPT is memory usage. To implement this, tpt would need to record every frame drawn as long as you have tpt open, which would use up an absolute ton of hard disk space, as well as slow down your computer to the speed of a raspberry pi running crysis 2.

    The second problem is with changing the simulation speed. tpt is already geared to run at the maximum fps that your computer can support, as long as that's beneath the limit (which you change with tpt.setfpscap(number)), but anything faster than this is literally impossible without simulating two frames in one; which would cause massive, unfixable, glitching and bugging.
    To make time control affect only a specific part of the screen, even more problems will occur. What hppens at the edge? are particles duplicated or destroyed when they enter a reverse time zone, or do they bounce off? and even then, won't that make an infinite loop? also, each update function would now need to check for what the 'time field' in that region, slowing down the normal game too.

     

    In short, it makes a load of lag everywhere for not a lot of functional gain.

  • jacob1
    7th Mar 2014 Developer 2 Permalink
    I could post why it isn't possible, but @minecraft-physics (View Post) sums it up really nicely :)

    There was once a TIME element, but it had a few obvious glitches and many other small glitches because it just went against how particles are supposed to be updated ... the game wasn't designed for this.
  • Cacophony
    7th Mar 2014 Member 0 Permalink

    @shadowninja16 (View Post)

     I'm not saying it wouldn't work,minecraft-physics said that.I'm calling upon Catelite to tell about the TIME element and her experinces with it,but jacob1 also already did that.

    Edited once by Cacophony. Last: 7th Mar 2014
  • mniip
    7th Mar 2014 Developer 0 Permalink
    just saying, TIME element was coded by me, and can be found here: https://github.com/mniip/The-Powder-Toy/tree/time
  • FeynmanLogomaker
    7th Mar 2014 Member 0 Permalink

    General rule of element suggestions: if they say it won't/can't be added to the game, mniip has a copy.

    Sound element, moving solids, now this...

    (I think he made a command element too, but I'm not sure)