diff --git a/Movement/BestScore.cs b/Movement/BestScore.cs new file mode 100644 index 0000000..f03e234 --- /dev/null +++ b/Movement/BestScore.cs @@ -0,0 +1,15 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.UI; + +public class BestScore : MonoBehaviour +{ + // Start is called before the first frame update + void Start() + { + GetComponent().text = "Best Score: " + Score.bestScore; + } + + // Update is called once per frame +} diff --git a/Movement/CurrentScore.cs b/Movement/CurrentScore.cs new file mode 100644 index 0000000..bd6e35a --- /dev/null +++ b/Movement/CurrentScore.cs @@ -0,0 +1,14 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.UI; + +public class CurrentScore : MonoBehaviour +{ + // Start is called before the first frame update + void Start() + { + GetComponent().text = "Score: " + Score.score.ToString(); + } + +} diff --git a/Movement/Replay.cs b/Movement/Replay.cs new file mode 100644 index 0000000..c8143a5 --- /dev/null +++ b/Movement/Replay.cs @@ -0,0 +1,13 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.SceneManagement; + +public class Replay : MonoBehaviour +{ + + public void ReplayGame() + { + SceneManager.LoadScene("PlayScene"); + } +} diff --git a/Movement/flap.wav b/Movement/flap.wav new file mode 100644 index 0000000..62d02ac Binary files /dev/null and b/Movement/flap.wav differ