From 8ed2e8d6c1e369aab164cf5778e12bdca39f561b Mon Sep 17 00:00:00 2001 From: Jason Date: Thu, 18 Apr 2024 21:54:55 -0400 Subject: [PATCH] Updated our website's description --- Assets/Scripts/Jason/ExitLevelScript.cs | 2 ++ Assets/Scripts/Jason/KeyLock.cs | 3 +++ docs/index.html | 13 ++++++++++++- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/Assets/Scripts/Jason/ExitLevelScript.cs b/Assets/Scripts/Jason/ExitLevelScript.cs index 4a17ac6..91f4ac4 100644 --- a/Assets/Scripts/Jason/ExitLevelScript.cs +++ b/Assets/Scripts/Jason/ExitLevelScript.cs @@ -27,6 +27,7 @@ private void Update() { if (inTriggerZone == true && Input.GetKeyDown(KeyCode.E) && keyLock.doorIsLocked == false) { + BannerDialogue.hasShown = false; dialogueBox2.SetActive(true); GameObject playerObject = GameObject.Find("Player"); @@ -39,6 +40,7 @@ private void Update() { BannerDialogue.hasShown = false; dialogueBox.SetActive(true); + } } diff --git a/Assets/Scripts/Jason/KeyLock.cs b/Assets/Scripts/Jason/KeyLock.cs index 429fd5f..f1cfc2d 100644 --- a/Assets/Scripts/Jason/KeyLock.cs +++ b/Assets/Scripts/Jason/KeyLock.cs @@ -26,9 +26,11 @@ void Update() { if (inTriggerZone == true && Input.GetKeyDown(KeyCode.E) && key.playerHasKey == true) { + doorIsLocked = false; BannerDialogue.hasShown = false; dialogueBox2.SetActive(true); + dialogueBox2.SetActive(false); realKey.GetComponent().enabled = false; exit.animator.SetBool("isUnlocked", true); } @@ -36,6 +38,7 @@ void Update() { BannerDialogue.hasShown = false; dialogueBox.SetActive(true); + } } diff --git a/docs/index.html b/docs/index.html index 506da4d..6c8f482 100644 --- a/docs/index.html +++ b/docs/index.html @@ -24,7 +24,18 @@

SELENE

-

Selene is a 2D platformer made in the Unity engine with an emphasis on gravity changing mechanics.

+

+ Selene is a 2D platformer made in the Unity engine with an emphasis on gravity changing mechanics. +

+

+ The year is 2099. Earth's natural resources are scarce and running out. The United States has sent + its state of the art space ship, U.S.S. Selene, to venture into deep space to seek out and gather usable + resources from other planets. However, the crucial mission goes awry when our hero wakes up to find his + crewmates missing and the U.S.S. Selene heading back home to blow Earth up, which can only mean one thing. + The ship's artificial intelligence has gone rogue and become corrupted. Earth's fate is now in our hero's + hands. He must now avoid the space ship's A.I. controlled interior defense system, consisting of robots, + lasers, locked doors, and exposed electrical wires, to march to the ship's cockpit to shut down the A.I. +

To play the game, go to our github repo located here, and click on the latest release on the right. Download the build's zip file (not the source code).