Hello, I'm somewhat new to LiveCode. I don't consider myself a beginner but I don't consider myself a master.
Anyway, I'm having trouble understanding how I would go about programming an application that involves a multiplayer where one player has his character move, and another has his character move. I want it to update as the characters move of course. I've thought of using a mySQL database to store their locations, etc, but I feel that is very unconventional and probably innefecient.
If there is any other way I can do this in LiveCode, please share. I'm a quick learner.
Multiplayer
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 327
- Joined: Sun Apr 15, 2012 1:17 am
- Location: USA
- Contact:
Re: Multiplayer
You can have them use different keys on the keyboard. i.e. Player 1 can use the A/S/D/W keys and Player 2 can use the arrow keys.
If this is what you were thinking of, have a look at the lessons under 1.3 here: https://sites.google.com/a/pgcps.org/li ... rogramming. You can also look at how each one implemented this at http://erhs.shaosean.tk/ (scroll down to Maze2P and Scoccer2P games near the bottom of the page.
Hope this helps
If this is what you were thinking of, have a look at the lessons under 1.3 here: https://sites.google.com/a/pgcps.org/li ... rogramming. You can also look at how each one implemented this at http://erhs.shaosean.tk/ (scroll down to Maze2P and Scoccer2P games near the bottom of the page.
Hope this helps
Cyril Pruszko
https://sites.google.com/a/pgcps.org/livecode/
https://sites.google.com/a/setonhs.org/app-and-game-workshop/home
https://learntolivecode.com/
https://sites.google.com/a/pgcps.org/livecode/
https://sites.google.com/a/setonhs.org/app-and-game-workshop/home
https://learntolivecode.com/