Whether you’re making a grid of jewels for a Match-3 game or using an underlying grid for placement of objects in a strategy game, grids are going to show up all the time.
This mini tutorial is just a few videos in length, but it will show you a nice little chunk of code you can use over and over again.
Want a grid that’s 4×4? Easy. Want one that’s 10×10 and centered vertically? No problem. With this code you can make changes to a few variables and have it all.