AirPlay output as "second screen", a different display group, or different range of coordinates

I’ve been thinking how Corona could implement the use of AirPlay as a second screen, much like how Real Racing turns the iOS device into a controller while the gameplay is showing on the AppleTV.

Assuming the given coordinates of 0, 0 - 320, 480 represent the scalable resolutions of the iOS device in the config.lua file, perhaps an entire range away from that could be used to draw directly on the AirPlay device, like 65536, 65536 - 65856, 66016 (I don’t want it to be too close that objects that are oversized or just outside of view on the iOS device will bleed over to the AirPlay device).

Or, it could be a different group like display.newAirPlayGroup().

However you devs wanna tackle this, do you think you can get this implemented and if so, how soon?
[import]uid: 6084 topic_id: 28617 reply_id: 328617[/import]

+1, I actually posted about this about a month or so ago and did not get any responses. I would actually prefer it to be something similar to your latter suggestion of “display.newAirPlayGroup()” or possibly having a multiple storyboardboards, one for each display.

This would be a great feature that would help put Corona ahead of other SDKs and it would give developers a whole new paradigm to play with. [import]uid: 94248 topic_id: 28617 reply_id: 115801[/import]

I’m a little unclear guys - how does this differ to running a Corona app through Airplay at the moment? I got my app playable on my home TV via Airplay - it displays on both screens, so how does what you’re suggesting differ? [import]uid: 33275 topic_id: 28617 reply_id: 115809[/import]

The difference would be that instead of just mirroring the same data on both screens (as I assume is what you are able to do now), you would be able to display different data on each screen, controlling each one independently. The example mentioned above was that of Real Racing, in which the TV displays the actual race and the phone/device displays the track map and other data. [import]uid: 94248 topic_id: 28617 reply_id: 115811[/import]

Gotcha - pretty cool idea so +1 here. Sounds like the GBA-GC hookup Nintendo had years ago. [import]uid: 33275 topic_id: 28617 reply_id: 115814[/import]

+1

+1

Fully support this idea! - Used to do this through xcode however most of our development now has moved to corona and this feature is missed.

+1

Fully support this idea! - Used to do this through xcode however most of our development now has moved to corona and this feature is missed.

+1