Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Splash image issue

Author
Message
gsdblack
12
Years of Service
User Offline
Joined: 6th Dec 2011
Location:
Posted: 30th Dec 2012 10:30
When I add a splash image to my project it shrinks the images in my game. I'm thinking that the splash image is resizing my window but I'm not sure. Anyone else encounter this problem? Here's a pic with out the splash.

Attachments

Login to view attachments
gsdblack
12
Years of Service
User Offline
Joined: 6th Dec 2011
Location:
Posted: 30th Dec 2012 10:30
with splash

Attachments

Login to view attachments
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 30th Dec 2012 16:11
When you use a splash screen AppGameKit adjusts the virtual resolution to fit the splash screen image. You should use SetVirtualResolution at the beginning of your code to set it back to whatever you want. The default for percentage coordinates is

SetVirtualResolution( 100, 100 )
SetDisplayAspect( 2.0/3.0 )
gsdblack
12
Years of Service
User Offline
Joined: 6th Dec 2011
Location:
Posted: 30th Dec 2012 18:48
Thanks it worked.

Login to post a reply

Server time is: 2024-11-24 06:27:39
Your offset time is: 2024-11-24 06:27:39