Hello, welcome to this session on the "2D Game Kit".
My name is Aurora, I'm the producer on the content team at Unity.
We are responsible for a lot of the tutorials on the website,
as well as a lot of example projects that you can find for free
on the Asset Store.
We've created this kit, which is a collection of pre-made art
and game elements that you can quickly get started with Unity
and design a game without using any code.
We are hoping that you'll get familiar and comfortable
with Unity concepts and workflow using this kit,
and, essentially, if you're a beginner, an artist, a designer
or anything in between,
hopefully this will get you more familiar
and comfortable, as I've said.
If you're totally new to Unity,
we recommend that you go through our "Interactive Tutorials"
or "Interface & Essentials" which are in unity3d.com/learn.
Our learning objectives today will be setting up a simple Scene,
we'll be dragging and dropping some objects into the Scene
and then creating some game high elements
using our Event System,
and without further ado let's get started
and hop over to the Editor.
So I've opened up the project in the Editor,
and the first thing I've done
is go to this "Scenes" folder, down here in the Project view.
This is where we house the full game that comes with the kit.
So, we've included a full game, we made it using the kit,
so if you ever get stuck or need some ideas,
you can look at our game example and see how things are put together.
You can go to the "Start" Scene
to get started right from the beginning,
but I'm going to jump in in "Zone3" here and press Play.
And so here you can see we've got some moving platforms...
we've got some environmental hazards here
that automatically cause me some damage...
and Ellen is set up ready to go, so...
later on we'll going to be setting up some of those moving platforms...
there's some health collection right here,
but I need to go to the right to this other moving platform...
where I'm going to collect some weapons
and then break some parts of the environment,
which we'll also be looking at,
and, just a little bit later on,
we'll be setting up some automatic enemies that attack you,
as well as some key collection.
So, that's a little bit of the game kit.
I'm not going to spoil the whole game,
because it takes a little while to play through.
So, let's go ahead and create a new Scene that we can work in.
So, I'm going to go up to the top menu here
and click on "Kit Tools" > "Create New Scene...".
This will open up this new Scene creator window,
and in "New Scene Name"
I'm going to type in "MyLevel" and hit "Create",
and this will create a brand new Scene.
And this Scene will be set up with the background,
it will have our hero character, Ellen, here,
and she's all set up with the Camera
and everything you need to get started.
So, you'll notice that this Scene isn't actually in the "Scenes" folder.
Any new Scene that you create using the "Kit Tools" menu
will be in the root of the project.
So, if you click on where it says "Assets" here,
that's where "MyLevel" is,
and you can see I've created a few new Scenes already,
so, just to prove to you, if I press Play...
and when you do press Play, when it goes into the Game view,
make sure that right here, in the Aspect menu,
it's set to "16:9",
and that will give you a good visual representation
of what it will look like on the screen.
So, after creating that new Scene I can move around,
I can jump, all the sounds are enabled,
I can even attack pressing O to shoot and K to swipe with my staff.
We've also included a debug menu,
so if you press F12,
this will bring up this little window here,
where there's two buttons:
one to "Enable Melee Attack" and one to "Enable Range Attack".
If I turn those off, she won't be able to shoot...
so, I'm pressing O and K and nothing is really happening.
I want to make sure that these are enabled,
so I can test things quickly when I'm designing my game,
so I'm going to leave those enabled.
And to close this menu, it's just to F12 again.
Let's exit Play mode
and see how we can set up a simple level.
So, I'm going to use the Unity Tilemap,
and I'm going to go to "Window" > "Tile Palette",
and this will open up the "Tile Palette" window.
So, it's only "TilesetRockWaterBlockers" here,
and this isn't what I want.
So, I'm going to click on this menu
and select the "TilesetGamekit"...
and we've provided you with two different tilesets:
we've got this rocky one and this grassy one.
I'm going to select this grassy one,
because it matches what I already have in the Scene.
So, I'm going to just click it
and then, in the Scene view, I'm going to click and drag
and draw out a kind of level that I would like.
So, all these tiles are set up so you can...
just draw everything out,
and it knows what type of tile to already place,
because we've all set this up with a Rule Tile Asset.
So, if I press Play, I'll still be able to run around
this level that I've just drawn out.
I'm going to exit Play mode
and I'm going to close this "Tile Palette" window,
and you can draw this at any point.
So, if you're in the middle of designing your game
and you are not quite sure about the base environment,
you can still open up that window and start drawing,
no matter if you've added extra GameObjects in or not.
So, now that we've created a level,
let's look at adding some art and the project structure.
So, the first thing I'm going to do is move my Hierarchy window
next to the Inspector.
We're going to be doing a lot of dragging and dropping in this session,
so I want to make it as easy as possible
and not drag too far.
So, where it says Hierarchy,
I'm going to click and drag that to be next to the Inspector.
And I'm going to make it slightly smaller.
Let's take a look at the project structure.
In the Project window, we have everything stored in folders,
so we have an "Art" folder, "Audio", "Documentation",
which is where we keep the "Getting Started" guide,
as well as the "Component Reference" guide,
where you can look and see what all the settings mean.
This is also available in the Learn site,
so if you go to the project on the Learn site,
you'll have the exact same thing there.
We have the "Prefabs" folder,
which is where all of the game high elements are stored.
We'll be going into that a bit later.
And then, the "Scenes" folder
we were previously in throughout the example game.
I'm going to go back to the root of the project
and open up a Scene that I already made.
So, I'm going to just double-click on it,
and then this Scene opens up.
So, I've created a Scene exactly the same
as I created the other Scene,
but it's quite bland,
so if I want to add some art,
I'm going to go into the Project window,
I'm going to expand the "Art" folder,
and then I'm going to click on "Sprites",
and then we have everything more categorized into
"AnimatedSprites", "Environment", "Interactables"...
and if I expand this out,
I'm going to click on "Environment",
because I want to get some environment Assets in here.
So, as you can see, we have a lot of Assets,
these are all the Assets that make up the example game.
So, we have a lot of plants and foliage...
we also have some nice statues here...
I'm going to click and drag on this "Dropship"
and put it into this Scene view.
I'm going to put into place...
and I think there is about good.
So, that was just a simple way
of how you can get some art into the Scene,
we have a lot more art Assets, so I can also put this statue...
maybe up here.
Hope that it doesn't get in the way for later.
But that's basically it; we've got some hanging foliage
which matches everything,
so you can decorate a little bit of the edges as well.