Facebook - Visit another player's world

Get help using Construct 2

Post » Thu Oct 11, 2012 8:55 pm

Complicated question about Construct 2's Facebook API...

Using Construct 2, is it possible to allow one player to visit another player's "world"? Like... how in Farmville you can visit someone else's farm. Does the "world" sit on the game maker's server, or does Facebook take care of it? Are there any guides for this kind of thing?

Thanks. I don't expect a step by step response, I'm just wondering if it's possible, and maybe where to start.
B
10
S
1
Posts: 19
Reputation: 1,444

Post » Thu Oct 11, 2012 9:24 pm

"Worlds" are datas.
Depending on the game you are making, you might be storing those datas on server or on the player's computer.
It greatly depends on your game and how you made it as well as where those datas are stored.

On your own server with some server-side script, you can return the datas representing some world of your users.
I don't know about facebook hosting those datas, I don't think it's really related, I guess those datas you have to store by yourself out of FB.

Check the manual about the AJAX object and check the how do I FAQ (link in my signature), there are some implementations of PHP reacting to AJAX calls from inside a C2 game.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Thu Oct 11, 2012 9:40 pm

Okay, that makes sense. I wasn't sure if there was a Facebook-specific way of dealing with data. Your FAQ has been incredibly helpful to me already - so thanks for that and thanks for the reply.
B
10
S
1
Posts: 19
Reputation: 1,444


Return to How do I....?

Who is online

Users browsing this forum: farfetchd83, makkancs and 22 guests