How to zoom in-game camera?

I would like to zoom the camera in the game without using code. I don’t want it zoomed out like this:

Thanks in advance.

If you are using a normal camera component and the default render script you need to modify your render script. You can continue with an orthogonal projection and change the view or you can change to a perspective projection and move the camera closer.

Another option would be to change the scale of some root game object that you have the tilemap and other things attached to.

A third option would be to change camera implementation and use an extension such as defold-orthographic or RenderCam.

Hi @britzl (It’s an ancient post I know),
what is the straightforward approach between all these methods ?

This I suppose. I always do it this way.

1 Like