Fix para los items que no caen

This commit is contained in:
Diego De la Viuda Llorente committed 2026-10-21 13:20:26 +02:00
1 parent e1e29f02f1
commit aeb5b324f1
28 files changed
+194 -54

No files matched your search

+2 -1
View File
@@ -10,7 +10,7 @@ signal level_completed
const TEST_ITEM_COUNT: int = 17
const LEVEL_WIDTH: int = 8500
const FINISH_RESTART_SECONDS: float = 8.0
const LAB_BUILD: String = "LAB DROPS v2"
const LAB_BUILD: String = "LAB DROPS v3"
const CONTROL_ITEM_ID: StringName = &"lab_control"
const PICKUP_SCENE: PackedScene = preload("res://pickups/pickup.tscn")
@@ -110,6 +110,7 @@ func _process_station_deaths() -> void:
# data before adding it, then defer its entry into the scene tree.
var pickup: Pickup = PICKUP_SCENE.instantiate() as Pickup
pickup.pickup_data = data
pickup.collection_delay_seconds = Pickup.DROP_COLLECTION_DELAY_SECONDS
pickup.position = to_local(enemy.global_position + Vector2(34.0, -12.0))
call_deferred("add_child", pickup)
spawned_drops += 1
+1 -1
View File
@@ -434,7 +434,7 @@ theme_override_colors/font_shadow_color = Color(0.02, 0.02, 0.02, 0.95)
theme_override_constants/shadow_offset_x = 2
theme_override_constants/shadow_offset_y = 2
theme_override_font_sizes/font_size = 17
text = "LAB DROPS v2: script SIN iniciar"
text = "LAB DROPS v3: script SIN iniciar"
horizontal_alignment = 2
[node name="FinishMessage" type="Label" parent="TestHUD/Overlay"]