ipad letterbox
Has anyone tried to publish on iPad using a flag that says "if iPad" and then adding a thin letterbox?
We have a game that relies on locations/angles heavily, and we don't wan't to split the project. We'd rather letterbox it, use the iPhone 4 character art, and change the large graphics (like BGs) based on the flag.
Any experiments done on this? Thanks!
We have a game that relies on locations/angles heavily, and we don't wan't to split the project. We'd rather letterbox it, use the iPhone 4 character art, and change the large graphics (like BGs) based on the flag.
Any experiments done on this? Thanks!
Comments
Short answer: It doesn't work like that. GS hasn't made a Universal binary export yet.
_________________________________________________________________
Need Marketing Help for you App? Get FREE marketing here!
LIKE us on Facebook!
Follow us on Twitter!
We are mostly just concerned with fixing bugs on TWO versions, create new features (for updates) for two versions, etc. Do you normally just suck it up and just maintain BOTH?
Do this.
Duplicate your project first, so if you make any mistakes you have your original project safe and sound.
1.) On your new project, change to "iPad landscape".
2.) Make a new 1st scene, this is just a dummy scene to change for iPad. This must be your first scene, before your original "Home" scene.
3.) Make a new actor, call it something like "iPad resizer" or similar.
4.) In this new actor, do this.
Change attribute: game.DisplaySize.Width To: 480
Change attribute: game.DisplaySize.Height To: 320
Timer: After 0.1 seconds Change Scene to "Whatever your original home scene was"
5.) Enjoy
You could also make a rule if you want to use different background art for the iPad, make a game level attribute called something like "iPad graphics".
Then, make your background art actor have a rule that says:
If game.iPadgraphics is TRUE, change self.Image to "whatever iPad graphic you want"
Once you've verified this works properly on your duplicate project, you can just make a rule for the initial scene that turns ON or OFF the display size changing attributes based on whether your "iPad graphics" rule is true. So when you export for iPad, simply turn on this rule before exporting.
Thanks for posting your original question, it gave me a little kick in the ass to spend a few minutes and sort out my original idea to make this work.
If this helps anyone out, if for some reason you want to thank me, you can help by purchasing my new game when it comes out, I'll post here when it's released. (Should be finished and submitted to Apple by next week. It is much, much better than the apps I've released so far.)
that's exactly what I was looking for, a way to use a flag to replace the larger, more obvious actors. Ill let you know after i give it a go.
http://gamesalad.com/forums/topic.php?id=32594