pixlcam

Search results:

    Screen Camera

    The ScreenCamera is by far the most simple camera in this library.

    You essentially only need to make sure you call resize to configure the viewport.

    Calling setZoom or setBounds don't really make sense to use.

    Calling moveTo is not required, as it's centered automatically on resize. It's still allowed though in case you want to implement some kind of screen-shaking effect maybe.