An Introduction To Tilemap In Unity

2D game development in Unity is almost TOO easy with the “Tilemap Editor”!

You can create a grid and quickly/easily build out your level’s environment, place your enemies, objects, obstacles, etc in seconds! Let’s jump in.

[Warning!]

The word “Tilemap” is given as a title to various “different” things and thus can prove a little confusing to those who are new to this so be warned.

To start, it’s important that you know a few things about how making a 2D game works…

For most 2D games, the level and environment graphics are made as a small square sprite called a “Tile”. These tiles oftentimes are only a single part of a larger set called a “Tilemap”.

Tile ←— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — → Tilemap

[Side Note]

The individual tiles allow a certain level of versatility for the level designers to make a large assortment of various combinations to quickly and efficiently create the diverse levels that you would see in a game.

In order to use your tiles effectively in your scene, you’ll need to

Unity has a built-in feature called “Tilemap” which covers a lot of what you’ll need to build a tile-based game. The first way that you’ll be interacting with Tilemap is through the “Tile Palette”. To access this just click “Window>2D>Tile Palette”. You can dock this window wherever you like it.

The “Tile Palette” allows you to display your individual tiles and select from them as a painter might select a color from a palette. It also features access to various brushes and tools for quickly applying or removing your tiles within the various parts of your scene.

The “Active Tilemap” box is where you select which Tilemap you’d like to build on.

Next time we will be looking at how to Import, Slice, and Utilize tiles in a tilemap!

--

--

--

Hi, my name is Adam Reed and I am a software engineer specializing in Unity and C# development. Feel free to scroll through and check out some of my work!

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

[LeetCode]#1237. Find Positive Integer Solution for a Given Equation

Lok Sewa Aayog Computer Operator Data Structures & Algorithms Set 1

Effortlessly Automate Your Python Scripts!

Serverless Websocket — How and Why With Examples

RedPrairie/JDA WMS — rptab file

Teammate Tuesday: Noah Naiman

Hacking Oracle TNS Listener

Making a Pop-Up Window With Tailwind CSS

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
Adam Reed

Adam Reed

Hi, my name is Adam Reed and I am a software engineer specializing in Unity and C# development. Feel free to scroll through and check out some of my work!

More from Medium

Why I chose an Interstitial Ad over a Banner Ad in a Unity Mobile Project

THE COMPILATION PROCESS in C

Source code.

Improving Upon Selection Highlighting in Our Game — Part 3

ON YOUR MARKS…