I have noticed some apps display different content on the Apple TV through airplay to on the iPad screen. I was wandering if you could add a class to help to this. For example if you did this:
-- Example
-- (Don't try this, it is just a suggestion of what COULD be made possible.)
-- This function gets called once every frame
function draw()
-- This sets the background colour
background(40, 40, 50)
end
-- This function gets called once every frame on the Apple TV
function airplay:draw()
-- This sets the background colour
background(255, 255, 255, 255)
end
And it would display black on the iPad/iOS device but white through airplay.
This would just be a fun thing to play with.
Happy Programming;
J.A.J.