-
1. Re: Create a Multiplayer game for Android/iOS using flash?
Aaron Beall Oct 30, 2013 9:04 AM (in response to tom_w2000@yahoo.co.uk)You're making a lot of duplicate posts.
ServerSocket is available on AIR 3.8 and above (someone corrected me on this in your other thread.) It would still require a service to allow clients to discover available clients, similar to what you need for Cirrus.
Like someone else already said in your other-other thread, you are most likely going to need a server to some extent, even if the server is only handing off client IDs to enable p2p.
Pretty much the only way I can imagine doing this without a server at all would be to have users send an invitation from their phone to someone they know, via email or text. That would limit the game to be played with people you know, not just anyone else who has the game.
-Aaron
-
2. Re: Create a Multiplayer game for Android/iOS using flash?
tom_w2000@yahoo.co.uk Oct 31, 2013 1:15 AM (in response to Aaron Beall)Hi Aaron,
Thanks for you kind response.
Do you know how to use air 3.8 to create multiplayer for iOS android? It's frustrating, it's a basic turn based game so all we really need is to send 1 line of code containing a move between two devices which then changes the graphics. I've done something like this before using a MySQL server.
I have a MySQL service on my hosting package for my domain, not sure whether I could use this?
As far as I'm aware theres now an option in HTML 5 to do thus kind of thing without a server and swap data directly through a web address.
Do you know roughly how much a small server costs to run?
We're basically trying to get this on ios, android and desktop mac and pc. We also want to launch it through steam nd allow people to play each other via the steam network. Do you know or know anyone that knows about this kind of stuff?
Thanks again, for your email. Where are you based?
Tom.
-
3. Re: Create a Multiplayer game for Android/iOS using flash?
Aaron Beall Oct 31, 2013 12:12 PM (in response to tom_w2000@yahoo.co.uk)Hi Tom,
HTML has a bleeding new p2p API (WebRTC) but that has the same challenge as Cirrus in that it still requires some kind of web service to make clients aware of each other.
You could definitely use your hosting with MySQL to do the server part. It would just involve clients sending a unique ID (and perhaps name), then clients can request a list of IDs/names from the service and try to connect to them. Once the p2p connection is made, the server is hands off. You would just need enough bandwidth to cover this login/logout functionality.
Yes, I've created a realtime and turn-based p2p games in AIR using this technique, though not for mobile. Mobile would have the added challenge of connection drop-outs... this would best be solved by some persistent server-side identification. I may be able to help you with this. Send me more info to contact@abeall.com
-Aaron

