idea for water

  • thornepell
    1st Jun 2013 Member 0 Permalink

    since in real life ice expands when frozen i thought of a easy way to implement that

     

    for every one frozen water partical have two ice particals and for every thawed ice particaltake two ice particles

     

    if the ice is in a closed in area then it will break that material thats holding it if the material is indestructable then it will become super compcact ice obviously that isnt possible in real life because nothing is indestructable so that part is optional for the code people

  • ZebraGoBoom
    1st Jun 2013 Member 0 Permalink

    This is a very clever idea, i never thought of it like that!

    However, since water only expands by about 10% when it freezes, when it comes to realism, it isnt worth coding in TPT.

  • thornepell
    1st Jun 2013 Member 0 Permalink

    @ZebraGoBoom (View Post)

    please explain i dont realy get wy it would be no use tpt

     

  • ZebraGoBoom
    1st Jun 2013 Member 0 Permalink

    @thornepell (View Post)

     Water expanding when frozen in tpt can only be used in particles made from particles frozen, like 2 particles from 1 particle. This would be a 100% increase, as opposed to a 10% increase. Also, the water freezing would make ice, which is a solid. how would you make 2 solid particles from 1 liquid particle? Movable solids aren't an option in vanilla TPT.

    Water expanding when frozen could have some uses in tpt, but sadly, it would be to the right scale nor would it be efficient.

  • therocketeer
    1st Jun 2013 Member 0 Permalink
    @thornepell (View Post)
    Any save that involves the freezing of water would brake.
    Even with that said, this idea is not really practical and you have not really said why this is a useful idea.
  • thornepell
    1st Jun 2013 Member 0 Permalink
  • jacob1
    1st Jun 2013 Developer 0 Permalink
    It is possible to make it a 10% increase instead by using randomness to decide whether to make another ICE. The problem is that where is it going to put the ICE? If it's a WATR directly in the center, it's surrounded only by water and has no location to put it. If it's on the edge and there are solids around it, it can't just push the solids away, that wouldn't really work since it's almost like moving solids, it would also look really bad when you watched water freeze in a solid container. The only time this could work is on top, where it could put the ice in open air. Maybe it could be changed, i'm not sure if it's that good of an idea, but if we ever make a "realistic" mode or something we could try it.
  • Michael238
    1st Jun 2013 Member 0 Permalink

    Perhaps make the water check and see if there are any empty pixels surrounding it. If there are none, it would turn into ice like it currently does. If it does find an empty pixel, then it has a random chance of placing an ice pixel there.

  • ZebraGoBoom
    1st Jun 2013 Member 0 Permalink

    @Michael238 (View Post)

     Very nice idea, it would work very well, i think.

     

  • thornepell
    1st Jun 2013 Member 0 Permalink

    @Michael238 (View Post)

    that is an excelant idea