Unity Tutorial 4
Unity Tutorial 4
For this weeks Unity tutorial I completed a few lessons on collisions, playing fetch and jumping.
All lessons were very fun to do but challenging. At first we had to make our farm animals collide with our food item. Making a new script for "DetectCollision.cs" and put a code for our value to collide with our object.
For our second tutorial we had to play fetch, this was basically spawning a dog to chase after a ball and attach a destroy value to iton collision. There were many .cs pages for this one as there was quite a few elements as well as bonus tasks to carry out. For the instructions, there wasn't really any to follow, just hints. But working on the previous tutorial it was pretty handy applying the correwct values for the game to work, like making 3 balls spawn at intervals and different positions, making the dogs spawn only after a delay when spacebar is pressed.
For the final tutorial we had to use a scene background and makea character jump while moving.
Instead of making the player move, the background and object was given a move left value and the spacebar was used to hop over the obstacles when they spawned. This was very fun to do and you can get creative and wild with any of these games using any random obstacle within.
Comments
Post a Comment