ETRD lags the game

  • noneyet
    25th Jul 2010 Member 0 Permalink
    ETRD makes too much plasma and lags the whole game drops down to 9fps
    i dont know how to solve this but i turned off the heat and its better but only at 18fps what so i do or what could simon do
  • MyOtheHedgeFox
    25th Jul 2010 Member 0 Permalink
    Approve. Plasma arc generated by large ETRD pieces lags the game. Ubuntu Lucid on Intel.
  • triclops200
    25th Jul 2010 Former Staff 0 Permalink
    probably is the reason he said use sparingly, just sayin'
  • MyOtheHedgeFox
    25th Jul 2010 Member 0 Permalink
    Sparingly? Well, I doubt it would create an arc with itself. I'll see.


    Hm. It does. Yet it needs a curve to assemble a connection. However, it still slows the game a lot, and it seems it can short circuit itself on distances too big and in quantities too many.
  • seehp
    25th Jul 2010 Member 0 Permalink
    Would it be possible to create a path between two electrodes? Like initiallizing the CLONE, you could use the line tool (like in air wall) to connect to electrodes. Something like that would be awesome. Hard to implement, but probably possible.
  • Simon
    25th Jul 2010 Administrator 0 Permalink
    Read the description, it says "Electrode. Creates a surface that allows Plasma arcs. (Use sparingly)". When I say sparingly, I mean literally 1 pixel of it per electrode, not entire blocks.
    What slows the game down is the code that searches for the nearest electrode, it has to iterate through every particle.
  • MyOtheHedgeFox
    25th Jul 2010 Member 0 Permalink
    Woohoo! =) Indeed, one must turn the mind on when playing with The Powder Toy. Possibly it must be written like "<...> Use only single pixels of it to avoid lags"?
  • Felix
    25th Jul 2010 Member 0 Permalink
    Simon:
    What slows the game down is the code that searches for the nearest electrode, it has to iterate through every particle.

    Wouldn't it be possible to store position of electrons separately so it only has to iterate over the electrons.
  • bchandark
    25th Jul 2010 Member 0 Permalink
    What if you let the user define where the electrode shoots its arc?
  • Felix
    25th Jul 2010 Member 0 Permalink
    bchandark:
    What if you let the user define where the electrode shoots its arc?

    Wouldn't be very realistic. But sure, it would work.