Unity - How To - Make - Platformer - 9 - Tilemap

Опубликовано: 01 Апрель 2026
на канале: EX-Digits
120
0

How to create a tilemap in the Unity?

Tilemap is generally used to build level constructions, scene decorating. It's widely used in the most Game Engines. We will cover how to prepare example tilemap with further using of tile palette.

Pre-conditions:
Unity 2019.4.17f1
2D project template
Prepared sprite assets
Created "Map" empty game object

To repeat:
0. Open *Path "Map/WallsAndBack/1" in Project
1. Create - 2D Object - Tilemap
2. Drag "Grid" to the "Map" and expand it
3. Open Window - 2D - Tile Pallete
4. Move tile palette if you need to
5. Create New Palette - Name it "NewEpicGame" - Create
6. Select *Path "Sprites/Map/Palettes/Examples"
7. Drag "nature_environment.png" elements from Project to the Tile Pallete
8. Select *Path "Sprites/Map/Palettes/Imported/Map-1"
9. Wait for tile assets generation

*Path - a directory string sequence consisting from few meaningly connected folder and/or file names through separator. It was decided to use "/" by default. Though the Unity is using the angle bracket.