Developing for both Android and IOS

2 quick questions.

1-i thought i’d be developing for both platforms, so from the start my config file reads thusly:
application =
{
content =
{
width = 320,
height = 480,
scale = “letterbox”
},
}

thing is, it all looks fine in android, but i decided to start on iOS today and it seems stretched vertically out of the screen on the iOS devices in simulator, i thought if anything it should be fine on iOS devices an dodgy in android though? can anyone see anything immediately wrong or is there a known caveat i’ve fallen into? I’ve read the dynamic content stuff and as far as i can tell it should be ok (obviously i’m wrong though…)

2-in the next few days i wanna finally license this bad boy, but was thinking again of going both apple and android. the page on here said the combo apple/android package is available on macs… I’m assuming i can still dev for android on my pc? at the moment i dev on pc and just grab the scripts off perforce for mac related stuff so i don’t have to touch a mac. Is it that it’s just locked to one machine and the mac is the only one that can build both? if so i assume i can still dev and preview using the demo version on the pc and transfer it to the mac for building or something? [import]uid: 71799 topic_id: 13046 reply_id: 313046[/import]

#2 - yes if you get pro. you have two licenses. you can use one install on mac, the other install on windows. on windows you will only b able to build for android. mac- obviously : both.

.c [import]uid: 24 topic_id: 13046 reply_id: 47905[/import]

Ah thanks again Carlos, i’ll stick with my original plan then of the win machine being the dev machine and the mac just for apple build tasks, i just don’t like the OS much enough to dev on it… cheers!

Anyone else with an answer or theory or #1 would earn a manly handshake too! [import]uid: 71799 topic_id: 13046 reply_id: 47906[/import]

My config file is only marginally different to yours, but perhaps try this out instead;

[lua]application =
{
content =
{
width = 320,
height = 480,
scale = “zoomEven”
}
}[/lua]

I haven’t had a chance to do Android stuff in awhile so I’m a tad rusty, but can you let me know if that makes any difference?

Peach :slight_smile: [import]uid: 52491 topic_id: 13046 reply_id: 47963[/import]

Hi Peach

Nope, same thing :frowning: I’d tried zoomEven instead of Letterbox before

It looks fine on Android but too tall on iPhone, with parts of the top and bottom icons disappearing off the screen, i thought with the resolution set in config i could code co-ords in that res, but either way i would’ve thought given that it’s the native iPhone stuff that it should work either way :confused: [import]uid: 71799 topic_id: 13046 reply_id: 47989[/import]

Hi again

Reckon it was just me being a div. I think it was just a case of me developing for both platforms but testing as I went with Android meant that if something was off-screen vertically Android was just a lot more forgiving; tricking me with its taller screen into thinking everything was fine, sorted now though and lesson learnt!

cheers!

Also another lesson learnt: a graphic of a red rectangle loaded fine on android, but white on ios. a mate says it “had transparent layers in which weren’t being used” which ios must be fussy over. so there you go, even when i throw in sloppy programmer-art i still can’t make a 5*25pix red rectangle without annoying ios! [import]uid: 71799 topic_id: 13046 reply_id: 48065[/import]

Your iPhone/iPod/iPad is simply telling you to step up your game :wink:

Glad you figured it. [import]uid: 52491 topic_id: 13046 reply_id: 48167[/import]