This example shows how to use the path-finding algorithm that come with Grids on a grid built in the editor (as opposed to a grid built in code). You can also check out the Path-Finding Tutorial, and a path-finding example…
The layered grid is a very generic type of grid. It allows you to stack a bunch of grids – of potentially different shapes – for any (usually 2D) point type. Because of this, it’s not possible for this type…
This example shows how to implement basic matching mechanics. It has two scripts; one for a custom cell, and a grid behaviour for the main logic. The cell has some maintenance fields, but is otherwise quite dumb. Keeping cells dumb…
Grids 1.8 is finally out 🙂 This is quite a big change – from being an abstract data structure library, we turned Grids into an editor extension, which allows you to setup grids in the editor. On the surface, it…
We have used grids in 3D space in a variety of ways before. Mostly, these come down to mapping a grid in 3D space – often on the surface of a 3D shape – and using 3D objects instead of…
Today I implemented a custom grid that is useful for 1D structures such as the spiral above. Although an array or List would work decently, using a proper grid allows you to take advantage of the mapping technology and algorithms…
Over the weekend we participated in the Global Game Jam 2014. 480 locations, 70 countries and over 4000 games made! It was our first game jam as Gamelogic and what better way to kick off than with GGJ14. Here’s a…
Grids 1.7 is out. It’s the biggest update yet, incorporating a lot of the tech we built for our 30 Games in 30 Days campaign, as well as a lot of the feedback we received from users. Highlights We added…
Applications running on iOS cannot generate and dynamically execute code – that means no JIT (just-in-time) compiled code can run on iOS. For this reason, games for iPhone and iPad made with Unity are compiled using the AOT (ahead-of-time) compiler.…
A grid coloring is a way to assign a color to each cell in a grid. Here we will only talk about periodic colorings – colorings that use repeating patterns. From the 30 games in our last project, 12 use…