Tuesday, August 10, 2010

Boom! It works! GameSalad success.

Our previous entry addresses the difficulty we had, and our conclusion that we would not be able to test our game on an external device. It was so frustrating. We had installed and reinstalled Xcode, but to no avail. James Hernandez, our technical engineer, picks up the thread from here...

With some help from Jonathan Samm at GS, today was a new day and another attempt at getting Gamesalad's viewer to install on our iPhone device and get it to talk with the GS creator.

I consulted with John about our issues. He wanted to make sure all our software and devices were updated. I assured him that Xcode had been reinstalled numerous times, new networks created, and no luck.  After confirming that everything was updated, the next step was to once again build and go to see if anything had changed.

The GS viewer installed onto our device but, once again, the device could not locate the GS creator on the network. We confirmed that our device and computer were recieving Wi-Fi from the same campus network, but the two machines would not talk to each other. We tried to get the simulator to work, but some errors were found. NOTE: The simulator had been working fine the day before, so these errors were odd.

Jonathan then suggested we install Xcode again. The next step was to delete all Xcode and the GamesaladViewer.xcodeproj files and re-install them. This is important, I can't stress it enough to reinstall Xcode when the device reads, "Waiting for Connection" for a while then displays the following error: "Gamesalad Creator not located on network."

After this was completed, our provisioning profile was re-downloaded and installed into Xcode. I clicked "build and go" and the simulator was up and running. Now it was time to try the device again. After the Xcode drop-down menu was changed to device from simulator I pressed build and go and the viewer was installing onto our device. After the viewer was "waiting for connection" for a few seconds the "GS creator was not located on the network" error displayed again!

John then asked if I tried creating a network within the computer for the device to connect to. As you all recall from yesterday's post, we tried unsuccessfully to create a network which I let John know. I tried once again to create a new network. BOOM! the network connection worked! A new day brings new surprises.

NOTE: It is important to note that nothing had changed about the process from one day to the next. These were all the same steps taken previously, but for some reason they worked today whereas they had not before.

I pressed build and go and the viewer on our device located the GS creator and we were off playing our game on the device.

Our game played through with minor issues that we could not see in the simulator, but showed up on the device. This is important: The game you build in GS will not behave perfectly in the device. There are subtle differences that affect the game in the device.

The lessons of the story would be, if all else fails clean the slate and start fresh.



1 comment:

  1. I think the app building tools that are easy to use and produce amazing results..Thanks for info!!
    App Builder

    ReplyDelete