Unity Tutorial 01

 Unity Tutorial 01

 

So i have been working my way through some of the tutorials on the Unity Engine. They are honestly so cool and interesting to follow. Personally I really like how you can just watch the tutorial through and then its explained how to do the steps again at the end, this is really useful as when the content is being explained you can just listen to whats being said and understand it instead of trying not to fall behind.

The purpose of the game was that, once the player hit play the truck would drive down the road at a fixed speed colliding with a few boxes I have layed out in its tracks. The tutorials showed me how to add the code to these objects to actually make them do something, now this was something I really enjoyed, just seeing it come to life. I had to add Physics to both the truck and the boxes so they would stay on the road and not fall through it. There was also code added to the truck and boxes called a "collision mesh" & "rigid body" these told the PC how to react when the truck collided with a box. In theory its all simple enough you wouldn't think of this stuff but its only when you start making a game you realize it cant do a single thing unless you tell it what to do.

I have included an image that captivates what the whole process on my screen bringing the game to life. On the left you can see Visual Studio which is used to edit and alter the code of the scripts used. On the Right is Unity its self which is using the scripts and the assets to make the game come to life.




Comments

Popular Posts