summaryrefslogtreecommitdiff
path: root/arrow.tscn
blob: 7701ee9ff0078626f1f95cbd6850e91958b3b74c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[gd_scene load_steps=7 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"]
[ext_resource type="AudioStream" uid="uid://bi6rnsdwfyax5" path="res://bowshot.wav" id="4_kpay4"]

[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="Sprite2D" 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")

[node name="ShotSound" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("4_kpay4")
volume_db = 5.0