locked
Async Turn Based API?

    Question

  • Hey guys, 

    I'm coming from an iOS / Mac dev background here and there we have GameCenter that includes an API for asynchronous game support -- meaning you can, through GameCenter, allow players to take turns asynchronously, so they can drop the game and come back to it later. 

    Does WinRT have something like this? Skulls of Shogun seems to pull it off pretty well, but I get the impression that they are using something only Microsoft Xbox Live certified developers have access to. 

    Any insight would be greatly appreciated!

    Sunday, April 14, 2013 12:58 PM

All replies

  • Hi,

    First, there is resources for iOS developers, hope it can help you.
    http://msdn.microsoft.com/en-us/library/windows/apps/jj945493.aspx

    If I understand your question correctly, you need to sync the game data in different devices for sign user.

    In Windows Store App, we can use RomaingDataStorage to store these information. We can save the data in that Storage and read it on another machine.

    Plate take a look of Roaming application data section in this
    http://msdn.microsoft.com/en-us/library/windows/apps/hh464917.aspx

    Best regards,
    Jesse


    Jesse Jiang
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, April 15, 2013 3:21 AM
    Moderator
  • I'm not aware of any platform provided matchmaking services that are generally available. If you are interested in developing Xbox games for Windows 8 (or Windows Phone 8 or other platforms), this link provides more information about how to do that: http://www.xbox.com/en-US/developers . I'm pretty sure there are 3rd party services out there which you could look in to. You could also create your own; using a background client with the C++ REST SDK ("Casablanca" - http://blogs.msdn.com/b/vcblog/archive/2013/02/26/the-c-rest-sdk-quot-casablanca-quot.aspx ) would be a good starting point for the client side while the server side could be written in whatever you're comfortable with (e.g. ASP.NET Web API, PHP, Rails).

    I would encourage you to get in touch with the Microsoft folks via the contact info in that first link, though (especially if you have a reasonably successful game on iOS or another platform which you are interested in bringing to Windows 8).


    Visual C++ MVP | Website | Blog | @mikebmcl | Windows Store DirectX Game Template

    Monday, April 15, 2013 4:51 AM
  • Jesse, 

    Thanks! I took some time yesterday to evaluate that and it's not exactly what I am looking for but I appreciate the reply. 

    Wednesday, April 17, 2013 7:23 PM
  • Mike, 

    Thanks! Yeah we have been developing a prototype for this as  a REST backend, so that's not a big shocker. I was hoping for some sort of matching support but -- given the scale we are already on -- we can do that ourselves. Actually, it might be best to do it ourselves anyway, since that gives us greater control of the system. 

    Will be contacting MS via that link.

    I appreciate all of you help! Thanks a lot!

    Wednesday, April 17, 2013 7:26 PM