azurite-engine / Azurite

Azurite Game Engine is a 2D Java game engine built on top of LWJGL.
https://azurite-engine.github.io
MIT License
42 stars 20 forks source link

Fixed issue with aspect ratio. Now modes like 'FREE(ANY ASPECT THE WI… #81

Closed goldspark closed 2 years ago

goldspark commented 2 years ago

…NDOW SIZE IS)' AND 'ASPECT_RATIO(MANTAIN ASPECT RATIO)' will work correctly on resize.

goldspark commented 2 years ago

No more weird stretching and lots of unecessary camera modes.

athaun commented 2 years ago

I am observing quite a few issues caused by this, though I do think they can be resolved.

image image

That text should be following the cursor and the text scaling is considerably smaller than it used to be causing it to look pixelated.

https://user-images.githubusercontent.com/32278830/169193891-b8dea664-e6f9-4890-9aca-547c10b85ed1.mp4

goldspark commented 2 years ago

Seems to be an issue in Mouse class itself. Its not converting mouse position to world coordinates. I will try to make that.

On Thu, May 19, 2022 at 4:52 AM Asher @.***> wrote:

I am observing quite a few issues caused by this, though I do think they can be resolved. [image: image] https://user-images.githubusercontent.com/32278830/169193411-3225bcec-9e18-49eb-a0f1-a8efdde3f3eb.png [image: image] https://user-images.githubusercontent.com/32278830/169193717-a7808e0c-eb25-48fe-b1e4-c982cd93b28e.png

That text should be following the cursor and the text scaling is considerably smaller than it used to be causing it to look pixelated.

https://user-images.githubusercontent.com/32278830/169193891-b8dea664-e6f9-4890-9aca-547c10b85ed1.mp4

— Reply to this email directly, view it on GitHub https://github.com/azurite-engine/Azurite/pull/81#issuecomment-1131067457, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD42T2INR2HCPL5UAJZUMXDVKWUFLANCNFSM5WJ2WQLQ . You are receiving this because you authored the thread.Message ID: @.***>

goldspark commented 2 years ago

Just made a fix.

athaun commented 2 years ago

All of the other issues are still present... Have you tested this yourself on each demo scene?

goldspark commented 2 years ago

Added temporary fix for lightmap renderer. Creator should add proper resize for this one

goldspark commented 1 year ago

Awesome, thanks!

On Mon, 11 Jul 2022, 01:32 Asher, @.***> wrote:

Merged #81 https://github.com/azurite-engine/Azurite/pull/81 into main.

— Reply to this email directly, view it on GitHub https://github.com/azurite-engine/Azurite/pull/81#event-6965628985, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD42T2NYZAJX3RBZMMPPFUDVTNMQNANCNFSM5WJ2WQLQ . You are receiving this because you authored the thread.Message ID: @.***>