Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | neoxid501 |
As a more specific case, I’m trying to make a game for HTML5 and I just want it to scale to the iFrame that itch io puts it in.
When I use OS.window_size it gives me the dimensions of my screen. Now understandably I can just scale the game manually to the set size of the iFrame but I would prefer to have it done dynamically. Thanks!