aboutsummaryrefslogtreecommitdiff
path: root/game/src
diff options
context:
space:
mode:
author George L. Albany <Megacake1234@gmail.com>2023-01-25 02:07:01 +0100
committer George L. Albany <Megacake1234@gmail.com>2023-01-25 02:07:01 +0100
commit5371a960c9f0665d7de594cc5e274db225620207 (patch)
treef0c5d01c2ae8c2293b60af9b120440730021ccc3 /game/src
parentc16b58ddb07a4f814a4efa1dc3bf72e7bbe5f932 (diff)
feat(build): Implement scons building
feat(engine): Integrate basic Godot project feat(test): Demonstrate Godot using extension feat(dependency): Add OV2-compiler as deps submodule feat(dependency): Add godot-cpp as a submodule feat(git): Ignore Godot 4 files feat(docs): Updated readme with instructions feat: Can call `TestSingleton.hello_singleton()` from GDScript Adds basic workflow support but that is currently disabled
Diffstat (limited to 'game/src')
-rw-r--r--game/src/StartNode.gd5
-rw-r--r--game/src/StartNode.tscn6
2 files changed, 11 insertions, 0 deletions
diff --git a/game/src/StartNode.gd b/game/src/StartNode.gd
new file mode 100644
index 0000000..131dc40
--- /dev/null
+++ b/game/src/StartNode.gd
@@ -0,0 +1,5 @@
+extends Node
+
+func _ready():
+ print("From GDScript")
+ TestSingleton.hello_singleton()
diff --git a/game/src/StartNode.tscn b/game/src/StartNode.tscn
new file mode 100644
index 0000000..f992b6c
--- /dev/null
+++ b/game/src/StartNode.tscn
@@ -0,0 +1,6 @@
+[gd_scene load_steps=2 format=3 uid="uid://b5hk77pbyfd2j"]
+
+[ext_resource type="Script" path="res://src/StartNode.gd" id="1_6ch7h"]
+
+[node name="StartNode" type="Node"]
+script = ExtResource("1_6ch7h")