Opposite of foam

  • Simon
    18th Jul 2010 Administrator 0 Permalink
    Wilq
    No, the problem is not similar to electricity, it is simply not possible, with the way the game handles heat, to make it any faster.
  • odorousrex
    18th Jul 2010 Member 0 Permalink
    what about making something "gain" heat much faster. for example black hole heats up FAST FAST FAST. but because it absorbs everything it touches, you can't have it connected to anything directly.

    uranium heats rather slowly.

    lava heats quickly, but is quite damaging to fragile elements.
  • Wilq
    18th Jul 2010 Banned 0 Permalink
    This post is hidden because the user is banned
  • Andrewrox
    18th Jul 2010 Member 0 Permalink
    Wilq:
    Yea make something SOLID that warms up quickly and maybe if possible change max heat limit 5000 maybe?

    Max limit 5000 degrees? That would be amazing.
  • triclops200
    18th Jul 2010 Former Staff 0 Permalink
    okay, for one, the heat is at it's maximum speed right now, sorry, but it's true, I did the real life values for the heat speeds and converted them to the code's measurements. secondly, uranium is one of the fastest elements on earth to heat up and cool down, and third, all of the elements already have their correct heat values so there would be no point in changing them.
  • lolzy
    18th Jul 2010 Former Staff 1 Permalink
    Ahhh now im sad :(
  • Wilq
    18th Jul 2010 Banned 0 Permalink
    This post is hidden because the user is banned
  • kaaie
    18th Jul 2010 Member 0 Permalink
    Simon:
    it is simply not possible, with the way the game handles heat

    Could you please elaborate? Does it have something to do with the game loop or just an algorithm problem?

    I mean what I'm trying to say is it to do with the heating part of the code or the entire program itself?

    I'd look into the code myself but I just can wrap my head around the seemingly random variable names and the endless nesting loops :P
    I mean really what the hell:
    Code:
    for(y=0; y<h; y++)
    for(x=0; x<w; x++) {
    r = g = b = c = 0;
    for(j=0; j<f; j++)
    for(i=0; i<f; i++)
    if(x*f+i<sw && y*f+j<sh) {
    p = src[(y*f+j)*sw + (x*f+i)];

    As if im supposed to know what that means.
  • savask
    18th Jul 2010 Developer 0 Permalink
    Btw, Simon, can you comment code more, please? I know it sounds boldly and the some parts of the code were inherited from old developer, but it will help understanding PT a lot.
  • triclops200
    18th Jul 2010 Former Staff 0 Permalink
    kaaie
    it has to with the fact that it's based an a variable type Char, with a max value of 255, it would not be possible to excede this limit