From the course: Unity 5: 2D Building an Adventure Game
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Create a simple map - Unity 2D Tutorial
From the course: Unity 5: 2D Building an Adventure Game
Create a simple map
- [Narrator] Now that we have our new camera that can follow the player and adjust it's scale based on the aspect ratio of the game, let's go ahead and create a simple map. Let's start by deleting the cave sprite that we've been using as a test platform. And since we've already imported the tile map editor from the Unity package, let's go ahead and create a new level. If you go to the game object menu, at the very bottom you'll see a new option called tile map. This was automatically added to Unity because of the code that's inside of the tile map project. Let's select this and take a look at our new tile map. The first thing we're going to need to do is give it a texture. Click on the select button inside of the selector 2D field and start typing in cave. Here you'll see the cave sprites have been filtered down. And we can set these as the default tile graphics. You'll also see that a tile will show up on the scene, which will be the paintbrush that will allow us to paint new tiles…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.