aboutsummaryrefslogtreecommitdiffstats
path: root/godot/scenes/objects/GoalZone.tscn
diff options
context:
space:
mode:
authorLibravatar IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com>2022-07-17 03:40:41 +0200
committerLibravatar IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com>2022-07-17 03:40:41 +0200
commitd3f6967fe666595cf0862be57a3dae3bb23afd24 (patch)
tree7e6f90f9a3116431dc761fdd4167b58f4b59ec43 /godot/scenes/objects/GoalZone.tscn
parent690e705de1e8b8babbb7bf86f55a5dbae559488b (diff)
download2022-d3f6967fe666595cf0862be57a3dae3bb23afd24.tar.gz
2022-d3f6967fe666595cf0862be57a3dae3bb23afd24.tar.bz2
2022-d3f6967fe666595cf0862be57a3dae3bb23afd24.zip
asset for the goal trigger
Diffstat (limited to 'godot/scenes/objects/GoalZone.tscn')
-rw-r--r--godot/scenes/objects/GoalZone.tscn13
1 files changed, 13 insertions, 0 deletions
diff --git a/godot/scenes/objects/GoalZone.tscn b/godot/scenes/objects/GoalZone.tscn
new file mode 100644
index 0000000..79b8624
--- /dev/null
+++ b/godot/scenes/objects/GoalZone.tscn
@@ -0,0 +1,13 @@
+[gd_scene load_steps=3 format=2]
+
+[ext_resource path="res://scenes/objects/GoalTriggerBox.gd" type="Script" id=1]
+
+[sub_resource type="BoxShape" id=1]
+
+[node name="GoalZone" type="Area"]
+script = ExtResource( 1 )
+
+[node name="CollisionShape" type="CollisionShape" parent="."]
+shape = SubResource( 1 )
+
+[connection signal="body_entered" from="." to="." method="_on_Area_body_entered"]