Page 1 of 1
How get Cam sizes (Hump.camera)
Posted: Thu May 05, 2022 12:47 am
by pankiwi
I am making a game and I used another camera but due to problems with the viewport I changed it to hump.camera, the game needs Max X Max Y Min X Min Y to work correctly in creating scenarios and ui, I don't know how to calculate those values with hump. camera
Re: How get Cam sizes (Hump.camera)
Posted: Thu May 05, 2022 1:59 am
by pgimeno
Re: How get Cam sizes (Hump.camera)
Posted: Thu May 05, 2022 7:46 am
by togFox
Can totes vouch for cam11.
You can save a lot of time by switching now.
(Thanks pgimeno - it is now in my 'must have' tool kit.
Re: How get Cam sizes (Hump.camera)
Posted: Thu May 05, 2022 1:49 pm
by pankiwi
change cam, is not good solution
Re: How get Cam sizes (Hump.camera)
Posted: Thu May 05, 2022 2:43 pm
by pgimeno
If you want a viewport, you need a library that supports a viewport. Hump doesn't.
Re: How get Cam sizes (Hump.camera)
Posted: Thu May 05, 2022 2:53 pm
by pankiwi
what camera use ,soo many libs
Re: How get Cam sizes (Hump.camera)
Posted: Thu May 05, 2022 8:55 pm
by dusoft
pankiwi wrote: ↑Thu May 05, 2022 2:53 pm
what camera use ,soo many libs
https://github.com/love2d-community/awe ... e2d#camera
Re: How get Cam sizes (Hump.camera)
Posted: Thu May 05, 2022 9:32 pm
by togFox