summaryrefslogtreecommitdiff
path: root/arrow.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'arrow.tscn')
-rw-r--r--arrow.tscn23
1 files changed, 23 insertions, 0 deletions
diff --git a/arrow.tscn b/arrow.tscn
new file mode 100644
index 0000000..16b4cd9
--- /dev/null
+++ b/arrow.tscn
@@ -0,0 +1,23 @@
+[gd_scene load_steps=6 format=3 uid="uid://dwmf4eu5xn0bc"]
+
+[ext_resource type="Texture2D" uid="uid://dmksn3gk0ixjr" path="res://arrow.png" id="1_cagmk"]
+[ext_resource type="Script" path="res://arrow.gd" id="1_cg6vj"]
+[ext_resource type="Shader" path="res://arrow.gdshader" id="1_p0a20"]
+
+[sub_resource type="ShaderMaterial" id="ShaderMaterial_tt0m2"]
+shader = ExtResource("1_p0a20")
+
+[sub_resource type="RectangleShape2D" id="RectangleShape2D_j0cyp"]
+size = Vector2(732, 20)
+
+[node name="Arrow" type="Area2D"]
+scale = Vector2(0.2, 0.2)
+script = ExtResource("1_cg6vj")
+
+[node name="Arrow" type="Sprite2D" parent="."]
+material = SubResource("ShaderMaterial_tt0m2")
+texture = ExtResource("1_cagmk")
+
+[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
+position = Vector2(27, 0)
+shape = SubResource("RectangleShape2D_j0cyp")