Project Description
.NET library to allow easy access to game services, such as high scores, achievements, and and user services. The first service implemented will be a Silverlight Kongregate API, but I also envision XBLIG and other Silverlight game site APIs.
NOTE: KONGREGATE IS NOT CURRENTLY ACCEPTING SILVERLIGHT GAMES AND WHEN THEY DO THERE MAY BE API CHANGES
I'm very early on in the process, but it does work with Kongregate and I've submitted a game using it.
In the hosting HTML page, you'll need to include Kongregate's javascript library. This should be all you need to do to get it working. In the <head> tag of the page, add:
<script type="text/javascript" src='http://www.kongregate.com/javascripts/kongregate_api.js'></script>
Note that the Kongregate APIs will only work when hosted in their iframe. You will not get the loaded event if you're running outside of Kongregate so you'll have to "Submit" without publishing there to test. Eventually I'll add a test mode to the API.
You can submit a game using the KongregateTest.Web project and try out the API and confirm it works.