Unity Tutorial 02 (Ruby's 2D Adventure)
This was the second part of a new project called "Ruby's 2D Adventure". From the beginning, I had created the base of my world for my character Ruby to move around in. I modified my player controller script so that Ruby can collide with the world and doesn't go through objects. To do this I used a system called the Physics System. In this tutorial I had :
- Started to decorate the world I had created
- I customised the way that Unity renders my sprites
- I had started to create prefabs and put game objects in like boxes and stuff inside a prefab folder
- I added a Rigidbody 2D component to Ruby and the boxes and disabled gravity so that they would collide with each other and not fall under the map
- I also added a Box Collider 2D all-around Ruby's entire character and the box so that way they can collide.
- I added a Tilemap Collision component so that Ruby won't end up walking across the water or outside the map.
What I hope to learn in the next tutorial is be able to know how to add collectables which are health add ups, how to make the game more challenging with enemies and damage zones etc.
![]() |
Tile path and some water I had added |
![]() |
Trees on the map that I had added |
![]() |
The map that I ended up designing overall |
![]() |
The settings I ended up with |
Comments
Post a Comment