Skip to main content

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 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

Popular posts from this blog

Introduction to a future Animator 😁

If you've been reading my blog post since the day I started, you have read my first introduction. However, I haven't really talked about myself. So in this post, I will along with questions from the tasks we have given. 😁 My photo from last year First of all my name is Flosie Jane Sazon, I am currently a 2nd-year student studying Creative Digital Media at the  Technological University of Dublin located in Blanchardstown Campus. I'm 20 years old (even though I don't look my age 😂) and I have been living in Ireland since I was 13. This course wasn't actually my first choice even though I love art. My first choice was something about business and language which was way different from what I'm doing now, but I'm really happy that I'm doing what I love. Even though there were a lot of times convincing my parents but everything went well in the end.😂😂 What was the best class you took last semester? why? Even though I enjoyed Web Development and Design Proc...

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...