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 […]
Mini-Tutorial: Making A Grid
Rows and columns of objects - for casual games to hardcore strategy.
Here’s a video that walks you through the code — there’s about 8 lines of variables and 10 lines of code, so this is nice and compact. And as you saw in the preview video, it’s really generic so it can be used for different kinds of grids, depending on the needs of your game. […]
If you’ve ever wanted to do a tower defense-type game you know there are “paths” the enemies walk on. And while the layout of those levels is usually fairly simple, I’m going to show you how to take the code we already have, add about 10 more lines, and end up with a quick-and-dirty editor […]
Just a quick little bonus — I had an idea for something and part of it needed a Boggle-like word game. So I drank some coffee at Starbucks and in about an hour created the following. (Full disclosure: then spent maybe an hour back at home cleaning up the code.) There are a couple of […]
I was asked how to make some of the objects in a grid vanish and while the previous videos showed how to do that when an object is tapped, I never talked about how to make that happen programmatically. This video shows how to do that. No sample code file because you’re only going to […]