flame
flame copied to clipboard
`ScreenHitbox` should be reworked to work with the `CameraComponent`
What could be improved
Currently the ScreenHitbox is using the size from the old camera, we should be using the size of the viewport in the CameraComponent instead.
Why should this be improved
Since we are deprecating the old camera.
Any risks?
No, but it will be a breaking change.
More information
https://github.com/flame-engine/flame/pull/2538#discussion_r1199839184