aboutsummaryrefslogtreecommitdiffstats
path: root/godot/scenes/scripts
diff options
context:
space:
mode:
authorLibravatar cel <cel@blos.sm>2022-07-16 22:49:16 +0100
committerLibravatar cel <cel@blos.sm>2022-07-16 22:49:16 +0100
commitc5bacb265a477f1f80be6a9fbdabc072fc074a59 (patch)
tree96274e9b60682415f31b266bc57ccf0d5bc34bfe /godot/scenes/scripts
parent373b0d66678a349d39146262d5b288b39c5cb1e1 (diff)
parentfdbba87b346c6020d7349d0c2cb3793fcdab25f3 (diff)
download2022-c5bacb265a477f1f80be6a9fbdabc072fc074a59.tar.gz
2022-c5bacb265a477f1f80be6a9fbdabc072fc074a59.tar.bz2
2022-c5bacb265a477f1f80be6a9fbdabc072fc074a59.zip
merged menu branch
Diffstat (limited to 'godot/scenes/scripts')
-rw-r--r--godot/scenes/scripts/roblox-cube.gd22
1 files changed, 0 insertions, 22 deletions
diff --git a/godot/scenes/scripts/roblox-cube.gd b/godot/scenes/scripts/roblox-cube.gd
deleted file mode 100644
index 453067b..0000000
--- a/godot/scenes/scripts/roblox-cube.gd
+++ /dev/null
@@ -1,22 +0,0 @@
-extends Spatial
-
-
-# Declare member variables here. Examples:
-# var a = 2
-# var b = "text"
-func on_collision(other):
- var ap = get_parent().get_node("AudioStreamPlayer")
- ap.play()
-
-
-# Called when the node enters the scene tree for the first time.
-func _ready():
- var rb = self
- rb.apply_impulse(Vector3(), Vector3(40, 1, 10))
- rb.connect("body_entered", self, "on_collision")
-
-
-# Called every frame. 'delta' is the elapsed time since the previous frame.
-#func _process(delta):
-# pass
-