Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I've been developing an iOS game for iPhone. My game saves the progress as a couple of .plist documents in the device.

I have come to realize that when I install a game in my iPhone, this same game is installed in my iPad. And then it struck me: how would I manage save files? I mean, I'd like the player to be able to continue playing from where they left no matter what device are they using... without using remote servers.

What have you done to address this issue?

share|improve this question
    
"without my own servers" or "without remote servers"? The subject line disagrees with the body text. –  Trevor Powell Oct 25 '12 at 23:34
    
@TrevorPowell: Thanks! Edited. –  Omega Oct 25 '12 at 23:43

4 Answers 4

I would say try using iCloud. But technically, it is a remote server. At least you do not need to handle anything on the server side.

share|improve this answer

Perhaps you can do it via email? Have your game communicate with SMTP/IMAP, let your user log in with an email address, then send your save game data. The other device would then check for the particular mail with the save game then store it.

You'd need to be connected to the Internet though.

Since your game is mobile, Gajoo's suggestion about Bluetooth sounds best.

share|improve this answer
    
Using E-Mail is using a remote Server though :) –  bummzack Oct 27 '12 at 7:35
    
But it wouldn't be such a problem, email servers are so ubiquitous and accessible to anyone –  Anomalous Underdog Oct 27 '12 at 12:52

You can check Game center, there are two systems that I know which can help you:

  1. GameKit provides interfaces to transfer data over the Bluetooth, I'm not sure about the specifications but it's possible! here is an example: iPhone Bluetooth Programming

  2. GameKit also offers support for Turned based games over the internet, If I'm not wrong you can use this feature to sync player profile on both devices. GKTurnBasedMatch Class Reference

There might be other options available too also you might want to take a look at both OpenFeint and GameKit for similar or better solutions.

share|improve this answer

I don't think this would be possible over the internet. Having mobile devices connect to each other, without an intermediate server is near impossible. Since one or the other would have to broadcast its location in someway that the other could respond to. I'm not familiar with a way to do that if the devices don't already know about each other.

However, on a much smaller network, like a home wifi network. This is reasonable. Both devices would need to be connected to the same wifi network. From there they can communicate and sync save files.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.