Shapez Code Ideas

Hello, I'm throwing together a simple mod that is similar to shapez. I had the idea that it might be cool to stamp shapes out of larger shapes. To accomplish this instead of holding 4 base shapes, I'm using one that is split into four parts. This means I'll have 16 base shapes. I've attached a picture of what those 16 look like. Those 16, can then form layers of four... I've attached a few examples of that too. I like the idea that I could punch a Dimond out of a square for example. This inevitably leads to much more complexity compared with the original shapez basic shapes. From a programming standpoint these shapes are elegant, because they are 4 pieces, each can be colored with RGB... so I need 12bits to hold color, and 4 bits to hold the shape. They fit cleanly into a uint16, so each layer is 1 uint64 or 2 uint32's Manipulating the shapes with bitwise operations becomes trivial... However... Shapez typically relies on an elegant shape code system, RuRuCuCu for example. Because my version is a fair bit more complicated... It is much harder to represent in a player readable fashion. I could use something like 1-F for the shapes, an - or 0 for no shape. But the color codes get messy.... FuuuuFuuuu7uuuu7uuuu is essentially equal to the RuRuCuCu above, but is nearly unreadable. I've played with the idea of allowing for one color if all colors for the shapes are the same, and two if we have a 50/50 split... So I'm writing up this post to see if y'all have any ideas on how I could improve readability of my shapes.
No description
No description
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server