Problems with game on GSviewer

BasGoodboyBasGoodboy Member, PRO Posts: 310
Hey all, so I succesfully installed GSviewer today, and my game is working on it..

Well working.. the loading times are awfull and some scenes just keep loading but don't pop up eventually..

Is this how the app would be on the appstore too or has GSviewer some difficulties?

GSviewer says about the current size of my game:

30,5MB, of which 12,5MB for the engine.

Is that too big??

And on normal preview I can hop to other scenes, but in GS viewer some scenes just keep loading for minutes and still don't pop up.

Any ideas on this?

Comments

  • BasGoodboyBasGoodboy Member, PRO Posts: 310
    edited August 2013
    The actor clicked for going to this other ' vendor' scene, which is the scene that doesn't load in GS viewer but does in Creator preview is very simple:

    When touch is pressed change scene to vendor :-S

    How can this load so long. There are many actors on the vendor scene and it might be the biggest actor-like scene in the game.. does that has to do with it?

    I also have blacksmith scene which has maybe 2 times less actors, but this scene gets loaded in within 3 seconds.

    Also.. I have waited now for 2 minutes and the vendor scene just doesn't pop up!
  • BasGoodboyBasGoodboy Member, PRO Posts: 310
    edited August 2013
    After making an AdHoc version of my game I see the vendor scene still won't load in.

    What could be wrong with it, I might try and remake the whole scene but that's a day of work :(

    Edit: After 3 minutes straight.. the scene opens!
    I hoped maybe after a one time visit to this scene every time it opens quicker, but this is not the case, it keeps being a long loading time of 3 minutes every time.

    My guess is it has to do with the many actors on it..
    Could someone verificate this? Altho, like i said.. my blacksmith has maybe 50% of this actors but is loading much much much faster (3 seconds).

    Any way of making the scene faster?
  • BasGoodboyBasGoodboy Member, PRO Posts: 310
    The strangest thing of all things is that, when i click the actor in the main scene which does the ' on touch > change scene to vendor', it takes 3 minutes to come there.

    But if i click the actor and right away press the home button of my iphone, and retouch my game icon to return to my game, the vendor is there straight away.. so apparently it's not the vendor itself taking so much time so there must be some kind of bug.
  • mataruamatarua Auckland, New ZealandMember Posts: 854
    This is usually due to bung code - or bad table data. It will be your job to figure that out. Try deleting the app completely from everything - adhoc - GS viewer (clear list) - see if that helps. If it does not then you have bad logic or bung table data. Destroy and spawn an actor where there's the same actor but as unlocked instances can also do things like this too. To solve it you can try and save a new project. Delete half the stuff on the stage. Test? Problem do the same until you find the rogue code and actor. If the problem goes away, you know it was in the stuff you deleted. Hope this helps.
  • BasGoodboyBasGoodboy Member, PRO Posts: 310
    @matarua, that would probably help, but i have many actors (like 300) and to delete them all one by one and test if it works.. i don't know.

    I think im gonna remake the scene thats bugged.
  • mataruamatarua Auckland, New ZealandMember Posts: 854
    @BasGoodboy if you re-read what I said above...

    "To solve it you can try and save a new project. Delete half the stuff on the stage. Test? Problem do the same until you find the rogue code and actor. If the problem goes away, you know it was in the stuff you deleted."

    To make this clearer if you need - you delete half the stage - if the problem persists you know it is still on the stage. Then you delete another half of the stage. If the problem goes away then you may have found your issue.

    The quickest way to do this is through the text based scene layer inspector. You could delete 100 actors in a minute through there.

    Gamesalad automatically jumps to the next actor in the placement order. So you can just whack delete a bunch of times. Check your progress in the layer inspector.

    Hope this helps!

    Doing it all again is also another option :)


Sign In or Register to comment.