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

Exploring Game Design

Inspiration image about discovering new things We started this week's tasks by reading articles about defining what a game is to a more detail and in depth explanations.  I used to define "game" as one or multiple players who works together to complete certain tasks with a set of rules that they must follow whether they win or lose. However if I put more thoughts into it, the definition gets more profound and brings me more in depth about what a game truly is. As I read though the first article that was talking about particular definitions of what a game is depending on how much interaction they have with it. For example, the more interest they have about games the more knowledge they can share with people. There is an interpretation from the article that I like based on a book called "Rules of Play" by Katie Salen and Eric Zimmerman. They explained that games are a "system in which players engage in an artificial, defined by rules, that results in a quanti...

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

Game Elements

  Textured background with a text. Link This week's reading task is about game elements where we have to explore more important vocabulary that we could use and also consider if we are starting to build our game project. The first written document that I read was analyzing the qualities of games. It started to give a quick summary about the definition of a game and all of main qualities can be simply called as "Formal Elements" also known as "Atomic Elements of Games" . They are the smallest parts of a game that can be studied individually.  Here are the 10 Atomic elements: Players Objectives (goals) Rules Resources/Resource Management Game State Information Sequencing Player Interaction Theme (Setting, Narrative, Backstory) Game as Systems After reading each explanation about these elements, I started to understand how important it is to follow this because every one of them has a special role in our game. The whole game could change if we just adjust/remove a...