Support | News | Classic | F.A.Q. | Discord | Discussions | Wiki | Roadmap

It'd be fairly useful if we could see the area of a craft in square meters, so that we could tell how large a craft is without having to actually place them into the game and see how large they are compared to each other. And I feel like this would be pretty easy to implement as it's literally just counting how many tiles are used.

This would be very handy (pls add it walt)

    How would this handle curved surfaces, such as cannons? Or other nonstandard partial blocks?

              @Hatter#287736 How would this handle curved surfaces, such as cannons? Or other nonstandard partial blocks?

      Every tile taken up by the part, not just the texture for it? Or, perhaps some fast, approximated calculus or something? Area math is pretty simple and fast. Especially because we're using pixel based textures, meaning it's all squares. And squares are the easiest things ever. w·h=a. And if it's a curved texture, we just break it into a bunch of layered rectangles, calculate the areas of those, and add that up.
      By splitting the shape into smaller, easier chunks, we can get its area rather simply.

      6 days later
      Write a Reply...