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 code
- Colliders and Triggers
- Override functions
- Log Debug messages to console
Challenge 2
Challenge 2 screenshots |
After I completed the tutorial, there is a challenge that we have to do as well to help us remember the things that we have learned during the lesson and it also could help us enhance our new skills by applying it to a new game. This will also show if we completely understand the new codes. During my first try fixing the game, I ended up disarranging some coding, I also sometimes change some codes on the last lesson because I have to check the differences.
Since I couldn't remember what changes I made in the game, I decided to delete the whole source file and start again. It was a good decision because I was able to realize where I did wrong and everything was clear for me making me finish the challenge quickly. What I learned from this task is that don't be scared to start over again because it could be a change where you could learn and improve yourself more. You might also learn where you made a mistake and you will able to fix them.
here's my link to my last unity blog: Unity Tutorial 03
Comments
Post a Comment