Hi I am using camera offset for scaling the game.
this.camera.setViewport(offset.x, offset.y, gameSize.x, gameSize.y);
The offset works great, the game scaled and positioned great just like I wanted.
But when offsetting the camera, the game inputs / bound / hitboxes are all off and at the wrong positions.
Is there something I am missing?
Or is this a bug?
The inputs does not offset with the viewport?
How do I fix it so that offsetting the camera viewport will also offset the game bound/inputs as well?