Day 4: Working on a Triangular Coordinate System
Hey, all:
I don’t have any screenshots for what I’ve finished in the last couple days (due mainly to the fact that most of what I’ve been working on is actually for User Input purposes and have nothing to show yet).
Just like the title has stated, since I’m using a hex-grid system instead of a traditional square-grid system, I’m having to use triangular coordinates to detect where the mouse is in relation to each hexagon. I’m dividing each Hexagon into 6 isometric triangles and then doing a coordinate check on each one. Whenever I get this finished, hopefully, I can start selecting individual Hexagons instead of the whole group. ๐