fix regressions when restructuring nodes

This commit is contained in:
Antti Hakkarainen 2023-02-17 13:58:10 +02:00
parent f35d27b518
commit a4136c937f
7 changed files with 161 additions and 88 deletions

View file

@ -24,10 +24,11 @@ func _on_camera_zoom_2d_camera_zoom_changed(new_zoom_factor):
# Sets the initial size of the camera box, after game is loaded
func _on_main_worldgen_ready() -> void:
func set_camera_marker() -> void:
print("setting marker rdy")
size_multiplier = Globals.map_size / 32
w_s = DisplayServer.window_get_size(0) / size_multiplier
func set_camera_marker_position(pos:Vector2) -> void:
self.position = pos
print("marker pos: ", pos)