Copy link to clipboard
Copied
Hi again!
I'm developing a game that will run on desktop but players will control the game using their smartphones as controllers.
It's a board game and users will send simple commands to move characters and navigate some menus.
What is the easiest approach to make a mobile AIR app communicate with a desktop AIR app?
It's not a massive and intense realtime multiplayer game. I only need a simple communication system.
Thanks!
Yup I used the built in socket server class... it should be perfect for what you want I think:http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/ServerSocket.html
Copy link to clipboard
Copied
You could use a simple Node server. I've done this in the past to control a game using a tablet... worked great actually.
Copy link to clipboard
Copied
Hmmm... actually now that I think about it more I may have used the build in Socket Server... let me have a look and I will get back.
Copy link to clipboard
Copied
Yup I used the built in socket server class... it should be perfect for what you want I think:http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/ServerSocket.html
Copy link to clipboard
Copied
Hey, dmennenoh! Thanks a lot!!!
Now I finally know where to start. I'll take a good look at this class.
I'm not a backend guy, so let me ask you: Do I need to use MySQL, PHP, setup a database, and so on?
Copy link to clipboard
Copied
No, you can send simple messages back and forth with socket server.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
You're welcome.