Advanced game related topics
User avatar
J. Baker
 
Posts: 17
Joined: Tue Dec 23, 2014 11:58 pm
Location: USA

Center screen and full screen for Web?

by J. Baker Tue May 28, 2019 7:31 pm

I'm sure one would have to use javascript to center a screen or add a full screen option. Any tips for the best practice or method on doing this? Would be nice if the screen was already centered when exported from SpiderBasic.

Thanks!
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
User avatar
Paul
 
Posts: 50
Joined: Wed Feb 26, 2014 6:46 pm
Location: Canada

Re: Center screen and full screen for Web?

by Paul Tue May 28, 2019 8:28 pm

OpenWindow with #PB_Window_Background flag ?
User avatar
J. Baker
 
Posts: 17
Joined: Tue Dec 23, 2014 11:58 pm
Location: USA

Re: Center screen and full screen for Web?

by J. Baker Tue May 28, 2019 8:49 pm

I'll try that out in a bit. ;)
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
Return to Game Programming

Who is online

Users browsing this forum: No registered users and 2 guests