Post Game jam commit

This commit is contained in:
Daniel Kauss Serna 2026-02-03 21:06:49 +01:00
commit 6db2131520
164 changed files with 172524 additions and 0 deletions

28
start_menu.gd Normal file
View file

@ -0,0 +1,28 @@
extends Node2D
@export var settings : Control
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
SoundManager.play_music("title")
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func _on_start_button_pressed() -> void:
if !WorldState.done_tuto:
WorldState.done_tuto = true
SceneTransition.change_scene("res://tutorial.tscn")
else:
SceneTransition.change_scene("res://stage1.tscn")
func _on_settings_pressed() -> void:
settings.visible = true
func _on_exit_pressed() -> void:
get_tree().quit()