Yet another Multiplayer Question

Get help using Construct 2

Post » Wed Jul 18, 2012 5:00 pm

I've seen a lot of topics on multiplayer but what I want to do seems like it would be more simple.

I would like to make a facebook game with turn based interaction via just sending a simple string back and forth. It seems like something in facebook's messaging or chat could be leveraged to accomplish this or maybe theres' a feature in the fbook api I could use for this.

... or Kongregate?

Any ideas?
Follow my CZero development on twitter https://twitter.com/CaptainZeroGame
B
57
S
15
G
5
Posts: 164
Reputation: 7,948

Post » Wed Jul 18, 2012 5:05 pm

I want it so much too. But I really don't know how to do.

I think in use some variables with all the information of the turn and update a data bank, but I don't know if this will work.
B
210
S
38
G
13
Posts: 136
Reputation: 30,187

Post » Wed Jul 18, 2012 5:19 pm

Could this be done with a database, php and ajax?

Something like (thinking out loud here).

Database Table:
Player 1
Player 2
PlayersTurn
GameString

In your game.

Player 1 playing his game.
Game checks database for PlayersTurn data. If 1, game continues.
Player 1 plays.
Turn over, send data to database setting PlayerTurn = 2 and GameString to whatever data you need to send for the other player.

I'd be happy to do a tutorial on it if you think it would be useful.
B
100
S
31
G
11
Posts: 1,552
Reputation: 21,532

Post » Wed Jul 18, 2012 10:58 pm

A tutorial would be great plz!!
B
16
S
4
G
4
Posts: 28
Reputation: 3,779

Post » Thu Jul 19, 2012 8:56 pm

YES. I second that. I'd love love love to have a tutorial that would allow that.

Still there's already a chat client built into FaceBook and already a message system in every social media thing. Your game could tweet everyones moves with a single twitter account...
Follow my CZero development on twitter https://twitter.com/CaptainZeroGame
B
57
S
15
G
5
Posts: 164
Reputation: 7,948


Return to How do I....?

Who is online

Users browsing this forum: abman, Hex27, morti, supervanz and 2 guests