YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
20 stars 8 forks source link

In-Game: [HTML5] Project does not scale correctly on HTML5 #292

Open iampremo opened 1 year ago

iampremo commented 1 year ago

GM-1282

Issue initially reported on Mantis.

 

In HTLM5, when coding the game to scale accordingly to the resizing of the browser window (by following the tutorial at [https://www.yoyogames.com/blog/66/the-basics-of-scaling-the-game-view] ), the game window does not scale correctly.

 

Steps:

Load and import attached project

Run in HTML5 export

Resize and observe incorrect scaling

tinkerer-red commented 10 months ago

At the end of the article it mentions the following:

Note though that the HTML5 target will require a bit of extra work as it presents a unique set of problems when trying to scale your game, so In our next article...

Though I believe the real issue is there is a divergence between the two platforms and how scaling works.