iphone viewer crashes

Stryfe01Stryfe01 Member Posts: 146
edited November -1 in Working with GS (Mac)
Hi. I am a bit frustrated. I finally have the game in a decent build to test out some of the code, and it crashes in the ipad viewer. has anyone had the problem of the viewer randomly disconnecting from the GS Creator? I connect it, and it loads the game fine. But when I select the start button, it starts to load the game and crashes the viewer. Somewhere along the viewer stops being connected to the Creator. Help please?

Comments

  • quantumsheepquantumsheep Member Posts: 8,188
    What are you testing on?

    Have you tested your game on the viewer and had it work ok at some point?

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • Stryfe01Stryfe01 Member Posts: 146
    never on the viewer. Tonight was my first try. I have not encountered any problems testing in the creator. I saw in the Wiki that I had to make sure multicast was on, it wasn't. But it still crashes.
  • quantumsheepquantumsheep Member Posts: 8,188
    Yes, but what are you testing on?

    The reason I ask, is that some of my games work fine on my iPhone 3GS but crash on my iPod Touch (1st gen).

    This is because my ipod can't handle it, whereas my iphone can as it's a lot more powerful. Testing in the creator doesn't give any indication of how the game will perform on a handheld device as it uses the full power of your Mac.

    Try another game - as in, download a template, or a demo, from the 'Games' section of the site.

    Try this for example: http://gamesalad.com/game/play/58776

    Right click on the download button and it'll download as a .game file.

    Find the file, change the extension to .zip instead of .game, then double click the new zipped file.

    You should get a new file with a 'gameproject' extension.

    Double click that to open it up in GS - then try the viewer again.

    If it works, there's something amiss with your game. If it doesn't work, then you have a viewer problem (probably).

    Hope that helps,

    QS :D

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • Stryfe01Stryfe01 Member Posts: 146
    I tried that and it is the game. Looking through the code though, and i don't see any issues. The only thing coded so far for the title menu is a simple change scene. Could it be my build of the viewer? I built it as iphone device 3.1.3 release.
  • quantumsheepquantumsheep Member Posts: 8,188
    I don't think that should be an issue.

    Check through and make sure there are no 'blank' bits - i.e. places where you might have spawned an actor, then deleted the actor so that it's spawning 'nothing'. Or there may be missing variables etc...

    In the scene linked to from the menu, is there a lot going on? Does the game load up at all, or does it crash before that. How big is your game etc etc

    Without seeing the code, I couldn't tell you what the problem is in truth.

    Good luck!

    QS :D

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • Stryfe01Stryfe01 Member Posts: 146
    The project size is about 16mb including everything. I went through and found the issue. The stupid instructions were linking to "scene1" and there was no scene 1. Not sure yet why it would affect it since I wasn't touching that image. Thanks quantum!
  • quantumsheepquantumsheep Member Posts: 8,188
    No worries fella - that kind of thing (MIA variables/scenes/whatever) do adversely affect things.

    As you now know! :)

    QS

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

Sign In or Register to comment.