Grid Framework version 1.3.0 released

Published: 2013-06-17

Category: release

Tags: old-blog

Grid Framework version 1.3.0 has been approved by the Asset Store team. The biggest features of this release is the addition of polar grids. Check out the updated included examples to see them right in action. Notice how in the lights-out example the coordinates wrap around, meaning that once you’ve exceeded the maximum angle it start from the beginning again without you having to worry about anything.

Even if you prefer the good old rectangular- and hex grids you’ll want to take a look at the updated API: You can now get the direction vectors for up, forward and right or north, north-east, east, south-east and so on just by calling one command. This will make grid-based movement much easier, since you don’t have to convert back and forth between grid- and world space anymore.

On top of that the lights-out and the runtime snapping example showcase how to dynamically generate meshes from grids. The tiles of the polar lights game are all individual meshes that fit exactly inside the individual faces. When the game starts the attached script runs a loop that runs through the grid and creates the needed vertices and triangles and then assigns the proper materials.

Here is the full changelog:

Please note that this version officially requires Unity 4, since that is what I was building with, but there is no new API used and the scripts will run just fine in Unity 3.