Skip to content

Commit

Permalink
A lot of changes
Browse files Browse the repository at this point in the history
Organization, implemented the Y, and improved the movement controller.

BUGS/MISSING FEATURES SO FAR THAT I HAVE FOUND: Keyhole animation breaks when you press play (maybe we can make it so you can't press play when the keyhole animation is running), movement controller is still pretty bad, hole item on canvas goes out of frame, no Y item texture (using brick as placeholder), no play button without Y texture, no Y texture to go on top of that texture (using brick as placeholder) (note: I have a solution for the no y on door texture), and maybe we could make the parts of the play button falling a little more random with animation which also would make the hole not go offscreen (and they also fall differently if you pause while they are falling).

Also Adrian had an idea of "skeletons in the closet" for like a bedroom or something with a closet but one of the bones of the skeleton is a "skeleton key" which opens a door (but it gets used up). I also thought that maybe we could do hint messages appearing if you spend a while on a puzzle (that can be turned on and are off by default or maybe the opposite of that). For example:

A while on pause puzzle: "Think outside of the box"
Even longer on pause puzzle (it will have already told you the controls earlier: "Remember: Esc to pause"
Even longer on pause puzzle: "Esc to go outside of the box"
Way too long on pause puzzle (for other ones would also just give the solution): "Go into the pause menu and try to move around after a second to complete the puzzle"

I think either that or just a hint section of the menu would be good.

Also Adrian played through it and said that the Y puzzle was really hard because of all of the different symbols in the logo so we should definitely add hints for that.

Sorry this is so long but one last thing I think there could be like a piece of paper somewhere with a code that you dial into the phone and press the # then the screen turns on and it shows an easter egg.
  • Loading branch information
maxwaldman8 committed Dec 31, 2023
1 parent 6f3bc2f commit aa5801c
Show file tree
Hide file tree
Showing 22 changed files with 3,311 additions and 4,278 deletions.
File renamed without changes.
7,572 changes: 3,295 additions & 4,277 deletions Deceptive Perspectives/Assets/Scenes/Game.unity

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions Deceptive Perspectives/Assets/Scripts/InteractableObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@ public class InteractableObject : MonoBehaviour
void OnMouseUpAsButton(){
if (active){
Event.Invoke();
Debug.Log("event");
}
}

// void OnMouseUp(){
// if (active){
// Event.Invoke();
// }
// }

}
6 changes: 6 additions & 0 deletions Deceptive Perspectives/Assets/Scripts/Inventory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ public class Inventory : MonoBehaviour
[field: SerializeField]
private Sprite Hole;
[field: SerializeField]
private Sprite Y;
[field: SerializeField]
private Sprite HardHat;

[field: SerializeField]
Expand Down Expand Up @@ -54,6 +56,10 @@ void Update()
image.sprite = Hole;
description.text = "Hole";
break;
case "Y":
image.sprite = Y;
description.text = "Y";
break;
case "HardHat":
image.sprite = HardHat;
description.text = "Hard Hat";
Expand Down
4 changes: 3 additions & 1 deletion Deceptive Perspectives/Assets/Scripts/ItemHolder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ public class ItemHolder : MonoBehaviour

void Update()
{
image.enabled = hasItem;
if (!isAction) {
image.enabled = hasItem;
}
}

public string Interact (string heldItem)
Expand Down

0 comments on commit aa5801c

Please sign in to comment.