Hello Game-Devs,
I’m trying to implement a Camera-System into my 2D-Game. So far I’ve implemented two Cameras for UI and the GameWorld. That works fine.
I’m using Box2D and have World-Borders with exact the same Size as the Device Screensize.
When I zoom the GameWorld-Camera in and out all Object get smaller/bigger. That’s fine.
But I don’t want to Resize the World-Borders. They should stay the same size as the Screen.
If I zoom out I still want to be able to use the whole screen.
Is there a way to ignore the World-Borders while zooming with the Camera? CameraMask seems not to be the Solution (Because it’s a pure Box2D Border).
My second Question (with way lower priority) is… how to rotate Camera in a 2D-Game?