Stretch Screen
Stretch Screen
I see there's no option to stretch the screen like in PB. Any alternatives for HTML5 or mobile?
www.posemotion.com
Mac: OS X 10.13.6 / 1.4GHz Intel Core 2 Duo / 2GB 1067MHz DDR3 / Nvidia 320M
PC: Win XP & Win 7 / AMD Athlon 64 4000+ / 3GB 333MHz DDR / Nvidia 720GT
Mac: OS X 10.13.6 / 1.4GHz Intel Core 2 Duo / 2GB 1067MHz DDR3 / Nvidia 320M
PC: Win XP & Win 7 / AMD Athlon 64 4000+ / 3GB 333MHz DDR / Nvidia 720GT
Re: Stretch Screen
Rumors have it that it might be helpful to use the "Dialog" library, which seems to support auto-scaling (sort of).
But I do have the totally same problem: there's no easy way (for me at least) to scale up a GUI for different screens.
Most, nah, ALL of the stuff I write must be available (=working fine) on mobile. That's quite a task at the moment.
But I do have the totally same problem: there's no easy way (for me at least) to scale up a GUI for different screens.
Most, nah, ALL of the stuff I write must be available (=working fine) on mobile. That's quite a task at the moment.
Re: Stretch Screen
DesktopWidth(0) + DesktopHeight(0) can give you at any time visible size, including when orientation is changed
also you can bindevent with #PB_Event_SizeDesktop , to be aware when size changes to rsize anything you want
"auto" resize is not exist (yet ?)
also you can bindevent with #PB_Event_SizeDesktop , to be aware when size changes to rsize anything you want
"auto" resize is not exist (yet ?)
Christos
Re: Stretch Screen
Thanks for the replies!
The resize is a nice feature for retro/pixels games where you can just stretch the screen. With mobile devices having so many different resolutions, it would be a nice feature for any game.
The resize is a nice feature for retro/pixels games where you can just stretch the screen. With mobile devices having so many different resolutions, it would be a nice feature for any game.
www.posemotion.com
Mac: OS X 10.13.6 / 1.4GHz Intel Core 2 Duo / 2GB 1067MHz DDR3 / Nvidia 320M
PC: Win XP & Win 7 / AMD Athlon 64 4000+ / 3GB 333MHz DDR / Nvidia 720GT
Mac: OS X 10.13.6 / 1.4GHz Intel Core 2 Duo / 2GB 1067MHz DDR3 / Nvidia 320M
PC: Win XP & Win 7 / AMD Athlon 64 4000+ / 3GB 333MHz DDR / Nvidia 720GT