Help !!!! My game works on gameSalad, but not on my iPad this morning !

galbangalban Member Posts: 62
edited November -1 in Working with GS (Mac)
This morning my game does not work on my ipad (after a new publication). It reebot after my logo and before the presentation

Without any reason, then it works on gamesalad.

if i change the level order, my game reboot after the 1 level.
i think there are a new bug in gamesalad, and my game reboot after the 2 loading

Comments

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    double check the scene that is failing. It sounds like you might have a rule somewhere that has a bad attribute or trying to play a sound file you've deleted. The GS Program seems to handle these better than the iPhone or iPad, so thats probably why you never noticed it.

    make sure you double check your 'otherwise' statements. What can happen is if you have a rule that says "if attribute.CustomAttribute is equal to 5, do this", and then you delete the CustomAttribute from the attributes list, that rule breaks. it becomes this "if attribute. is equal to 5, do this"
  • galbangalban Member Posts: 62
    Thanks, but i determined that the scene is a problem that displays the logo of my company. It is a series of 64 images. There are only two rules:

    1/ Animation: Displaying 64 images
    2/If self.image = last image -> Go to Intro Scene

    I also tried using a timer but my game also planted randomly after loading the scene.

    I never had a problem with this scene before and I have not changed this scene.

    I feel that more my project is important, more GS does not release memory properly. because this bug occur since my project (for iPad) > 50 Mo.

    It's very worrying, I'm afraid to market a game that crashes randomly.
  • StusAppsStusApps Member, PRO Posts: 1,352
    Hi

    What resolution are the images?
  • galbangalban Member Posts: 62
    64 images : 1024*768
    Total size : 1.70 Mo

    thanks
  • galbangalban Member Posts: 62
    Resolution PNG - 24 bits
  • StusAppsStusApps Member, PRO Posts: 1,352
    ouch!!!

    a 1024x768 image might look like a small file size as a png, but when run on the device it is uncompressed.

    to work out how much that is using:

    1024x768 = 786432 pixels

    Each pixel will be 4 bytes uncompressed in a 24bit png (3 with no alpha). So each image is 3.1 meg uncompressed in ram. Multiply by 64 images and you are way over your 120mb application space on an ipad before you start.

    Therefore, instant crash. GameSalad or not, this is not gonna work. If you can make you logo smaller to fit in the middle of the screen, like 600x300 then you'll be ok.
  • StusAppsStusApps Member, PRO Posts: 1,352
    as an example in hotel rush i had 30 unique characters, each was about 640 x 350. By the time the other bits of graphics and engine were in it was crashing out all the time, had to compromise a bit of clarity and bring them down to 400 x something.

    The only thing that makes a difference is resolution.
  • galbangalban Member Posts: 62
    ok thanks. I deleted this scene.
    But gamesalad can not read a video ?
  • StusAppsStusApps Member, PRO Posts: 1,352
    nope, not yet.

    smaller animations would be ok, just not full screen.
  • giacomopoppigiacomopoppi Member, PRO Posts: 914
    this always happens when you dont have the viewer up to date :)
    try reloading it on the device :)

    EDIT: Oh, have you already solved the problem??
  • galbangalban Member Posts: 62
    This problem is random. I tried to reimport the pictures, but the problem persist. I think StusApps is right this scene is too big.
Sign In or Register to comment.