Can LiveCode handle multiplayer games

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
ekscom
Posts: 2
Joined: Tue Feb 05, 2013 9:00 pm

Can LiveCode handle multiplayer games

Post by ekscom » Tue Feb 05, 2013 9:08 pm

Hello,

I'm shopping for a toolset and LiveCode looks amazing.
There is only one thing that can change my mind about getting it: Can it handle multiplayer games?

To be specific, can it make a 2d Street Fighter-like game?
There will be two players who should be able to connect to each other through their phones (or computers) and play some Street Fighter. That means when one player throws a punch the other player will see it happen on his phone... etc...

A few of the other "promising" toolsets couldn't do that, so i would like to know if this is possible and hard would it be to accomplish it?

Thank you.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Can LiveCode handle multiplayer games

Post by Mark » Wed Mar 13, 2013 2:36 pm

Hi,

Yes, this is possible with sockets. You'll need a server (on a desktop machine in the local network or on an web server) and a client app on the phones/tablets. The client app might use simple put/get URL commands to communicate with the server and the server needs to keep a socket open for listening.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”