better pipe/ppip generation

  • 12Me21
    13th Jul 2015 Member 0 Permalink

    Pipe shouldn't generate diagonally

  • jacob1
    13th Jul 2015 Developer 0 Permalink
    What do you mean?

    There are single pixel pipes which are super fast and maybe you should figure out how to use. I'm not sure if just normal pipe should always generate like this though, but single pixel pipes don't clog on the corners (if done correctly)
    Edited once by jacob1. Last: 13th Jul 2015
  • 12Me21
    14th Jul 2015 Member 0 Permalink

    When pipe generates, the generated area "spreads" through the pipe. currently, it spreads diagonally, which creates slower pipes.

  • boxmein
    14th Jul 2015 Former Staff 0 Permalink
    @12Me21 (View Post)
    Yes, that's a given. This makes weirdly shaped pipes (eg curvy S-es) possible and simplifies the pipe generating algorithm.
    You can make your own fast pipes by making a 1px line and copypasting it over and over (while nudging with arrow keys) - this lets you create fast pipes of some shapes.
  • 12Me21
    14th Jul 2015 Member 0 Permalink

    @boxmein (View Post)

     I mean like this:

     

    G=generated pipe

    U=ungenerated

     

     

    UUUUU

    UUUUU

    UUGUU

    UUUUU

    UUUUU

     

    currently, pipe generates like this:

     

     

    UUUUU

    UGGGU

    UGGGU

    UGGGU

    UUUUU

     

    It should do this:

     

    UUUUU

    UUGUU

    UGGGU

    UUGUU

    UUUUU

  • jacksonmj
    14th Jul 2015 Developer 1 Permalink

    If pipe generates like that, then you get pipes such as the one on the right in this save, which don't work very well.

    Edited once by jacksonmj. Last: 14th Jul 2015