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 / sizeing backdrops for agk

Author
Message
cryptojoe
12
Years of Service
User Offline
Joined: 27th Sep 2012
Location: Michigan U.S.A
Posted: 4th Jan 2013 17:07
what size should a backdrop images be for agk? or how dose one figure out what size the image should be for a given project format?

I'v ben resizeing an image over and over in photoshop and its either to small or its ridiculous big
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 4th Jan 2013 17:12
What platform are you targeting?

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
cryptojoe
12
Years of Service
User Offline
Joined: 27th Sep 2012
Location: Michigan U.S.A
Posted: 4th Jan 2013 17:25 Edited at: 4th Jan 2013 17:44
I'm just makeing a demo or maybe a mini game on my laptop... to learn from and for fun...

its a Landscape Application,

rem Landscape App
SetDisplayAspect( 4.0/3.0 )
SetVirtualResolution (640 , 480 )

*EDIT
the close as I've come to getting the image right is 1057 X 719,
but that still leaves black margins top right side and bottom...

I don't mind haveing a margin at the top " i can use that to display game info... but I want the image to fit left to right and the bottom of the image to sit at the bottom of the screen ...
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 4th Jan 2013 17:54
NEVER use both set display aspect and set virtual resolution. One or the other is required. Using both will cause very odd banding issues on certain devices. It is also totally unnecessary.
If you stick with set virtual resolution just make the image 640x480. If you want to go with aspect ratio 640x480 should still be okay, but you can have any image size as long as it is 4/3 ratio. You will need to set the sprite size to the size of the screen.

cryptojoe
12
Years of Service
User Offline
Joined: 27th Sep 2012
Location: Michigan U.S.A
Posted: 4th Jan 2013 18:05
did not know that... thank you DVader

Login to post a reply

Server time is: 2024-11-24 06:56:08
Your offset time is: 2024-11-24 06:56:08