Hi,
I want to take a bet on the future of AirPlay and develop applications that take advantage of AirPlay.
I want to achieve the following.
My question are :
- Is it possible to achieve it with Gideros?
- Is Gideros one of the best way to achieve it or are there better alternatives for those specific needs.
I don't want to spend time digging into the framework : I am looking for a solution that has already made it easy to use AirPlay
- Have you (dev) ever implemented AirPlay in your apps and are there issues that I should be aware of right from the beginning?
- How hard would it be to develop an app that achieves the result above and what would be the major components?
If you know of some obvious products and solutions that I should look to :- Best solution to implement Airplay as an extended screen, not only mirror mode = different visuals on the tv and on the ios device (imagine playing on your tv screen and having your inventory on the ipad in Zelda)
- Best solution for 2 (up to 8) player mode
- Best solution to make it possible to play on ipad/ipad, iphone/ipad, itouch/iphone, etc...
- Best solution to make additional sets of questions available through in app purchases
- Best solution to have some datas shared across all players in the world (like a leader board)
- And ultimately, make it possible for somebody on the internet to join the game
If you have a few informations to share, that would already be really helpful.
Thank you!
Comments
http://howto.oz-apps.com/2012/10/using-tv-out-for-extra-information.html
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
Thank you for the link, there aren't many informations of that type available so that is helpful.
Btw, just recommended your book to a friend who preordered it.
Could you elaborate on this please : I don't quite understand the limitation of creating an iOS UIWindow with an UIVIew (no experience), what would "creating a set of display with UIKit" mean?
Basically, does it mean I can't display a Gideros Sprite and if not, what should I do instead (or look at)?
I'm trying to figure out the next steps and to understand if it's realistic for me to even try with my current experience and skills.
@atilim Are there any plans to provide the ability to create several OpenGL surfaces?
(I don't even know if my question is realistic).
http://giderosmobile.com/forum/discussion/comment/13131
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
You might be able to achieve this by actually running the quiz app on the AppleTV device using it's remote to setup the game etc and then just have a free "player" app running on an iDevice that just handles two way comms either via WiFi or Bluetooth - that certainly is doable.
Although maybe Ouya would be a better platform for the quiz "server"...
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
there were some apps that create a server and then allow for polling activity like the devices used on game show like "Who want's to be a millionaire" when they want the public poll, or like e-clickers (used in some academic institutions) for feedback during a lecture.
While these are cool and fun, the idea of setting up the iPad to a TV or monitor is more like what is on the Who wants to be a millionaire, where the host sees a lot more while the monitor on the players screen is the question with the options in full screen. This can be used in various situations where the AppleTV solution might not.
Completely off-topic, if Apple add the Apple TV functionality into iMacs, so one can boot into the AppleTV or the iMac would be such a wonderful thing. If they would integrate a PIP and allow for input via HDMI that would be amazing.
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
thank you for the links.
I will wait for @atilim to give us more informations about it.
@techdojo
What you describe seems doable (and interesting), but I think that this is different to what I am trying to achieve.
The following games use AirPlay and I would like to achieve the same kind of results :
Real Racing 2
MetalStorm : Wingman
When you are not connected to the Apple Tv, controls + game view both appear on the ipad or the iphone.
Update : Infographic: Mobile - The Top Gaming Platform Even At Home!
Source : Iqu.com
An interesting discussion :
What would be creative and innovative uses of AirPlay for an iOS app?
@OZApps
What is the feature that this would allow?
To use a Mac/iMac as an airplay receiver, or are you looking for extra features (video rental, hulu/netflix, etc)?
Currently it's possible to send an Airplay stream from Macs to Apple Tv (since Mountain Lion but only in Mirror Mode, not as an second screen).
It's also possible to use a Mac as an Airplay receiver (like AppleTv) sent by an iOs device through AirServer, ReflectionApp.
I believe there will be soon a solution to use AirPlay between Macs.
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
now I get it, I tried to tie it to the topic (Airplay) but you were talking about a wired solution. Hence the "off-topic"
If Apple did make the TV per-say then it would be in the housing of an iMac (literally) the size might be larger that's all. So why not integrate it right now? and also allow it to work with a lot more things wired and wireless.
However this is more thinking aloud and nothing to do with development or Gideros and hence Off-topic.
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
I am still wondering what are Apple's plans for it...
Anyway...
@OZApps now that we are here, assuming that we won't have access to several OpenGL surfaces for more than 6 months, can you elaborate on what you said above?
I don't quite understand the limitation of creating an iOS UIWindow with an UIVIew (no experience), what would "creating a set of display with UIKit" mean?
Basically, does it mean I can't display a Gideros Sprite and if not, what should I do instead (or look at)?
I'm trying to figure out the next steps and to understand if it's realistic for me to even try with my current experience and skills.
Gideros Objects are rendered via OpenGL and are displayed on the
To have the TV Out, you will have to use BHWax from @Andy so while you use that, you can as well use UIView and the UIKit items.
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
The first game that I saw with this functionality was Max Adventure (https://itunes.apple.com/us/app/max-adventure/id396057778?mt=8) when connected to the TV, it displays the controls on the iOS device and the game on the TV. It has some very intelligent and advanced uses as @Mells has provided with the screenshots.
If you have the HDMI connection and an iPad2/iPhone4S or greater you are set.
Likes: techdojo
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
That's why I would love if there were things to make the process of developing for it easier and faster.
From now I would like to make all my future apps support and exploit those features.
(Microsoft is in the game with Smartglass)
@OZApps
sorry for being so insistent, but as I have never touched BHWax and I don't know anything about UIView and UIKit, are there some limitations and/or difficulties by taking that way?
From experience, is it required to learn anything new other than my current Lua skills in order to manipulate those UI***?
Please understand that I am in no way asking for the job to be done for me and if I get a few more informations, I am ready to dive into those solutions.
But
I am trying to understand if it's worth investing my resources in exploring those dark sides of the dev universe
Or maybe it would be less expensive to hire a developer.
I don't know, just trying to get a better idea of the requirements and investments.
@techdojo
What Jayant said
But as I have never tried myself (only saw on the internet) I am wondering :
isn't the hdmi connection handled by iOs itself? If so, is iOs able to provide something else than a mirror mode (which is different from what I am describing above).
I don't know, if the Airplay feature is activated and handled ingame it's possible that the features available are a bit different (extended mode).
I just bought an airplay (works so great but is also so frustrating on a few points) but I don't own any Hdmi adapter for the ipad.
UIKit development is learning/knowing about Objective-C development. bhWax only provides a Lua wrapper to the same so you do not have to bother with the alloc, retain, release and autorelease anymore. The other thing is that all of objective-C APIs change and what looked like
All of this will be easier when @Atilim adds the multiple stages, that way you will be able to create a new stage and place it on the external screen window. Every object you add to either of the stages will be native Gideros objects and will work with the native Gideros API.
Hope that was not so confusing...
Likes: Mells, hgvyas123
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
That was a great explanation, thank you very much for taking the time.
That's all I wanted to know.
So my options are :
- Wait for @atilim to implement multi stages
- Learn Obj-c which will not happen because it will be very resources consuming and I started with Gideros to avoid that (though I understand I was trading features for ease of use)
- Hire a developer -> which is a tough decision because I'll become very dependent from his progress if I want to release/modify often and (while cost-effective in some cases) it requires financial resources.
- Find a framework that allows me to use multiple stages : I don't even know if it exists, but if somebody knows about one, I'm interested to hear about it
Well...-> Being realistic I believe from what I have read on the forums that this won't happen within the 6 months coming... I would love to get an official confirmation, @atilim.
Also, using Airplay being something farily new, I will need to be able to experiment/test/iterate a lot.
it seems I can't make it happen for now and can't even make progress in that way.
My best chance lies in Atilim's answer.
Have you had a look at the posts on howto.oz-apps.com on using the UIKit controls with the bhWax plug-in from @Andy? You do not have to learn lot of Objective-C, it is rather easy. Mostly because the device will be used mainly for passing events to the main stage objects.
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
- Get Developing for Free - Enterprise Features
- @bowerandy's blog for additional informations : Hot Wax
@OZAppsI had read the article but thought that it was above my skills (looking at the API, something new to learn).
(Btw I encountered issues displaying articles on the ipad - probably a Blogger issue with the new layouts).
Now I took time to read it again, if you say that this is doable then I believe it is.
So if I understand my next steps are :
- Display the Gideros stage on the bigger screen (Tv) by following your article : Using the TV Out for extra information (Obj-C)
- On the ipad (touch screen) use BHWax from @Andy to create an iOS UIWindow with an UIView
- So I need to learn how to display sprites in Obj-C
- I need to learn (Obj-C again) how to handle events on displayed objects, and send those events to the main stage objects
#-oIn short, yes you will create the images using UIImageView and UIImage and display/animate/reposition them on the device and set up touches or gesture controllers. BTW, you get Gestures for free... and yes you will have to learn a little Objective-C to manage the touches and update the display.
Another thing is that your code will still be in Lua, you are not really writing any Objective-C code, but you need to understand the iOS SDK to be able to work with it. There are plenty of entries on stackoverflow for snippets on objective-c so you can save some time there.
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
there would be many things that I would like to achieve, I am better at thinking about creative uses than finding out how to achieve it.
For example :
[ 1 ] I am working with a few teachers that are currently trying to bring tablet devices at school (ipad).
I would like to experiment with a setup where a child can draw a character on the ipad (free hand or with preexisting shapes Mii style), once done the character is sent to the big screen (next to the teacher), shapes are changed to box2D objects.
Each child could add his own character to the screen (something like this) :
Even better would be that each child can create a character on his own ipad and they all send/improve their characters simultaneously.
That would be great for a collective art experience.
[ 2 ]
I could start with something simpler (another situation, child playing alone in the living room) : the child plays on the ipad, and when he could find a solution to a problem a character is displayed on the big screen, an animation is played to congratulate him.
Recognize animals on the ipad (ex : elephant), a video showing a little bit more about elephants is played on the bigger screen.
[ 3 ]
Set up fireworks on your ipad, push "play" button, the fireworks are launched and played on the big screen.
Modify your fireworks setup, "restart", fireworks are updated on the big screen.
etc...
those are only a few ideas I got.
Ideally I would like to be able to do on both screens what Gideros currently allows.
If I understand well, I will have to create/update/modify my objects using iOS Api through BHWax, and manipulate them in Gideros with Lua.
@atilim
Can you give a time frame (+3months, +6months, +12months) for the implementation of multi stages in Gideros Mobile?
Likes: techdojo
It has to have a server that is sending the main image data, the devices are running just the client app so based on the pinch they determine the position and the orientation... or maybe something even more clever and interesting.
Likes: techdojo
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
Looks amazing, thanks for sharing.
Thinking about the kids I'm working with, we could pinch all screens and 'pair' them then give it randomly to children.
They would have to find the right place in a limited amount of time (Rubik's Cube style), or reproduce a drawing that appears on the bigger screen.
The big screen could even use a camera to display their placement on a floating window (PIP).
We could even make online and live contests between schools (reproduce picture, send photo online. The quickest school gets some points).
And if all those screens were displaying AR code in each, part of a bigger composition?
With cameras (smartphone), children would try to recompose the scenery by moving in the room, garden, etc...
I'm going to contact the PINCH developers and see if I can meet them, that would be an great opportunity to know more about it.
Anyway, I'm off-topic in my own discussion
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
As @OzApp's said re the Pinch demo (amazing BTW) what your talking about is more a "distributed app" where all the devices have their own local apps running and then communicate via the main class room server to facilitate the sharing etc.
In fact I suspect you could probably do something akin to that already just by using a mobile optimised webapp running in safari, then it would (should) work on any device (or even a PC) which might make it a more realistic or feasible approach for a school to take.
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill
@techdojo
What you describe was another way to do things, but what I had in mind would be something a bit different : keep things local, just a router and an Airplay, no internet connection required. So that I don't need to handle a server, and at the same time I can bring it to many places where the internet is not available (I'm thinking about some hospitals where they have rooms for children but no internet - if wifi is allowed -, or I can bring it to some schools in the countryside).
Also I want to build a bridge between the apps and physical accessories (Life of George) and the way to monetize would be by selling it to each school, or directly in toy stores. That's why a "distributed app" was not what I had in mind.
But this is just an idea that came to my mind after I saw @OZApps post, I was already off topic, didn't take time to think serioulsy about it. It popped in my head like that
@ Atilim (I don't want to trigger another notification), can you give a time frame (+3months, +6months, +12months) for the implementation of multi stages in Gideros Mobile?
You haven't seen the post on Twitter on using magnets, have you? So many things to do and so little time ...
Likes: Mells
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
I'm still struggling to release my current app so I need to focus (buuuuut I'll check later).
(Will definitely check AutoLAN).
I will start my experiments with BHWax and TV out next week, thanks again for your help in that discussion.
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
If you want collaboration between kids -> teacher, teacher -> kids and kids -> kids then your talking about multiple devices, each running their own app, controlling one display but sharing content (via Wifi or Bluetooth), as @OZApps said you don't need internet access, just a local adhoc wifi connection with one app running as the server (possibly the teachers) with the rest as clients (although a peer-to-peer layout would also possibly work) - this functionality already exists inside Gideros (given the right plugins)
#MakeABetterGame! "Never give up, Never NEVER give up!" - Winston Churchill