From 7e2bb004dc1314b243321c4d4a42c6fced57af68 Mon Sep 17 00:00:00 2001 From: Theo Brockmann <theo.brockmann@stud.hs-bochum.de> Date: Wed, 17 Mar 2021 09:13:35 +0000 Subject: [PATCH] Replace World.gd --- Autobahn_auffahren__uebergabe_V12/World.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/Autobahn_auffahren__uebergabe_V12/World.gd b/Autobahn_auffahren__uebergabe_V12/World.gd index 3ec7a3f..68166e9 100644 --- a/Autobahn_auffahren__uebergabe_V12/World.gd +++ b/Autobahn_auffahren__uebergabe_V12/World.gd @@ -137,6 +137,7 @@ func _process(delta): func set_camera_limits(): + # Sets the boundaries of the field of view var map_limits = $TileMap.get_used_rect() var map_cellsize = $TileMap.cell_size $CarTest/Camera2D.limit_left = map_limits.position.x * map_cellsize.x -- GitLab