This app was mentioned in 6 comments, with an average of 2.83 upvotes
Original Spelunky is technically free, since you can freely download the source.
I'll also shamelessly plug my first fully released game, Stellar for Android.
The built-in tutorial for facebook is outdated.
There are a couple things you need to do differently than what they show in the tutorial.
First off, publish_stream permission is now publish actions. Second, you have to request profile permissions before you request publish permissions.
I just went through the nightmare of getting Facebook to work with my game.
Here's what I have for logging into Facebook and getting permissions:
obj_facebook_login
CREATE:
if (os_is_network_connected()) { facebook_init(); global.Auth = false; global.AskedForLogin = false; permissions = ds_list_create(); ds_list_add(permissions,"public_profile", "user_friends", "user_games_activity"); facebook_login(permissions,fb_login_default); alarm[0] = 1; } alarm[3] = room_speed*10;
ALARM[0]:
var fbStatus; fbStatus = facebook_status(); show_debug_message( "Facebook status: " + fbStatus); switch (fbStatus) { case "AUTHORISED": global.Auth = true; var request = "publish_actions"; if (!facebook_check_permission(request)) { ds_list_add(permissions, request); request_ID = facebook_request_publish_permissions(permissions); } if (global.my_name = "") { mFacebookResponse = ds_map_create(); facebook_graph_request("me","GET",-1,mFacebookResponse); alarm[1] = room_speed/2; } //instance_destroy(); break;
case "IDLE": facebook_login(permissions, fb_login_default); global.AskedForLogin = true; alarm[0] = 30; break;
case "FAILED": facebook_login(permissions, fb_login_default); global.AskedForLogin = true; alarm[0] = 30; break;
case "DENIED": if (!global.AskedForLogin) { facebook_login(permissions, fb_login_default); global.AskedForLogin = true; } else { instance_destroy(); }
default: alarm[0] = 30; break; }
As you can see, I request profile, friends, and game activity in the create event.
After that, it logs into Facebook and requests those permissions. If the log in is successful, it then is able to request publish permissions.
Right now, I have a high score table, open graph posting, and friend invites working in my game. If you have any questions about how it works, I feel pretty confident in answering them.
Stellar
Download:
NOTE: The game is still under review for Facebook permissions, so all the Facebook functions may not function properly.
Stellar is the first game I have ever fully released. It is a mobile matching game.
Tap stars of the same color to form constellations and earn points. Tap shooting stars to score all the stars on screen. Tap meteors before they hit the bottom, or you'll lose points
Follow Me
Stellar
Download:
NOTE: The game is still under review for Facebook permissions, so all the Facebook functions may not function properly.
Stellar is the first game I have ever fully released. It is a mobile matching game.
Tap stars of the same color to form constellations and earn points. Tap shooting stars to score all the stars on screen. Tap meteors before they hit the bottom, or you'll lose points
Follow Me
Stellar
Stellar is a free-to-play mobile game. Tap the stars form constellations and earn points.
Hey guys! I'm super excited to announce that my game, Stellar, is now available on Google Play!
This is the first game I've seen to completion, and I'm really proud of it!
If you don't have an Android device, you can also try it out on Facebook.
If you have any questions, comments, feedback, etc. I'd be happy to hear them!
Follow me
Stellar
Stellar is a free-to-play mobile game. Tap the stars form constellations and earn points.
Hey guys! I'm super excited to announce that my game, Stellar, is now available on Google Play!
This is the first game I've seen to completion, and I'm really proud of it!
If you don't have an Android device, you can also try it out on Facebook.
If you have any questions, comments, feedback, etc. I'd be happy to hear them!
Follow me