SheepTester / htmlifier

The HTMLifier "converts" Scratch 3.0 projects to an HTML file by putting all the project data and the entire Scratch engine into one enormous file
https://sheeptester.github.io/htmlifier/
MIT License
170 stars 76 forks source link

Set stage size to page size #125

Open SheepTester opened 3 years ago

SheepTester commented 3 years ago

Ref: https://discord.com/channels/775792479844696084/775792479844696087/883984846144278548

[00:53] OrangeLeaf36: htmlifier - stretch resolution [00:54] OrangeLeaf36: this when? [00:55] OrangeLeaf36:

[00:55] OrangeLeaf36:

[00:59] Utter Donkey: It already exists [01:00] OrangeLeaf36: it stretches the stage [01:00] OrangeLeaf36: not the resolution

[09:52] Sean: That's what I assumed stretching would mean [09:53] Sean: Also 480 by 360 is quite tiny (it would show up as this portion of the screen)

[09:54] Sean: and since the stage size can't be changed after loading, the page would have to reload when the user resized the page [10:04] SURVIV CRΞATOR: thats fine [10:05] SURVIV CRΞATOR: is it possible tho [10:05] SURVIV CRΞATOR: for dynamic stage size [10:09] Sean: possibly

Reload the page when the page is resized since the stage size can't be changed after loading

SheepTester commented 3 years ago

Ref: https://discord.com/channels/775792479844696084/775792479844696087/884268297527386163