Split screen multi player

@brad.lyons: So long poor explanation short, if I’m doing a multi res app do I build an iPad version, an iPad HD version, an iPhone version and iPhone 5 Version (assuming it will be a new ratio) and then run an if statement in the build.settings (and at every new scene called??) OR is there a quick easy way that I have missed.

(gasp!) A separate version for every device, thankfully NO! If Corona forced us to do that, I wouldn’t be using it. :slight_smile: Perhaps the greatest boon of Corona (and there are several) is that alot of this stuff is handled automatically, not only across devices of the same OS but also across the 2 major mobile platforms.

That being said, you can’t just design for one device and one resolution and release to market. Because of the different screen resolutions, you’ll need to carefully set up your “config.lua”. Furthermore, because of different screen ratios… some wider, some taller… you’ll need to add some little code tricks in your app to make sure that things like UI bars, buttons, etc. line up properly across all devices, for example, tucked up against the “top edge” of the screen on all devices. There are simple methods for this, which you’ll learn as you go, but you will need to code them in manually. Corona doesn’t have any quick functions like “alignTopEdge” or anything like that (although, presumably, one could write some quick helper functions for that, note to self!).

Brent
[import]uid: 9747 topic_id: 30180 reply_id: 120884[/import]