Reycko / GMConsole

GameMaker console project
GNU General Public License v3.0
0 stars 0 forks source link

idea; use game gui size for console #2

Open raf13lol opened 6 months ago

raf13lol commented 6 months ago

i think image doesn't look as good as image

raf13lol commented 6 months ago

there is overlapping, yes, but it does look better; maybe use game's aspect ratio and work from there? idk

raf13lol commented 6 months ago

Opening the console on non-16:9 games will make the game be in 16:9 until reboot

i dont see that (maybe because i'm testing it wrong but bleh)

Reycko commented 6 months ago

The reason I'm doing that is because I coded gui at midnight and didn't feel like scaling some hardcoded values up Also I'm planning to move update status to be right next to GM's version since the text never really goes past 15 chars to that overlapping issue will be gone w it I thought of adding 2 "resolution scales" (one at 360p/480p and one at 720p which is console's native as of rn)

raf13lol commented 6 months ago

alr

Reycko commented 6 months ago

Thought about it, I might adjust console font size based on the difference between console native and game gui but I'm wondering is that's even possible I know font_get_size exists but I'm not sure if you cant set it, and if you can idk if it's gonna work well with some aspect ratios

raf13lol commented 6 months ago

you can not set font size in game dynamically, as fonts are generated a texture for compilation

raf13lol commented 6 months ago

you could draw the text to a surface and then scale it