From 01c1f08379d22b36f3eaedfa355c6e49ef3fa820 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 28 Mar 2024 23:45:40 -0400 Subject: AFD inverted camera --- Archipelago/player.gd | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Archipelago/player.gd b/Archipelago/player.gd index 87d9d0c..244d9a8 100644 --- a/Archipelago/player.gd +++ b/Archipelago/player.gd @@ -1,5 +1,13 @@ extends "res://scripts/player.gd" +var april_fools = false + + +func _ready(): + var date = Time.get_date_dict_from_system() + if date["month"] == 4 && date["day"] == 1: + april_fools = true + func _solving(): ._solving() @@ -22,3 +30,10 @@ func _unhandled_input(event): if event.pressed and event.scancode == KEY_P: var effects_node = get_tree().get_root().get_node("Spatial/AP_Effects") effects_node.skip_puzzle() + + +func rotate_y(amount): + if april_fools: + .rotate_y(-amount) + else: + .rotate_y(amount) -- cgit 1.4.1