Stupid Res Check

Stupid Res Check

Subscribers:
6
Published on ● Video Link: https://www.youtube.com/watch?v=HRz5jwOm_z4



Duration: 0:52
13 views
0


Okay, so, I never intend for this game to be played like this. However, I do try to think of workarounds because I think it helps my programming flexibility, trying to solve all these issues that I never thought of.

The issue here is that when the game is run in HD portrait mode, one the zoom was really tight, and two, the parts of the portal UI would draw off the screen. So, some functionality was lost.

Now there's a conditional check, a really flimsy one, that checks for the resolution being this. It's flimsy because it isn't a mode that's defined, it just checks for the display width and height, divides them, and if they're less than one it does this.

I tried with a bunch of resolutions, and there aren't any other cases except for portrait where that value would be so low, but still, it could happen.




Other Videos By Ji'aska Coding


2020-09-04GM2: Ideal Base
2020-06-20Key Remap WIP
2020-06-19I Rework My Resolution Code For The Thousandth Time
2020-06-06Menu Rework
2020-04-26Skyrim: Death Hound Family Pet
2020-04-24Skyrim: A Sin
2020-03-21New Art 2
2020-03-12New Art 1
2020-03-10Weird Screen Tearing
2020-03-06Random Update
2020-03-05Stupid Res Check
2020-03-04Player UI
2020-02-28Return Res
2020-02-27Glitchy Co op Camera
2020-02-26Enemy WIP 3: Projectiles and Switches
2020-02-19Enemy WIP 2
2020-02-18Enemy WIP
2020-02-06Day Cycle Update
2020-02-06Day and Cycle
2020-01-26Everything So Far
2019-12-24Main Menu WIP