Display Gamecenter leaderboard on website - iphone

Is there currently a way to read GameCenter leaderboard data from the Web?
I'm looking for a read only way to display a leaderboard on a companion website. I do not need to post scores or otherwise manipulate the leaderboard off the device.
I have a feeling the answer is going to be no and I'll need to use OpenFeint's because they have a JSON API available.

I have been trying to find an answer to this as well.
I came across an interesting article Game Center via Openfeint
that discusses using Openfeint and Gamecenter together by using the new Openfeint SDK
Then using their JSON API publish results to the supporting website. I cant see any other way around it and feel this is what we need to do. Not the nicest, but you do end up with a game that sits in both communities.
Hope it helps.

If you are the author of the app and your web host provides PHP and MySQL you could roll your own server-side script to process score submissions and another script to generate a dynamic HTML page to display the scores in any way you like. Many web hosts offer PHP and MySQL for free.
There is no ready made solution that I am aware of.
To be honest I don't think there is much to gain from doing this, since players already have access to the leaderboard from within the game, and visitors to a website might not care about high-scores of a game they haven't played. Thats just my opinion.

Related

Sync game user progress across devices - unity

I have a really simple game on both iOS and Android written in Unity and I would like to save user progress across devices/OSes.
I already have Facebook analytics in it and so i was thinking i can implement Facebook Login and just save a couple of numbers on the Facebook server.
Upon some research it seems (?) that Facebook doesn't offer anything like that. You have to set up your own server and then just identify the player with Facebook login. A server like that is really an overkill for the game as i just want to save a simple Level Passed number.
Is there any other way? Can i use Facebook like that to save ONE custom user property? Perhaps i can use Google Play Services (both iOS and Android (?) ) to achieve what i want?
Any other free way of saving user progress across devices?
First thing Google play service stopped support for IOS
https://developers.google.com/games/services/ios/quickstart
Other suggestion for Cross platform services like firebase cloud, photon, Gamesprak etc.
https://firebase.google.com/products/firestore/
https://www.photonengine.com/
https://www.gamesparks.com/
Please not most of them giving free service for development only. Before use please check its price details

Facebook Game Application Flash CS6 AS3.0

I'm planning on creative a Facebook app for a college project but I'm unsure as to how to go about specifics.
I have been working within flash (animation, general AS3.0 coding) for close to three years so I'm pretty comfortable working within this program. I have looked up a lot of information about using the Facebook SDK for ActionScript etc. but I'm really not sure what I'm doing in relation to this.
Is it possible to create an entire game within Flash CS6 and then add any necessary PHP additions (for posting to timelines etc.) afterwards?
Sorry for not having a clue but any help would be extremely welcome!
You can get some examples from
http://code.google.com/p/facebook-actionscript-api/
Thanks
Dhiraj
If you just want to post data from the game to Facebook - for example, a simple "I scored [score] points!" message on the user's wall - then you should not need to write any code outside of your Flash game, other than making sure that the page it's on is set up correctly (with Facebook tags and JavaScript, etc.).
I found this post helpful in showing the basics of using the AS3 API to log in and pull data from Facebook into Flash: http://permadi.com/blog/2011/02/using-facebook-graph-api-in-flash-as3-1-5/.

Send iPhone Users A Daily Quote

I have a daily quote that I post on my wordpress blog each and every day. I want to make an iOS app for my subscribers so that they can get the daily quote on their mobile devices and also be able to save their favorites, etc.
Originally, my plan was to use the RSS feed of the wordpress blog. However, I don't really like the way this would work. I would rather be able to send the quote directly from my computer (or iPhone) and have it be "pushed" to my users. Right now my blog has over 450 posts. I want my users to have access to all past posts, and it seems like a slow way of going to have my RSS feed set to show that many posts.
I don't have any experience in this sort of thing. All my developer experience is in game dev and I could really use some help figuring this out. Any suggestions would be appreciated.
There's a sample project for getting and reading and RSS feed. That would be a good place to start. Once you understand the basics of iOS programming and design, then you could considering using the APNS (Apple Push Notification Services). That feature (fairly complex) allows you to push your quote on screen. But if you quote is too long, that might not make any sense.
But your first step is to get your feet wet and get up to speed with iOS development. Give yourself a few weeks for that at least.

Connecting to the internet with flash iOS development

I was reading that certain API's are not available when making iPhone apps with flash, such as accessing the camera. Is it possible to still get information from the web and display it in the app using the flash method? The overall plan is to have it pull data from an SQL database using XML, and I was just wondering if that was possible still with flash. Thank you very much for your answers.
I heard the same thing about it not being able to connect to the internet, among many other restraints, when developing apps through Flash. It held me back for the first 3 months after Apples 'accept' of the platform.
But now after I've had some time to test things out on my own, I found out that the following is possible (so far):
Getting xml and pictures from the web (so why not SQL)
saving cookies
Saving pictures to the cameraroll.
getting geoLocation data (didn't get the google maps api to work YET tho)
And these are only the features i have tried so far (in development-phase, not submittet to Apple)
I'm surprised that no one else has answered your question by now.
Hope this helps gets you spirit up for developing apps with flash :)

Share saved game data via game center?

I'm trying to figure out if game center is the right tool for me. Here's my situation:
I'm building an app which allows users to create their own musical compositions. I plan to make the compositions exportable and loadable via text file (xml or json format, probably). I'd like to allow users to share their compositions with friends. It seems to me that game kit is the default social network for iOS, so it seems worth looking at. However, the social aspect of game kit seems to be designed mainly for real-time, simultaneous play. Is there any way to share data with friends in a non-realtime way via game center? Is there even a way to send game center contacts a message?
If you look at the documentation for peer-to-peer networking in GameKit, you will probably find exactly what you are looking for, with a tiny exception. It is only for wifi/bluetooth connectivity.
The way I would go with your description is a private server that hosts the compositions. If you are familiar to Java and/or Python, I'd recommend using Google App Engine for the server. That would make the headache a little bit less.
You can use GameKit too, but as you describe it, it's more for real-time communication.
If you implement invitation handlers, you could "invite" another player to receive the composition, but if they reject you will have to retry manually at a later point.
The contents of what you sent over an open "GameKit connection" can be "anything" you like, stuffed into a NSData object, so there is no limits there.
I hope this helps you a tiny bit in the right direction, good luck!