Added hats
This commit is contained in:
1 parent
ca04b528bc
commit
30b2ec013e
6 files changed
+53
-31
No files matched your search
@@ -0,0 +1,21 @@
|
||||
[gd_scene format=3 uid="uid://bnuiagw3bblfh"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://47y55iry2pd6" path="res://hat_pickup.gd" id="1_fs7cl"]
|
||||
[ext_resource type="Texture2D" uid="uid://ba4kjeulthw1g" path="res://art/hats/dunce1.png" id="2_fs7cl"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_y0cpo"]
|
||||
|
||||
[node name="HatPickup" type="Node2D" unique_id=1739014101]
|
||||
script = ExtResource("1_fs7cl")
|
||||
|
||||
[node name="HatSprite" type="Sprite2D" parent="." unique_id=813041394]
|
||||
position = Vector2(0, -8)
|
||||
texture = ExtResource("2_fs7cl")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="." unique_id=726438646]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=278855113]
|
||||
position = Vector2(0, -7)
|
||||
shape = SubResource("CircleShape2D_y0cpo")
|
||||
|
||||
[connection signal="body_entered" from="Area2D" to="." method="on_contact"]
|
||||
Reference in new issue
Block a user