Stretch Screen

Just starting out? Need help? Post your questions and find answers here.
User avatar
J. Baker
Posts: 27
Joined: Tue Dec 23, 2014 11:58 pm
Location: USA
Contact:

Stretch Screen

Post by J. Baker »

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
bembulak
Posts: 71
Joined: Wed Feb 26, 2014 9:53 am

Re: Stretch Screen

Post by bembulak »

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.
plouf
Posts: 194
Joined: Tue Feb 25, 2014 6:01 pm
Location: Athens,Greece

Re: Stretch Screen

Post by plouf »

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 ?)
Christos
User avatar
J. Baker
Posts: 27
Joined: Tue Dec 23, 2014 11:58 pm
Location: USA
Contact:

Re: Stretch Screen

Post by J. Baker »

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.
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
Post Reply