Zoom camera can't work in Defold (SOLVED)

Hello everyone,
I’m testing a zoom camera with Orthographic API, but it can’t work. Below is my code implementation. Who can help me with this issue? Thanks all!
Note: In game.project, I used /orthographic/render/orthographic.render for bootstrap render.

is your render in game.project set to orthographic.render?

yup, I’m using orthographic.render
![Annotation%202019-10-13%20200049|690x298]

Just check another thing. Go to your camera.go in your collection and check if the projection is DEFAULT. If it is,. Then you need to change it to FIXED_ZOOM or FIXED_AUTO.

5 Likes

Hello, it worked successfully! Thank you for your help!

1 Like