Añadidos drops, ahora cae cerveza o cafe

This commit is contained in:
Diego De la Viuda Llorente committed 2026-10-20 16:23:34 +02:00
1 parent bbecc76dbe
commit 8bbf70e8cb
11 files changed
+282 -1

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
[gd_scene load_steps=4 format=3]
[ext_resource type="Script" path="res://pickups/pickup.gd" id="1_pickup"]
[ext_resource type="FontFile" path="res://assets/fonts/PixelOperator8.ttf" id="2_font"]
[sub_resource type="RectangleShape2D" id="PickupShape"]
size = Vector2(16, 16)
[node name="Pickup" type="Area2D"]
collision_layer = 0
collision_mask = 2
script = ExtResource("1_pickup")
[node name="Sprite2D" type="Sprite2D" parent="."]
modulate = Color(1, 0.4, 0.8, 1)
scale = Vector2(0.5, 0.5)
[node name="ColorRect" type="ColorRect" parent="Sprite2D"]
offset_left = -16.0
offset_top = -16.0
offset_right = 16.0
offset_bottom = 16.0
color = Color(1, 0.4, 0.8, 1)
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("PickupShape")
[node name="Label" type="Label" parent="."]
offset_left = -32.0
offset_top = -28.0
offset_right = 32.0
offset_bottom = -12.0
theme_override_fonts/font = ExtResource("2_font")
theme_override_font_sizes/font_size = 8
text = "Item"
horizontal_alignment = 1
vertical_alignment = 1