summaryrefslogtreecommitdiff
path: root/fireball.tscn
blob: 4f19a32f1204f32e4b90579e2958919406609449 (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
[gd_scene load_steps=7 format=3 uid="uid://b1i7oqv2tpjd"]

[ext_resource type="Script" path="res://fireball.gd" id="1_in5g7"]
[ext_resource type="Shader" path="res://arrow.gdshader" id="2_3ixoq"]
[ext_resource type="Texture2D" uid="uid://1n5ju36f5ly" path="res://fireball.png" id="3_4a7i4"]
[ext_resource type="AudioStream" uid="uid://bi6rnsdwfyax5" path="res://bowshot.wav" id="4_dw0ft"]

[sub_resource type="ShaderMaterial" id="ShaderMaterial_tt0m2"]
shader = ExtResource("2_3ixoq")

[sub_resource type="CircleShape2D" id="CircleShape2D_2nx33"]
radius = 125.1

[node name="Fireball" type="Area2D"]
scale = Vector2(0.2, 0.2)
script = ExtResource("1_in5g7")

[node name="Sprite2D" type="Sprite2D" parent="."]
material = SubResource("ShaderMaterial_tt0m2")
texture = ExtResource("3_4a7i4")

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_2nx33")

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