I recently started a new project: to build a city building/simulation game. I wanted to create procedural terrains using SpriteKit and it’s SKTileMapNode class. I began looking online and reading the documentation and there wasn’t much about how to do this programmatically. So, I decided to write this tutorial series on what I learn while building my new game. First up, creating a basic tile grid procedurally!

SpriteKit and Tiles

Apple has created a pretty easy way to manage a whole bunch of tiles and their placements into an SKScene, however this doesn’t allow us (at least not that I have discovered) to procedurally generate our tile maps. …

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store