Posts

Showing posts from February, 2021

2D Unity Tutorial 04

Image
 2D Unity Tutorial 04 The first part of this week's 2D Unity Tutorial involved animating the enemy robot character and the main character Ruby. I found it a little tricky to wrap my head around the wording and visuals because of the outdated interface used in the tutorials. Despite my best efforts there was an error message for the robot animation meaning there was no animation whatsoever. Ruby is animated perfectly but for some reason the robot just won't and I can't figure out what the problem is. The error message is reading "Parameter 'Move Y' does not exist". I looked at a Unity forum to find some answers and this bug has been around since 2012 with people still struggling with it in 2021. Here's the link to that forum.  https://forum.unity.com/threads/animator-parameter-does-not-exists-bugg.168103/  .  Moving on from that disaster I started the second part of the tutorial which was adding a projectile to Ruby. This was thankfully way easier than

2D Unity Tutorial 03

Image
 2D Unity Tutorial 03 In the first part of this weeks 2D Unity Tutorial I learned how to add a health collectible to the game. I struggled a little bit with the coding aspect for the health collectible as I kept getting a red error message at the bottom of the unity editor. I had no idea why it wasn't working and it was extremely frustrating. The tutorial was not helping me in the slightest either. The code provided in the tutorial was incorrect too. Comparing it to the final code given at the end of the tutorial didn't make it any clearer either but a quick copy and paste solved the mysterious problem. (A screenshot of this weeks Unity Tutorial) The second part of this weeks 2D Unity Tutorial I attempted to learn how to add a damage zone and an  enemy to the game which would move around the game area. The enemy just did not work out, the code doesn't function as the tutorial lets on that it will. This is extremely confusing and frustrating and makes me want to throw my lap

2D Unity Tutorial 02

Image
 2D Unity Tutorial 02 In this weeks 2D Unity Tutorial I learned how to add decorations to the environment of the game. I added some trees, mushrooms and lotus flowers to the area as well as two pink metal boxes. I also made sure these decorations were rendered properly. In the second half of this Unity Tutorial I learned about the physics of a 2D game and how the sprites collide. There are a lot more steps than I would have guessed for this seemingly simple task but it is physics so its not supposed to be easy! I made the objects and the sprites in the game be able to collide in an appropriate way to make the game function and look better. I particularly liked adding the tile map collision onto the water areas that I have in my environment. I didn't really enjoy the coding aspect of this tutorial I don't really understand it fully. I'm looking forward to the next few parts of the tutorial it involves collectables and enemies! A screenshot of the end results of the tutorial.

2D Unity Tutorial 01

Image
 2D Unity Tutorial 01 A new semester, a new Unity tutorial! This time I'm learning how to create 2D games. Some of my favourite 2D games are 'Ori and the Blind Forest' and 'Hollow Knight'. Both of these games happen to be created using Unity. In this first tutorial I learned all the basics of setting up the 2D environment for the game. It took a bit of getting used to with all the different tools you need like the tile palette for basically painting the scenery onto the canvas. Making the character sprite move is kind of similar to the 3D version which is nice to find and makes this process easier. One thing I found difficult about this Unity tutorial was the depth perception of the tiles that are laid down as the environment. I think I'll get to wrap my head around it in the next few Unity Tutorials. I look forward to learning the next few steps in 2D game development! :) A screenshot of the end results of the tutorial.