Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Game viewport gets cut-off when the window resizes

A topic by Jack Le Hamster created Dec 13, 2022 Views: 188
Viewing posts 1 to 2
(+1)

Hello,

I published a game on itch-io, and set the size to 900x640.

https://jacklehamster.itch.io/world-of-turtle-remaster

When I resize the window, the game viewport changes and the screen gets cutoff. It shrinks to 600 width. The inner game doesn't detect that change because the iframe remains at 900 width.

Is there any way to detect that resize to adjust the game viewport appropriately?

Moderator moved this topic to Questions & Support
This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.