Hello! I'm currently trying to use a 3D library called Menori! Working on trying to make the screen fixed to a certain shape when the user resizes it. When the screen is resized, Menori's graphics are stretched, and I do not want that. Here is an example of what I want, and what I do not want:
https://github.com/rozenmad/Menori
If anyone knows how to make the screen fixed like how I'm describing, it would be much appreciated if you shared.
There's probably some way to do it, who knows, It may be right under my nose, but I'm not sure how to! I've tried editing the library many times, and even went back to an old version of Menori and edited that, but I haven't gotten close to having the screen fixed. Here is a link to the library: Fixed screen in Menori
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Party member
- Posts: 543
- Joined: Wed Oct 05, 2016 11:53 am
Re: Fixed screen in Menori
I'm not familiar with Menori, but I presume you can render its output (and any other things you need) onto a canvas. You can then figure out the biggest rectangle that respects the desired aspect ratio, and then render the canvas to the screen with those dimensions.
Who is online
Users browsing this forum: Google [Bot], Semrush [Bot] and 3 guests