I saw this in the forums but I didn’t see a resolution to it so here goes again…
My game looks great in Safari, but screens are cut off in Chrome, which is what my students will use to view. I found the instructions @grazer posted before for finding the debug info under RESIZE in the console.
My browser zoom is set to 80% and here is a
pic of what shows up in the console. Any insights as to why my game looks great in Safari but is cut off in Chrome? Thank you!
I’ve seen the game screen cutoff from the device size, but I’ve never seen the borders of the game actually not be around the game. It looks almost as if the camera’s zoom is on 50%; and because of that, changing browser zoom wouldn’t fix it (I think anyway, does is still look like this with browser set to 100?).
This could be an issue to MacBook Pro specifically. I message Grazer directly on the topic, though a response may be in the morning. You can also contact grazer by emailing grazer@flowlab.io, that way it would be a lot faster for a response than a forum post.
What devices will your students use? I’m positive that this will work on Chromebooks, as hihilogic as displayed above. As well, it works on all browsers on my Windows PC.
Hello Mrs Brune. I think @JR01 may be correct - is it possible that the instance of Chrome that is displaying the game strangely has its zoom set to something other than 100%? Other zoom settings can make the game’s layout look strange.
Thank you all! I’ll see if I can figure out what the camera is set to…it’s been a bunch of months since I worked on this in that unit last year…need to freshen up my skills so I can add level 4!
You should set it to 100%
The reason for this isn’t in the actual coding program, it’s in the HTML. The HTML border is reducing its size, but the game itself isn’t, meaning the game can’t fit in the border.
Kinda @hihilogic, the zoom sets how the big the game is viewed, so its usually easier to shrink the browser view if the game is bigger than the screen (such as a phone). As I said, this is the first time I’ve seen the border be inside the game.
To the point of grazer and hihilogic, do you mind showing a screenshot of the game if you did set the browser view to 100%? Seeing if it make any changes would help us see what’s going on.