Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Use smartphones as controllers like airconsole.com, PS4's PlayLink, and Just Dance Now?

Community Expert ,
Sep 22, 2017 Sep 22, 2017

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!

TOPICS
ActionScript
2.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Enthusiast , Sep 28, 2017 Sep 28, 2017
Translate
Enthusiast ,
Sep 28, 2017 Sep 28, 2017

You could use a simple Node server. I've done this in the past to control a game using a tablet... worked great actually.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Sep 28, 2017 Sep 28, 2017

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Sep 28, 2017 Sep 28, 2017
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 28, 2017 Sep 28, 2017

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Sep 29, 2017 Sep 29, 2017

No, you can send simple messages back and forth with socket server.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 29, 2017 Sep 29, 2017

Once again, thanks a lot, dmennenoh​!!!

I'll definitely use ServerSocket class.

\o/

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Sep 30, 2017 Sep 30, 2017
LATEST

You're welcome.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines