4.6, new attack, enemy spawning, shaders, bunch of stuff

This commit is contained in:
Daniel Kauss Serna 2026-02-17 01:24:05 +01:00
parent e08e3ebb13
commit 19517a3176
84 changed files with 13348 additions and 91399 deletions

View file

@ -4,7 +4,7 @@ extends Node2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
SoundManager.play_music("title")
SoundManager.play_music(SoundManager.MUSIC_TITLE)
# Called every frame. 'delta' is the elapsed time since the previous frame.
@ -15,9 +15,9 @@ func _process(delta: float) -> void:
func _on_start_button_pressed() -> void:
if !WorldState.done_tuto:
WorldState.done_tuto = true
SceneTransition.change_scene("res://scenes/tutorial.tscn")
SceneTransition.change_scene(load("res://scenes/tutorial.tscn"))
else:
SceneTransition.change_scene("res://scenes/stage1.tscn")
SceneTransition.change_scene(load("res://scenes/stage1.tscn"))
func _on_settings_pressed() -> void: