How do I change the initial starting camera posistion.
Like for example when I load the game I see that region coloured orange but I want the camera to point and see the blue region
How do I change the initial starting camera posistion.
good luck finding it here till you get a response
I also have this problem but I found creating a camera in a game object and setting camera focus to that camera useful.
Thanks so much
What camera library are you using? Raw cameras in defold can be very tricky to deal with it. Theres plenty and very featurefull extensions for it tho:
But in general, every camera must be attached to a game object, the simpler solution would be to set its position on initialize.
Also, its not that you dont get responses here, its just that it takes a little while, its a smol community afterall, but we have a history of helping eachother - thats how we end up with 100+ extensions! We are more active at the discord server tho: Join the Defold Discord server
Many thanks I shall give this a go
Using a camera is the way to go. Starting in Defold 1.9.6 (in beta right now) you nog longer have to explicitly enable the camera to have it fully functional. As soon as you add a camera it activates and will render the area covered by it.
in defold 1.9.5 it works as you want. default camera shows orange colored area by default.
my solution was to edit builtin render script, instead of adding a new camera.