Skip to main content

Unity Tutorial 02

Unity Tutorial 02 screenshot of my work.

For this week's Unity Tutorial, we must complete two things such as decorating the world of our 2D games using the tiles that we converted into sprites. I had fun decorating my game and I really took time to place the objects where I think it looks good. I think it is good that we can design our game as we can add as many things as we can. I also learned how to add a physics system to our player controller therefore it does not fall when I play the game. I was also thought about how to adjust the box collider in the 2D version and it does not really have a difference between the 3D versions.

Problem:

While I was doing the tutorial, I was distracted by the heading of the "Ruby Controller" as the first letter was not in a capital letter. I decided to rename and when I added new codes onto the player, it was not working anymore, and I was having trouble looking for the error. I tried again the next day and it still did not work as I have not realized what I did wrong. Therefore, I made up my mind that I will create a new Ruby player and a Script, but I named it "PlayerController" to help me not to get confused between the old version. 

In the end, everything worked perfectly again, and I was able to complete the tutorial! This week, I learned that I should be more careful next time as I cannot change my work as easily as I think it would be and that I should not be lazy to recheck my work!! 

Here are the lists of the things that I learned from this week:

  • I learned how to change the drawing order of my GameObject
  • How to create Prefabs from GameObjects in the 2D version.
  • Prefabs are very important in Unity 2D
  • The basic information about Physics System
  • I added a Rigid Body component to help the Physics system handle objects.
  • I also adjusted the Collider to the PlayerController and MetalCube prefabs.




 

Comments

Popular posts from this blog

Twitter List!

Lee jong Suk giving you flowerrrsss Hi guys! How are you doing? I tried to create a List on Twitter. Link to an external site I have never created a Twitter List before so it is a new experience. I also think that this will be useful to me especially in the future as I want to explore more about animators and designers and learn from them. I also think that creating a list of specific topics would help you to find them easily and it is more organized.

Unity Tutorial 04

This week's tutorial lesson was very straightforward and easy to follow. I also did not have any problem with the Unity tutorial videos and the software this time which I am really glad about. I learned how to apply codes that can destroy the objects when the collision is detected. I also know how to add the "Game Over" message in coding if the farmer missed feeding one of the animals. The tutorial lesson also taught us how to spawn the animals at timed intervals so that the animals will appear randomly on the game. Here are the things that I learned for this week's Unity tutorial: Lesson 2.4 New functionality: Animals are spawned on timed interval and walk down on the screen and the animal gets past the player without getting fed, there's a "Game Over" trigger massage at the left bottom of the screen. When the projectile and animal collide, objects are removed right away. New Concepts/Skills: Create custom methods/functions InvokeRepeating() to repeat c...

Time Strategies

Ancient clock As usual, I have been trying to start my last blog for this week, but because I procrastinate so much I never ended up doing it.  I feel like I always keep saying (I'll do it tomorrow morning), knowing very well that I am actually not a morning person!😂 . Anyways.... I am doing it again, moving away from the main topic. *facepalm* Today I will be talking about the time management which is ironic for me as I have been procrastinating before doing this blog. We were given multiple articles to choose from and read at least 2 of them to help us manage our time and keep our head on track with college work. Even though it is only the 2nd week of semester, we already have plenty of things to do, whether it is a tasks or labs. I've already found myself overthinking and feeling pressured to be able to submit the work on time. I also find it hard to stick to my planned timetable for this specific module that I created last week because there are tasks that kept coming. The...