Unity Tilemap Tutorial - Designing Your First Level
ACCESS the FULL COURSE here: https://academy.zenva.com/product/unity-game-development-mini-degree/?zva_src=youtube-gamedevmd TRANSCRIPT Hey guys, welcome back in this lesson, we're going to start building our first level, which means we have to import our tile assets. Just our sprite images, we're going to create a couple tile maps for that based on, you know, if it's the ground, so we can add different colliders to the ground versus just the background or maybe the foreground, things you cannot collide with for instance. They're going to set up a tile palette, which is just a grid of tiles that we can actually click on, and then paint in our scene view on the tile maps that we just created. So to do that, let's jump back into Unity. And what I want to do is first of all is import my tile. So in my assets folder I want to create a new folder and I'm going to call it sprites. Now, the way you organize this is obviously up to you. But this is how I want to handle this. And inside of sprites, I want to create a tiles folder. Now this is where Unity is going to build my tiles to. When I take a sprites, I can let Unity convert them into a tile asset for me and I'm going to put those right inside of that folder. But my slides are all going to go inside of this sprites folder. So now on my desktop and in the download a project files that you have, I have industrial Jones assets. And I just have all the sprites I'm going to use for this project. And what I want to do is bring all of these in at once, by just selecting them all and dragging them directly into Unity and dropping them in my folder. And there they all are. Now if I were to select all these by holding down shift and selecting the last one there, I can see their audio in 2D and UI because I have my project set to a 2D project by default. But if it's not the case, you can just select it just like that. And what I want to do is I want to change my pixels per unit to match what I want my what how I want my sprites to be sized in my game world. So I think it makes sense for my tiles to be one Unity unit in size. And to do that I have to take into account the size of my sprites in pixels. Now I know for some reason these sprites are 70 by 70, I would recommend a power of two if you were to make yours. But in this case these are Kinney assets or third party assets. So I'm just using them as they are. And I in fact created a couple of my own tiles to go with this or a couple of my own sprites here with the key, the door and the ladder top because of the way we're handling this, I had to make it a bit differently. But these are all 70 by 70. And that means I want to set my pixels per unit since I want one unit to be one tile to be 70.
Download
0 formatsNo download links available.