Disabled switching on the first level. Added switch particles. Fixed enemy sprite

This commit is contained in:
2026-06-14 18:37:11 +03:00
parent 5c766913d1
commit ed657514a3
5 changed files with 30 additions and 4 deletions
+3
View File
@@ -3,6 +3,7 @@ extends Node2D
@export var player_falling_at_start: bool = true
@export var player_can_switch_color: bool = true
@onready var player : Player = $Player
@@ -20,6 +21,8 @@ func _ready() -> void:
SoundManager.play_music_stream(SoundManager.music_stream_gameplay)
player.can_switch_color = player_can_switch_color
if player_falling_at_start:
player.velocity.y = player.max_fall_speed