diff options
Diffstat (limited to 'fireball.tscn')
-rw-r--r-- | fireball.tscn | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/fireball.tscn b/fireball.tscn new file mode 100644 index 0000000..4f19a32 --- /dev/null +++ b/fireball.tscn @@ -0,0 +1,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 |