Unity hex grids 1: Creating your first hex grid

May 10, 2016 9:30 pm Published by

Today I'm going to attempt to create a 2d hexagonal grid in Unity, going through the steps required in depth and explaining the code involved (for my sake more than anyone else!) Whenever you see a link, click it to visualise the process, or change between pointy topped and flat topped hexagons

Why Hexagons?

Many games use square grids due to how easy they can be to create and manage, but they do have a number of shortcomings. Namely, the diagonal distance between two squares on a grid is different from the horizontal and vertical distances. You either have to code especially for these circumstances or disallow diagonal movement in your game entirely. Hexagon grids are more difficult to initially set up, but once you've overcome this hurdle your movement code is a lot easier.

Devlog #1 – Game Design Brainstorm

April 27, 2016 6:06 pm Published by

I’ve been dabbling in Unity on and off for about a year now, doing tutorials and then leaving it just long enough to forget absolutely everything I ever knew. I have resolved myself to finally seeing a complete game through to completion and I have until December to do it. The first couple of posts will cover the initial stages of my game design, prototyping and eventually (hopefully) to a finished product. Creating a feasible game design It’s easy to start with a grand vision of magnificence, you’re going to make an online role-playing game with infinite player choice and a myriad of interesting monsters to fight. Take it from me and many others, put this dream game on the side and concentrate on getting something, anything complete. Be honest about your abilities when coming up with a design document and consider these points: Your coding skill level The amount... Read the full article