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

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.

Game Idea Research

Maze  Inspiration Last week, I started to collect some game ideas and talk about what we like about them. However this week, we have to choose on out of all the game ideas we picked. The game that I decided to do is similar to "Roller Splat!" but in 3D instead because that is the type of game we are learning in Unity. I think that it will be helpful as I can utilize the skills that I learned from the tutorials to my project instead of studying another type of game. I will have more time to develop my game better if I stick to 3D style as well. Choosing this type of game is also a good starter, especially for people who want to make a game for the first time like me. My game will also be played in a first person point of view means that the camera of will be placed at the back following the ball inside the maze. While doing my secondary research, I find countless of game tutorials on YouTube that are related to the idea I am going for. Most of them are also made in Unity which...

Beta

When Unity takes a long time to load Screenshot with the sound effects Hi guys~ For this week's project update, I tried to create my menu scene again but I still have a LOT of problems. At first, I tried to follow the same tutorial from this week's lab work task  and sadly it still did not work even though Shaun advised that I should not use the TextMesh Pro font as we thought it was the one that causes the problem. The tutorial was straightforward, but Unity kept crashing down, and even though I have all of it save during the process, everything that I have done still got deleted. I decided to look for another tutorial for the Main Menu, I found this 5-minute video tutorial . I find it helpful and it is simpler than the first tutorial. Unfortunately, while I'm nearly done making it, Unity crashed again, so I ended up having nothing is done which is very frustrating because I want to make a decent game by the end of this semester and Unity isn't cooperating :(. The only...