Cynicollision / Stackmo

2D puzzle game for the browser
1 stars 0 forks source link

Flipping your phone resets the game (Android wrapper) #16

Open Cynicollision opened 6 years ago

Cynicollision commented 6 years ago

All the way back to the title screen

Cynicollision commented 6 years ago

Maybe something like https://stackoverflow.com/questions/12131025/android-preventing-webview-reload-on-rotate (would also require handling the canvas size changing in both the engine and game code...)

Cynicollision commented 6 years ago

Easiest to just lock into portrait mode for now, then explore implementing a canvas-size engine event.