mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-01-24 02:55:45 +00:00
* Move game screen to a separate [stream] module * Add a simple canvas video mirror for post-processing * Add video mirroring to the options
11 lines
242 B
JavaScript
Vendored
11 lines
242 B
JavaScript
Vendored
settings.init();
|
|
log.setLevel(settings.loadOr(opts.LOG_LEVEL, 'debug'));
|
|
|
|
keyboard.init();
|
|
joystick.init();
|
|
touch.init();
|
|
stream.init();
|
|
|
|
[roomId, zone] = room.loadMaybe();
|
|
// if from URL -> start game immediately!
|
|
socket.init(roomId, zone);
|