Unity Tutorial 01
This week I completed my first Unity Tutorials. I had gone through the introduction and lessons 1.1 to 1.3.
In lesson 1.1 I was introduced to setting up the project folder with all its assets and i learned how to add these assets to Unity and access them. I also went over how to add objects to the scene, where I proceeded to add a vehicle and an obstacle. Next I learned how to move the camera around and I repositioned it behind the vehicle. I found the very first lesson to be pretty easy and simple and it was a great way to introduce me to Unity.
In lesson 1.2 I was introduced to creating my first script and working with C#. I followed the tutorial as it showed me how to make the vehicle move forward, change its speed, make the vehicle and obstacles interact with each other and also how to duplicate the obstacles to make more. I found this lesson to be quite easy too and found the coding simple and logical. One thing that certainly helped is the fact that I had previously learned how to code in the C language and while it has been a few years and C# is a little bit different to C it has still helped me understand it and learn it much faster.
In lesson 1.3 I was introduced to adding a speed variable to my vehicle which I can access from unity and don't require changing in the script all the time. I also created a new script for the camera and wrote up some code so that it follows the vehicle as I pressed play to test it out. I then changed the camera's position as it was following the vehicle so that it can stay in a nice view of the vehicle. I also added a color tint for when I enter playmode to test the game. Yet again I found this lesson to be pretty easy and I'm looking forward to learning more and finding some challenges that I can try get over!
Images:
(Image of the Unity interface as I was creating this project, sourced from a screenshot of my project)
Comments
Post a Comment