From the course: Cert Prep: Unity Certified Associate Game Developer UI and 2D Games

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Painting level layouts

Painting level layouts - Unity Tutorial

From the course: Cert Prep: Unity Certified Associate Game Developer UI and 2D Games

Start my 1-month free trial

Painting level layouts

- [Instructor] In this movie, we're going to look at how to work with collisions and tile maps. To demonstrate this, I'm going to create a really really basic physics object that I'm going to call a crate. I'm going to suspend it in the air, watch it fall to the ground under gravity and let's see how it interacts with our tile map. To do that, I'm going to choose Game Object, 3D Object and then choose Cube. Now this is actually a 3D object but it doesn't really matter because we're seeing it from a 2D perspective, so it looks like a 2D object. Now this comes with a Box Collider by default, which is a 3D Collider. I can easily just get rid of that by clicking on the three buttons here. Just bring this into view so you can see that and choose Remove Component to get rid of that. Click on Add Component, and I'm going to be adding a Box Collider 2D to this cube, bring that to the right-hand side, and I'm also going to…

Contents