added the game

This commit is contained in:
JHDev2006
2025-09-13 16:30:32 +01:00
parent 5ef689109b
commit 3773bdaf64
3616 changed files with 263702 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
class_name LevelEditorVisibleNode
extends Node2D
func _ready() -> void:
update()
if Global.level_editor != null:
Global.level_editor.editor_start.connect(update)
Global.level_editor.level_start.connect(update)
func update() -> void:
visible = !LevelEditor.playing_level and Global.current_game_mode == Global.GameMode.LEVEL_EDITOR