Optimization idea?

  • _Theo
    18th Dec 2019 Member 0 Permalink

    would it be possible to optimize tpt's particles similar to terraria or minecraft, in chunks? right now tpt basiaclly processes every single individual particle on screen, which makes it turn very laggy after a ceirtan amount

  • DreamingWarlord
    18th Dec 2019 Member 0 Permalink

    This would break a lot of saves if it was implemented.

    Also why do you need optimization in a physics game where everything must be siumlated real time?

  • _Theo
    18th Dec 2019 Member 0 Permalink

    how exactly would it break saves

  • jacob1
    18th Dec 2019 Developer 1 Permalink
    You're suggesting something too major as if it were easy to do. Dividing the screen into sections wouldn't do anything by itself. If you multithread those sections, it might. But I'm not sure whether you are suggesting multithreading or not.

    Minecraft uses chunks because it has an infinite map, not because of performance reasons.


    If we add multithreading, it's not going to break saves. And if some saves do break, that's just the cost of making such a huge improvement to the game. Multithreading isn't planned to happen soon because of how complex it would be to implement. But I would like it eventually.
  • _Theo
    19th Dec 2019 Member 0 Permalink

    m, thats sad, yeah my idea was to kinda make tpt's fps not uhh, d i e when it has alot of parts (my pc can run max 800 on tpt but it still fails with lots of parts)

    Edited once by TuDoR2007. Last: 19th Dec 2019