Zoom camera can't work in Defold (SOLVED)

#1

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.

0 Likes

#2

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

0 Likes

#3

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

0 Likes

#4

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.

4 Likes

#6

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

1 Like