diff --git a/apps/rentearth/re-game/addons/q/q_plugin.gd b/apps/rentearth/re-game/addons/q/q_plugin.gd index cf8ffb4114..3b70dde9a0 100644 --- a/apps/rentearth/re-game/addons/q/q_plugin.gd +++ b/apps/rentearth/re-game/addons/q/q_plugin.gd @@ -6,7 +6,7 @@ var music_manager: MusicManager func _init(): print("[Q] Initializing...") - if not game_manager: + if not game_manager: game_manager = GameManager.new() game_manager.name = "GameManager" diff --git a/apps/rentearth/re-game/project.godot b/apps/rentearth/re-game/project.godot index 65210d3ae6..19fd687a76 100644 --- a/apps/rentearth/re-game/project.godot +++ b/apps/rentearth/re-game/project.godot @@ -11,14 +11,13 @@ config_version=5 [application] config/name="rentearth" -; run/main_scene="res://scenes/game.tscn" +run/main_scene="res://scenes/title.tscn" config/features=PackedStringArray("4.3", "GL Compatibility") config/icon="res://icon.svg" [autoload] -;Global="*res://scripts/global.gd" -;UI="*res://scripts/ui.gd" +Q="*res://addons/q/q_plugin.gd" [display] diff --git a/apps/rentearth/re-game/q.gdextension b/apps/rentearth/re-game/q.gdextension new file mode 100644 index 0000000000..bf9e724d69 --- /dev/null +++ b/apps/rentearth/re-game/q.gdextension @@ -0,0 +1,9 @@ +[configuration] + +entry_symbol = "gdext_rust_init" +compatibility_minimum = 4.1 + +[libraries] + +macos.debug.arm64 = "res://addons/q/macos/libq.dylib" +macos.release.arm64 = "res://addons/q/macos/libq.dylib" \ No newline at end of file diff --git a/apps/rentearth/re-game/scenes/title.tscn b/apps/rentearth/re-game/scenes/title.tscn new file mode 100644 index 0000000000..abde55559d --- /dev/null +++ b/apps/rentearth/re-game/scenes/title.tscn @@ -0,0 +1,3 @@ +[gd_scene format=3 uid="uid://b5ku36q8aedpr"] + +[node name="Title" type="Node2D"]