Page 1 of 1
Is the Scale factor taken into account when saving HTML5 Standalone?
Posted: Mon Oct 19, 2020 4:18 pm
by CuriousOne
When saving as a standalone HTML5 application, the scale factor of my main stack doesn’t get taken into account.
For example my main stack is 1920 x 1080 but I would like to export it with a scale of .5 ( 960 x 540).
Am I missing a step somewhere?
Thank you
Re: Is the Scale factor taken into account when saving HTML5 Standalone?
Posted: Wed Oct 21, 2020 9:43 am
by elanorb
Hi
It looks like the scaleFactor is not a persistent property of the stack so if you want the scaleFactor to apply to a standalone, including HTML5, you will need to set it in code in preOpenStack e.g.
Code: Select all
on preOpenStack
set the scaleFactor of me to "0.75"
end preOpenStack
I'll report a documentation bug for the scaleFactor Dictionary entry to get it updated with this information.
I hope that helps.
Kind regards
Elanor
Re: Is the Scale factor taken into account when saving HTML5 Standalone?
Posted: Thu Oct 22, 2020 10:02 pm
by CuriousOne
Hi Elanor,
That work perfectly.
Thank you!