Time based crashes only on iPhone
jault01
Member Posts: 25
So my game crashes only on the iphone, not in the GameSalad preview and not if I view it as web. I have 6 stages on my game. 2 30 second stages that do not crash, 2 45 sec and 2 60 sec stages that crash around the 30 second mark. Anyone have any clue as to why it only crashes on iPhone? Also I can no longer publish to web.
Comments
does it crash when you preview it on the iphone through the gamesalad application? So you plan the game on the iPhone, but it records the stats on your machine?
also, do what tshirtbooth said, try switching the 45 sec and 60 sec stanges to be 30 sec stages and see if they still crash.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
30 fps average during play
42.2 mb images
2.9 mb sound
15.4 mb engine
3.9 mb other
64.3 total mb during right before the crash happens.
The total project size is only 6.9 mb
I am really confused why it would crash. I basically have the 6 stages set up so you can play one after another. I also have it so you can load any of the 6. Stage 6 being the hardest, has the most images and objects. I can select just stage 6 and play it through with no crashes, but once in a while it will freeze and crash. I can also play all the way from level 1 and have it crash on 3, or make it all the way to 6 and it will crash. It seems to make no sense.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
Also, make sure you compress them using any method you wish. Are you using PNGs? Bitmaps? JPGs?
This is a great online resource for shrinking your PNGs:
http://www.gracepointafterfive.com/punypng/
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
Images 8.9
Sounds 2.9
Game Engine 16.4
Other 7.0
Total 35.1
The game still randomly crashes. I have deleted animation and used stills on everything except my animation for characters. Any other ideas of what to look at? I have also changed all backgrounds to compressed jpegs and those files went from around 200-250 down to 30-60 kb which are much smaller. I am again really confused.
when it crashes, what's the memory up to?
does it crash at the same part or is it always random? Could you try converting your images to PNG images? I've read the iphone handles them better.
How many actors do you usually have on screen when it crashes?
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left