Stretch Screen
Stretch Screen
I see there's no option to stretch the screen like in PB. Any alternatives for HTML5 or mobile?
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.
Kind regards,
bembulak
bembulak
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.