minimap: move camera with mouse, show camera pos on map

This commit is contained in:
Antti Hakkarainen 2023-02-14 23:32:52 +02:00
parent 0f6343b44f
commit 14aa4f0e9a
6 changed files with 68 additions and 23 deletions

View file

@ -29,7 +29,8 @@ func _process(_delta):
str(get_viewport().get_mouse_position()) +"\n" +
"FPS " + str(Engine.get_frames_per_second()) + "\n" +
"Zoom lvl: " + str(Globals.CAMERA_ZOOM_LEVEL) + "\n" +
"Camera pos: " + str(Globals.CAMERA_POSITION)
"Camera pos: " + str(Globals.CAMERA_POSITION) + "\n" +
"Camera pos: " + str(Globals.camera_marker.position)
)
# defines construction toolbar buttons