how to get in-game gifts between players in a face

Get help using Construct 2

Post » Fri Jul 13, 2012 10:40 pm

Hello, am working on a small game for facebook and want to let players send each other gifts, is this possible? what do I need to make it happen?

PS: am very new to Construct 2
B
10
S
3
G
3
Posts: 5
Reputation: 2,686

Post » Sun Jul 15, 2012 6:58 am

I could be wrong, but this sounds like a job for the AJAX plugin since you are pretty much asking the game to retrieve something from a server. Then you have AJAX put it in the game session (look up AJAX tutorials to figure this stuff out), and then tell AJAX to put it back on the server, but in a different folder. For the next person who receives the gift, pretty much the same process happens.

However, I don't know how to do this AJAX stuff yet, so I can't tell you how to do it.
B
14
S
5
G
4
Posts: 121
Reputation: 3,938

Post » Mon Jul 16, 2012 6:53 am

ok thanks I'll check it out!
B
10
S
3
G
3
Posts: 5
Reputation: 2,686

Post » Sun Nov 25, 2012 3:14 am

https://developers.facebook.com/docs/reference/dialogs/requests/

Tells you how to do the requests like other games.
You'll need ajax like the other person mentioned to both send the request and if to communicate with your online database to store the requested help(ie add potions to player x)
B
69
S
21
G
15
Posts: 701
Reputation: 15,629


Return to How do I....?

Who is online

Users browsing this forum: selaus and 0 guests