Skip to main content

UNITY TUTORIAL 08

"It Is Time To Do The Design" by Tenney Tang on Dribbble.

This week I finished the final set of tutorials for the arcade-style sumo battle game and completed a challenge. I learned how to spawn up to 3 enemies by adding a new void to the SpawnManager and using for-loop. I also learned how to make the number of enemies increase with waves using the (++) operator as well as getting the power-up to respawn in a random spot at the start of each wave. 

Screenshot of my work in Unity3D.

In challenge 4, I had to correct the scripts of a soccer themed game by applying what I learned from the sumo battle tutorials. I fixed the issue of the enemy flying towards the player instead of away when they collide by subtracting "transform.position" from "other.gameObject.transform.position" instead of the other way around. I replaced the "Powerup" tag under the enemyCount variable with "Enemy" so that a new wave begins when all the enemy balls are taken out instead of when the player collects a power-up. I also made the power-up's effects temporary. I made the number of enemies increase by 1 when a new wave begins using the (++) operator. I was a little unsure about how to get the enemy balls to move towards the goal but looked at the hints for some help then added a playerGoal variable.  

This challenge took some time to complete because the scripts have a lot of code and I had to scan it all to find the errors but the comments helped with this.

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

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

READING 6: DOING

Illustration by Shane Francisco on dribbble . Difference between a linear and nonlinear story structure The most common storytelling structures that are present in games are linear and nonlinear, since there is  no single mode of narrativity in entertainment software [1].  Linear narratives follow a chronological path with a defined beginning, middle, and end. The player progresses through the game in a straight line by reaching predefined plot points. This is different to games with a nonlinear structure because they provide the player with the freedom to make decisions that can influence the story. The player's choices offers them several possible endings. There are games that have a combination of both structures. Three act structure The three act structure is a method of linear storytelling which divides a plot into a beginning, middle, and end. This model is widely used for designing a high level framing narrative for compu...