3 ms·
How does one define a coordinate system on such a grid? I considered making a game with the same kind of grid (five squares meet at each corner) but I just coul
by xvedejas 6y ago
How does one define a coordinate system on such a grid? I considered making a game with the same kind of grid (five squares meet at each corner) but I just couldn't figure out how to individually address each cell in a way which allows easily finding which other cell IDs must be neighbors.
- 2mol 6y agoThere is a teensy explanation on the about page: https://sokyokuban.com/#about https://sokyokuban.com/#about I'm sure the authors would also be more than happy to answer that question.
- zenorogue 6y agoI have written a quite detailed explanation of this here: http://roguetemple.com/z/hyper/dev.php http://roguetemple.com/z/hyper/dev.php
- jaspervdj 6y agoI second this as a great resource! Your game HyperRogue was also a big inspiration for this game.
- elitepleb 6y agohttps://www.redblobgames.com/grids/hexagons/ https://www.redblobgames.com/grids/hexagons/ is the goto resource for this, at least for hexagons
- zenorogue 6y agoIt is a great resource for Euclidean hexagons, but non-Euclidean tilings are a different thing. (He does a bit of spherical geometry in his other articles.)