0
\$\begingroup\$

If I am using Xbox LIVE Gamer Services for a networked XNA game, is there anyway to store custom data against the Gamer or GamerProfile so should they sign-in again even on a different machine I can access it? For example if I want to store their colour choice.

\$\endgroup\$

1 Answer 1

1
\$\begingroup\$

This is possible, but it depends on user choice in order to function.

The method you mentioned, using Gamer Services, will not accomplish what you described. That corner of the framework only serves up player default settings, not game-specific settings. I believe color choices are included in that information. But again, this is not their choice for your game, it is their default choice for all games. (Gamer services does allow setting temporary status info.)

You will need to store custom data in the same manner that you would generate a save file, with User Storage. The process flow described in that article notes that you must call StorageDevice.BeginShowSelector, which displays the HDD/Memorystick/Cloud choices. This is why your solution depends on player choice.

IF the player selects cloud storage on the first machine, and if they also select it on subsequent different machines, then they have access to the same saves in both locations. If they choose local physical storage, that information is stuck on the single machine.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .