Skip to main content

UNITY TUTORIAL 05

This week I was introduced to the package manager and installed a package called Cinemachine which would allow the camera to follow Ruby around the game. I created a new game object by adding a 2D camera from Cinemachine. The new camera view made some of the area around the game scene visible so I had to paint more of the tilemap, with water along the borders to make it look like an island. I applied Ruby to the "follow" section of the Cinemachine virtual camera in the inspector which made Ruby the centre of the screen as the camera follows her. I added the Cinemachine confiner to my virtual camera to prevent the camera from showing the area outside of the game scene. 

In the second set of tutorials, I learned how to add a smoke effect to the robot. I created a new particle system and activated the texture sheet animation in the inspector then changed the mode to sprites. I added the two smoke effects in the spaces below it. I edited the start frame in the texture sheet animation, the angle and radius in the the shape section, and the start lifetime, start size, start speed in the particle system's main section to make the smoke look slightly more natural. I also adjusted the colour in the colour over lifetime section and the size curve in the size over lifetime section to allow the smoke to fade out. I applied the smoke effect to the robot's head and edited the code in the enemy controller script so that the smoke stops when Ruby fixes the robot.

Screenshot of my work in Unity.


Comments

Popular posts from this blog

INTRODUCTION TO SOMEONE WHO'S JUST VIBING

HEY!! Look who made it to her second year of college!! Me, Nadine, I did!! Yeah, I'm even more surprised than you are.  Happy girl illustration by 94MLK_ on Twitter. Saved from Pinterest . Last year wasn't too bad, but that was up until the whole country went into quarantine and I began to fear for my college career. I was constantly on the verge of giving up on my assignments but I would like to thank my friends for not allowing that to happen. I'm so glad I get to start year two with them and hopefully we'll make it to the end together too!  Despite the stress, there are a few pieces of work from year one that I'm proud of. I liked the websites that I created for Web Development 1 and 2, the video I edited from Introduction to Digital Media mission 3 and the advertisement poster I made for Digital Photography. I hope to produce better work this year.  Personal screenshot from the index page of my web development 1 project. Personal screenshot from the index page

FIRST PLAYABLE

Continuing with the creation of my game, I resized the player character to make them even smaller based on a comment that was left on my last project blog. I also repositioned the trees to make the space slightly narrower and added some flowers to bring some colour into the scene. With reference from the animal feeding game tutorial, I was able to get the player moving left and right by clicking the arrow keys. I brought in rocks and a branch for obstacles but I need to apply a SpawnManager script and get them to spawn randomly during gameplay. I also have to figure out how to get some branches falling from the trees and bringing in power-ups and points too. Screenshot from Unity3D of my game production.

GAME IDEA RESEARCH

Runner animation by Otilija MorozaitÄ— from Dribbble . Following last week's game brainstorm , I have decided to focus on and develop my idea of creating an infinite runner game and will be thinking about three game mechanics I will include. I will be drawing inspiration from the Ghibli Studios film, "The Secret World of Arrietty" for the theme of my game.  Obstacles are implemented within games to create a challenge for the player and to make it more difficult for them to win or in the case of infinite runner games, prevent them from playing forever and becoming tremendously bored. For my game idea, I plan to scatter stones along the lanes that the player must jump over or switch lanes to avoid. There will also be twigs falling from the trees which will create shadows before hitting the ground so the player is aware and can attempt to avoid them. A feature will be applied that allows the player to move left and right. Rewards will be available to the player throughout th