Pickup flute
This commit is contained in:
parent
204848fcf1
commit
142500fdd8
9 changed files with 181 additions and 39 deletions
21
scenes/pickups/flute_pickup.tscn
Normal file
21
scenes/pickups/flute_pickup.tscn
Normal file
|
@ -0,0 +1,21 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://bdpm5s1tpslhc"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bncbi6cd1m5y7" path="res://ressources/images/flute.svg" id="1_7m80x"]
|
||||
[ext_resource type="Script" path="res://scripts/Instrument/flute_pickup.gd" id="1_42t6n"]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_rt2x3"]
|
||||
radius = 50.0
|
||||
height = 613.39
|
||||
|
||||
[node name="FlutePickup" type="Area2D"]
|
||||
collision_layer = 0
|
||||
script = ExtResource("1_42t6n")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("1_7m80x")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
rotation = -0.785398
|
||||
shape = SubResource("CapsuleShape2D_rt2x3")
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
Loading…
Add table
Add a link
Reference in a new issue