summaryrefslogtreecommitdiff
path: root/air_shot.tscn
blob: 07774532d6aefdbd57f81e15487d7e5a7caf9737 (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=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"]