What you’d do is create a StaticBody2D for the outer map boundary, and under that create four rectangle CollisionShape2Ds for the walls.
Yeah but is there a way to do it without four rectangles and by using one?
rustyStriker | 2016-09-03 18:09
You could also use a CollisionPolygon2D with its Build Mode set to Segments, then draw an outline around your map. This wouldn’t be a rectangle with a hole cut out. This would be an outline of your map.