HotsauceFiretruck / A-Western-Story

Please play our game, pretty please. >>>
https://a-western-story.js.org
MIT License
5 stars 8 forks source link

Enter Username does not work in FullScreen Mode #255

Closed tranqnhan closed 3 years ago

tranqnhan commented 4 years ago

It does not appear in fullscreen mode Menu->FullScreen->Arena

Lui798 commented 4 years ago

Did some quick research, and im not 100% sure if this can be fixed as the browser disables keyboard input in fullscreen. Might be able to hack around it, ill have to see

Lui798 commented 4 years ago

Wait I see the issue now the whole text box doesn't appear. We do fullscreen in phaser so this is an issue with phaser not displaying html elements while fullscreen. This most likely cannot be fixed unless we don't use phaser's fullscreen.

mtliendo commented 4 years ago

I haven't ran the code locally, so I apologize in advance if this is off base, but by looking at the source code, would it by chance be that you have styles conflicting?

By default the input box is set to display:none

edit: Another place to look into would be here as well

tranqnhan commented 3 years ago

I fixed it by implementing rex text input plugin rather than making the text input as html.