Udostępnij za pośrednictwem


Integrating Windows 8 Sharing into the Run Prey Starter Kit

The code below is snippet from the Run Prey starter kit.  This code will allow your app to respond to Windows 8 sharing requests when you are at the start of the game, between levels or at the end of the game.  How do you activate sharing?  Use the Windows Key+C and then select sharing or Windows Key + H to open sharing directly.  The code below shares the prey image from the game.  The game title and either the high score if one exists or the current score of the game.  Double click this action to be appropriate for your game.

 

image