/GreedyChickenGame

PC game where you collect coins as a chicken

Primary LanguageC#

Greedy Chicken

Play Greedy Chicken on Unity website Intro Menu

Implementation

Greedy Chicken is a 3D game made in Unity. It's based off of Brackey's how to make a game tutorial, with some modifications All scripts are written in C# in Visual Studio:

  • AudioManager manages all the audio files. It is a list, and it plays the audio with a certain name.
  • GameManager manages the transitions betweel levels. It has the methods: CompleteLevel(), EndGame(), and Restart(). It must be present in scenes where the player can transition to another scene, and when displaying the final score.
  • SettingsMenu, PauseMenu, and LevelComplete all have methods that can be called on by the buttons in those menus
  • Coin has methods for when the Player gets it. OnTriggerEnter() method fires when the Player collides with it, and it calls the GetCoin() method, which is has the score increase, eaten effect (sparkly effect when Player gets a coin), and destroy game object.
  • Strawberry is almost the same as Coin, but with a different eatenEffect and points
  • Bomb and Fox is almost the same as Coin, except it has onCollisionEnter() instead because I want the Player to physically hit it. Hitting it will reset Player's position.

Screenshots

Tutorial Settings Gameplay Level Complete Fox Pause/Exit Menu Strawberry Bomb Win Screen

Assets Used