Skip to main content

UNITY TUTORIAL 06

Computer gamer illustration from Freepik.

I went through the final set of tutorials for making a horizontal endless runner game this week. I was introduced to effects and applied an explosion effect for when the player dies. I also added dirt splatter particles to the player's feet to make it appear as though they are kicking up dirt as they run. I added an audio source component to the main camera object and applied a music clip which plays during the game. I also applied a jump sound for when the player jumps and a crash sound for when the player hits an obstacle. 

After completing these tutorials, I did another challenge. The game in the challenge was a horizontal endless game where the player has control of a balloon and the obstacles are bombs. I had to apply what I learned in the previous tutorials to complete this challenge. The player was unable to control the balloon using the spacebar because the GetComponent method was not used so I corrected this. I edited the script applied to the background so it moves during gameplay. Obstacles and rewards were able to spawn when I corrected the spelling of SpawnObjects in the SpawnManager script. I repositioned the firework effect so it is in the same position as the balloon and edited the RepeatBackground script so that it repeats smoothly.

The challenge was a little difficult because the scripts are busier and there is a lot of new skills to apply but referencing the tutorials helped me through it.

Personal screenshot from my work in Unity3D.

Comments

Popular posts from this blog

UNITY TUTORIAL 04

Various devices illustration from Freepik . This week I completed the final set of tutorials to create a simple animal feeding game. I learned how to make animals spawn on their own rather than having to click "S" to do so. This involved creating a custom function and moving the if-statement under "void Update" to this new function. I also learned how to make the animals spawn after a certain timeframe. I learned how to add box colliders to the animals and how to edit the size of these box colliders. Moreover, I was taught how to make the animals and pizza disappear when they came in contact with each other. I added an else-if-statement that triggers a "Game Over" message when an animal surpasses the player without being fed.  Following this, I completed a challenge in which I had to correct a game similar to the one in the previous tutorials. The final product should allow the player to spawn dogs to catch falling coloured balls. The dogs were initially a...

TECH TASK: CHEEZBURGER

 Meme created using the Cheezburger website. Image from Cheezburger site.