Page 1 of 1
Drag Game Window Out of Current Browser Window
Posted: Fri Apr 24, 2020 12:21 pm
by Sidewinder
Other HTML5 sites allow the game window, once opened, to be dragged out of the shared window with the lobby.
This makes multi-tabling easier.
If this is configurable on my own I missed it.
thanks!
Re: Drag Game Window Out of Current Browser Window
Posted: Fri Apr 24, 2020 12:51 pm
by Kent Briggs
If you have a dual or tri monitor setup, you can drag your browser window across the width of those monitors and then you'll have all that room for activities. Putting tables in separate browser windows would break my common code base that works on desktops and mobile devices. Plus it would require separate websocket connections back to the server, thus increasing the thread load on the server and reducing its capacity.
Re: Drag Game Window Out of Current Browser Window
Posted: Fri Apr 24, 2020 4:38 pm
by Sidewinder
Understood, thanks for the response
Re: Drag Game Window Out of Current Browser Window
Posted: Fri Apr 24, 2020 6:04 pm
by cchervit
Kent Briggs wrote:Plus it would require separate websocket connections back to the server, thus increasing the thread load on the server and reducing its capacity.
It's been a while since I've done HTML5 stuff, but I believe you *could* use a WebWorker in the background for the WebSocket connection and have the same WebSocket connection service multiple browser windows. I just checked caniuse.com and it looks like all the browsers support WebWorkers today.