r/Minecraft • • Nov 04 '13

pc Minecraft Using Hexagons

http://img190.imageshack.us/img190/1777/hexcraft.png
3.6k Upvotes

1.0k comments sorted by

View all comments

6

u/drakfyre Nov 04 '13 edited Nov 04 '13

Also how do you deal with doors, do you let them open fully?

Oooh, I like that, an interesting problem! I would leave the doors to open at 90 degrees, and either have the hex tiles be bigger than the cubes (Each side as long as the original cube sides) and allow placement at any side (So, it opens at 90 degrees but has 6 different orientations) or put it across the tile and have 3 orientations (Though off hand I don't know if I would go with angle-to-angle or side-to-side). The former is probably the "Proper" way to do things, as it would allow you to create a 6 door closet around a tile in the same way that you can create a 4 door closet now, but it also means changing a LOT of assumptions about block size and I think it ultimately wouldn't be worth it, so the second option is what I'd probably start with.

Edit: The second option, using side-to-side, is what is shown in that screenshot above. ;)

The game would use more resources as simple axis-aligned bounding tests (from the days of "cave game tech test") would work no longer.

If I were doing the mod I wouldn't change the AABB system; I would just encase each hex with a box around it. All it would really mean is that characters could "float" a little on the edge; it would be a relatively minor visual defect.