Skip to main content

Unity Tutorial 03

 

Unity Lesson 2 screenshot.

This week's Unity Lesson is about making a new game where we have to feed the animals. We also have to know how to do Player Positioning, Food Flight, and Random Stampede.

Last night, I was having trouble with the Unity website because it won't play the video tutorials and the software wasn't working properly. Fortunately, when I tried again this morning it starts to work fine. When I started the lessons, I didn't have any problem completing them because they are explained well and it was straightforward. I'm also becoming more comfortable doing the lessons and the tools are more familiar to me now which I am happy about.

Here are the things that I learned while doing the lessons:

Lesson 2.1

New functionality - Where the player can move left and right based on which one the user's presses (L&R keys). I also learned that the player will not be able to leave the play area on either side

New skills/Concepts:
  • if-statements
  • adjusting the object scale
  • greater/less than operators

Lesson 2.2

New functionality - Where the player can press the Spacebar to launch a projectile prefab. The projectile and Animals are removed from the scene if they leave the screen.

New skills/Concepts: 
  • Creating Prefabs
  • Override Prefabs
  • Test for Key presses
  • Instantiate objects
  • Destroy objects
  • Else-if statements

Lesson 2.3

New functionality - The player can press the S button to release/spawn an animal. The animal selection and spawn location and randomized and the camera projection such as perspective and orthographic were introduced as well.

New skills/Concepts:
  • Spawn Manager
  • Array"[]"- numbered list of objects starting at 0 making it easy for us to select if we want the object 0,1,2 and so on.
  • Keycodes
  • Random Generation
  • Local vs Global variables
  • Perspective vs Isometric Projections

Comments

Popular posts from this blog

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

Twitter List!

Lee jong Suk giving you flowerrrsss Hi guys! How are you doing? I tried to create a List on Twitter. Link to an external site I have never created a Twitter List before so it is a new experience. I also think that this will be useful to me especially in the future as I want to explore more about animators and designers and learn from them. I also think that creating a list of specific topics would help you to find them easily and it is more organized.

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