You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Near full-width scaling while in portrait orientation or full-height scaling when in landscape orientation, optionally with a tiny bit of margin left over, regardless of whether the file is used bare or as an embed for itch.io.
Actual behavior
I know the issue affects Android Chrome and Chrome's desktop mobile emulation mode. I don't have access to a recent iOS device to verify the issue on those. The game still appears to be executing rather than frozen, even if parts are cut off.
If it's troublesome to come up with a single style that works for both itch.io embed and a bare file, then a practical solution could be to make a tailored itch.io export option in the web IDE.
Itch.io uploads
Portrait Orientation
The screen's and keypad's sides are cut off when the screen is narrower than 516px. I am unsure whether this corresponds to actual pixels the units in the inspector.
Before tapping/clicking to enable the keypad:
After tapping/clicking to enable the keypad:
Landscape orientation
This seems to trigger when the screen is shorter than 480px. I am unsure whether this corresponds to actual pixels the units in the inspector.
Before tapping/clicking to enable the keypad:
After tapping/clicking to enable the keypad:
From local files
Portrait Orientation
Before tapping/clicking to enable the touchpad:
After tapping/clicking to enable the touchpad:
Landscape Orientation
This works completely fine.
The text was updated successfully, but these errors were encountered:
pushfoo
changed the title
HTML export with Chip-8 keypad sizes incorrectly on some mobile screen sizes & orientations
Add support for viewport scaling to exported HTML
Nov 3, 2023
Expected behavior
Near full-width scaling while in portrait orientation or full-height scaling when in landscape orientation, optionally with a tiny bit of margin left over, regardless of whether the file is used bare or as an embed for itch.io.
Actual behavior
I know the issue affects Android Chrome and Chrome's desktop mobile emulation mode. I don't have access to a recent iOS device to verify the issue on those. The game still appears to be executing rather than frozen, even if parts are cut off.
If it's troublesome to come up with a single style that works for both itch.io embed and a bare file, then a practical solution could be to make a tailored itch.io export option in the web IDE.
Itch.io uploads
Portrait Orientation
The screen's and keypad's sides are cut off when the screen is narrower than 516px. I am unsure whether this corresponds to actual pixels the units in the inspector.
Before tapping/clicking to enable the keypad:
After tapping/clicking to enable the keypad:
Landscape orientation
This seems to trigger when the screen is shorter than 480px. I am unsure whether this corresponds to actual pixels the units in the inspector.
Before tapping/clicking to enable the keypad:
After tapping/clicking to enable the keypad:
From local files
Portrait Orientation
Before tapping/clicking to enable the touchpad:
After tapping/clicking to enable the touchpad:
Landscape Orientation
This works completely fine.
The text was updated successfully, but these errors were encountered: