diff options
author | Zoey Kitt <zoey.kitt@outlook.com> | 2024-11-16 20:00:51 -0600 |
---|---|---|
committer | Zoey Kitt <zoey.kitt@outlook.com> | 2024-11-16 20:00:51 -0600 |
commit | 68459cebbc082aef2cab614608cd605e7cf54b5f (patch) | |
tree | 62f61dfb7ec9f177c03fe69c28c8413d4ee0f788 /scenes/title.gd | |
parent | 47c6fcc3b0ae7d79c29f1a4bfbfc5f12d44d3254 (diff) | |
parent | 87d20544d53adab42753bb10eddb955cf7957290 (diff) |
Merge branch 'main' into main-window
Diffstat (limited to 'scenes/title.gd')
-rw-r--r-- | scenes/title.gd | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/scenes/title.gd b/scenes/title.gd new file mode 100644 index 0000000..5373abe --- /dev/null +++ b/scenes/title.gd @@ -0,0 +1,25 @@ +extends Node2D + + +# Called when the node enters the scene tree for the first time. +func _ready() -> void: + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(delta: float) -> void: + pass + + +func _on_close_button_up() -> void: + get_tree().quit() + + +func _on_minimize_button_up() -> void: + OS.shell_open("https://tenor.com/en-CA/view/free-smileys-faces-de-emoji-nope-no-nah-gif-16168307") + DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_MINIMIZED) + + +func _on_start_pressed() -> void: + get_window().size = Vector2(0,0) + get_window().position = Vector2(-100,-100) |