How many cameras should I use for an LibGDX game?

I’m setting up a new LibGDX project and trying to use Screen. So I made a few screens (splash screen, menu screen, game screen, etc). Is it better to instantiate one master ortho camera and use that for each screen? Or is it better to have a separate camera for each screen? I have read you could do either one, but is there an advantage to one or the other? This will only be a 2d game. Thanks.

Camera is just a container for some matrices, vectors, etc that represent the camera, there are no resources that need to be disposed so you can do whatever is more convenient without worrying about consequences, it’s basically a POJO with some extra methods.

Ok great, thank you!

I usually use 2 cameras for each screen, one for the game/background display, and one for the UI.

Gotcha, okay this makes a lot more sense to me now.