Camera2D + CanvasLayers?

ZoeyZanidooZoeyZanidoo Posts: 35Member

I added a TileMap to a CanvasLayer, and had a Camera2D both outside of the CanvasLayer and then I tried inside it. The Zoom property is changing, but no actual zooming is happening. If I put the TileMap outside the CanvasLayer the zooming works fine. So ya, how do I zoom all of the CanvasLayers if I have a root node with CanvasLayer children?


  • vinpogovinpogo Posts: 61Member

    as far as i understood it canvas layer is not zoomable.

    If i understand you correctly then i think the solution is to use viewports instead of CanvasLayers

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file