mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 07:28:14 +00:00
added missing infinite spoawning cheep cheeps to LL underwater levels
This commit is contained in:
@@ -39,6 +39,6 @@ func spawn_entity() -> void:
|
||||
if y_pos == 0:
|
||||
node.global_position.y = get_tree().get_first_node_in_group("Players").global_position.y + randi_range(-4, 4)
|
||||
else:
|
||||
node.global_position.y = randf_range(-56, -120)
|
||||
node.global_position.x = get_viewport().get_camera_2d().get_screen_center_position().x + ((get_viewport().get_visible_rect().size.x / 2) + 4)
|
||||
node.global_position.y = randf_range(0, -152)
|
||||
node.global_position.x = get_viewport().get_camera_2d().get_screen_center_position().x + ((get_viewport().get_visible_rect().size.x / 2) + 8)
|
||||
add_sibling(node)
|
||||
|
Reference in New Issue
Block a user