This project aims to build a basic FlappyBird game. Components, Methods, and Properties
The following components can be used in code: Animator Method: void SetBool(string paramName, bool value) AudioSource Method: void PlayOneShot(AudioClip clip) Rigidbody Property: Vector3 velocity Text Property: string text Transform Property: Vector3 position Other Methods
The following methods and properties can also be used: GameObject GameObject.Find(string name) bool Input.GetButtonDown(string buttonName) ComponentType GetComponent() GameObject Instantiate(GameObject original) new Vector3(float x, float y, float z) int Random.Range(int min, int max) SceneManager.LoadScene(int sceneIndex) Time.timeScale Time.deltaTime The following methods can be defined: void Start(){} void Update(){} void OnTriggerEnter(Collider other){} void OnCollisionEnter(Collision collision){} Instructions/Rubric DragonController.cs (already started for you). When the dragon crashes into something:
5 Points: Game pauses (see hints). 5 Points: Crash audio clip plays. 5 Points: Game Over message is displayed. If the game is paused: If "Jump" button pressed: 5 Points: Game Over message is hidden. 5 Points: Un-pause game. 5 Points: Reload game. If the game is not paused: If Jumping: 5 Points: Plays "Flap" animation.
5 Points: Plays Flap audio clip. 5 Points: Sets velocity to (10, 15, 0). If Not Jumping: 5 Points: Plays idle/default animation. In other words, turns off "Flap" animation. Going through column (see ColumnController hints): 10 Points: Point audio clip plays. 10 Points: Score increases by 1. CameraController.cs 10 Points: Camera moves right at 10 units per second. ColumnController.cs Spawns another column when the dragon flies through. 10 Points: 40 units to the right. 10 Points: Random y position between 0 and 10.
DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma
Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t
Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th
1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of
1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of