diff options
Diffstat (limited to 'air_shot.tscn')
-rw-r--r-- | air_shot.tscn | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/air_shot.tscn b/air_shot.tscn new file mode 100644 index 0000000..0777453 --- /dev/null +++ b/air_shot.tscn @@ -0,0 +1,28 @@ +[gd_scene load_steps=5 format=3 uid="uid://c3nbnc688ygrc"] + +[ext_resource type="Texture2D" uid="uid://d0u6jw880abmk" path="res://Assets/Kirby/air-shot.png" id="1_s42hn"] +[ext_resource type="Script" path="res://air_shot.gd" id="1_wqsc5"] +[ext_resource type="AudioStream" uid="uid://fc5lm052l0ci" path="res://Assets/Sounds/air-shot.wav" id="3_7so2k"] + +[sub_resource type="CircleShape2D" id="CircleShape2D_vtlrr"] +radius = 8.0 + +[node name="AirShot" type="Area2D"] +position = Vector2(40, 0) +collision_layer = 8 +collision_mask = 518 +script = ExtResource("1_wqsc5") +metadata/_edit_group_ = true + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +shape = SubResource("CircleShape2D_vtlrr") + +[node name="Sprite2D" type="Sprite2D" parent="."] +texture_filter = 1 +texture = ExtResource("1_s42hn") + +[node name="Sound" type="AudioStreamPlayer" parent="."] +stream = ExtResource("3_7so2k") + +[connection signal="area_entered" from="." to="." method="_on_area_entered"] +[connection signal="body_entered" from="." to="." method="_on_body_entered"] |