I am working on a web port of friking shark right now.
Game works so far, but I have issues with rendering the game in windowed view (I prefer to not have FullScreen enabled by default):
The MainMenu entries are overlapping the viewport, that means they are not scaled. When I click on Options for example the positioning is correct.
Same overlapping for New Game dialog.
Funny thing is: when I switch to FullScreen with STRG+ALT+ENTER from MainMenu positioning of the viewport is wrong, too. But when I enter Options afterwards, the text of Options dialog is presented in full height -> correctly.
I have not tested whether this is coming from Emscripten, but I doubt it. I've ported some game already and not had this kinda issue yet.
Hi @ptitSeb
I am working on a web port of friking shark right now.
Game works so far, but I have issues with rendering the game in windowed view (I prefer to not have FullScreen enabled by default):
The
MainMenu
entries are overlapping the viewport, that means they are not scaled. When I click onOptions
for example the positioning is correct.Same overlapping for
New Game
dialog.Funny thing is: when I switch to FullScreen with
STRG+ALT+ENTER
fromMainMenu
positioning of the viewport is wrong, too. But when I enterOptions
afterwards, the text of Options dialog is presented in full height -> correctly.I have not tested whether this is coming from Emscripten, but I doubt it. I've ported some game already and not had this kinda issue yet.
I have set
and are now continueing to figure out whats going wrong...
Have a nice weekend midzer