Facebook - Save World State

Get help using Construct 2

Post » Mon Jan 07, 2013 9:34 am

I have been reading through the Facebook Docs and have one question I'd like to seek the opinion of others who have experience in this area.

How would you save the state of a game such that the user returns to play from his last save?

Say... for something as complex as (for example) Avengers Alliance, Slotomania, or Simcity Social... whenever you return to this type of game, you will resume from your current level with the assets and resources you have earned up to that point. How would you do that?

I am on a web hosting service (like iPage, Bluehost, Hostgator, etc.), so I was just wondering whether I need to modify some PHP script? Install the Facebook PHP SDK? Or is there a way to use only Construct 2 entirely to save a handful of game data to my server - without violating any FB policies?

Any broad ideas will help me greatly here as I am at the final crossroads to Beta.

Thanks.necromaster2013-01-07 10:26:13
=========================================
If you are on Linkedin, join other C2 professionals and network on the Scirra Construct 2 Developer Group at https://www.linkedin.com/groups?home=&gid=6732005
B
47
S
10
G
6
Posts: 193
Reputation: 7,604

Post » Tue Jan 08, 2013 1:27 pm

Found what I was searching for over here:
http://www.scirra.com/tutorials/346/online-high-score-table-ajax-php-mysql

[EDIT] - And, it works swell!necromaster2013-01-09 07:50:32
=========================================
If you are on Linkedin, join other C2 professionals and network on the Scirra Construct 2 Developer Group at https://www.linkedin.com/groups?home=&gid=6732005
B
47
S
10
G
6
Posts: 193
Reputation: 7,604

Post » Wed Jan 09, 2013 7:51 am

Yes! I'm on my way to BETA once a Facebook credits system is incorporated.

For those looking to implement a Facebook credits system, please look here:

http://www.scirra.com/forum/facebook-app-customization-and-ajax-response_topic60420.html?KW=yore

Hope these collated links helps those looking for a path towards completing Facebook development.necromaster2013-01-09 07:53:05
=========================================
If you are on Linkedin, join other C2 professionals and network on the Scirra Construct 2 Developer Group at https://www.linkedin.com/groups?home=&gid=6732005
B
47
S
10
G
6
Posts: 193
Reputation: 7,604

Post » Wed Jan 09, 2013 8:25 am

thanks necro these things are on my to do list thanks for the references
B
10
S
2
G
2
Posts: 45
Reputation: 2,039


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 18 guests