summaryrefslogtreecommitdiff
path: root/arrow.tscn
blob: 16b4cd98db1115b5285936f9c631b4d847c2e191 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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")