From the course: Advanced Unity 2D: Platformer Player Movement
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Building a test level - Unity Tutorial
From the course: Advanced Unity 2D: Platformer Player Movement
Building a test level
- So now that we have our player, we need to build a very simple level for us to experiment in before we start adding in all the behaviors that make the player work. To get started, we're going to create a new Quad. You'll notice that the Quad is incredibly small. It's a little speck right down here and that's because we changed the scale of our game. What would normally be a larger square is now very tiny compared to our one-to-one pixel ratio of the player to Unity's world units. What we're gonna do is change the scale of this Quad to match the area that we want it to represent the ground, so with the Quad selected, go to the scale and change it to 640 by 32, and we'll move this slightly down. Next, we're gonna want to create a simple material in order to make this look like the ground. We'll make a new folder. I call it Materials. And in it, we'll create a new material. We're gonna call this TileFloor Material. We can also drag this material onto our Quad so that it's ready once we…
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.
Contents
-
-
-
-
Setting up the first character5m 42s
-
(Locked)
Building a test level5m 59s
-
(Locked)
Building the abstract player behavior4m 34s
-
(Locked)
Changing the direction the player is facing2m 52s
-
(Locked)
Saving direction state5m 51s
-
(Locked)
Adding walking to the player2m 50s
-
(Locked)
Making the player run4m 34s
-
-
-
-
-
-
-
-
-
-
-