summaryrefslogtreecommitdiff
path: root/2026/examples/godot/project/main.gd
diff options
context:
space:
mode:
Diffstat (limited to '2026/examples/godot/project/main.gd')
-rw-r--r--2026/examples/godot/project/main.gd16
1 files changed, 0 insertions, 16 deletions
diff --git a/2026/examples/godot/project/main.gd b/2026/examples/godot/project/main.gd
deleted file mode 100644
index 268afbc..0000000
--- a/2026/examples/godot/project/main.gd
+++ /dev/null
@@ -1,16 +0,0 @@
-extends Node
-
-# Called when the node enters the scene tree for the first time.
-func _ready() -> void:
- JavaScriptBridge.eval("window.parent.postMessage({op: \"ready\"});")
-
-var started = false
-# Called every frame. 'delta' is the elapsed time since the previous frame.
-func _process(delta: float) -> void:
- if !started && JavaScriptBridge.eval("window.lcolonqJamStart || -1.0") > 0.0:
- started = true
- JavaScriptBridge.eval("window.parent.postMessage({op: \"started\"});")
-
-func _input(event) -> void:
- if event is InputEventMouseButton:
- JavaScriptBridge.eval("window.parent.postMessage({op: \"done\", win: true});")