My first three levels load fine on simulator, but not on Device..

I have created the first three levels of my game using lime/Tiles that I purchased. Unfortunately they don’t work on the device. I was wondering why that is, or what possible things could keep the device from loading the maps. I didnt see anything in the forums about it.

The game loads fine on the device (main menu), its just the levels made with Lime. the game crashes before displaying anything… any suggestions would be appreciated. :slight_smile:

~Jeff [import]uid: 12540 topic_id: 13877 reply_id: 313877[/import]

[continued]
My device is a 3rd generation itouch, which has ios4. The maps for the game are not that big (960x320) with about 5-6 objects and 20 so collision point objects… I want the app to run on this generation of the device, so If I cant figure out the problem I will have to scrap Lime from development and look at it again later for a future project. I do rly like Lime/and Tiles though. It is a developers dream…

~jeff [import]uid: 12540 topic_id: 13877 reply_id: 50991[/import]

If you aren’t already… Use a main menu first, then have a button to say load each level for testing (then they load after that button press)

If your trying to go straight to a map and it takes longer to load than the time IOS expects a callback from your app, it will just crash (or quit)

So …

Main menu (even just a image to test)
Buttons for going to level1, 2, 3

>

Map

Try that and see if it helps. [import]uid: 6981 topic_id: 13877 reply_id: 51015[/import]

@infuseddreams, I do have a menu with buttons to each level. the game launches fine but crashes when one of these buttons are pressed. I then put a splashscreen before each level. It didnt help as the splashscreen loaded but it crashed when it got to the level lua file…

~jeff gbk [import]uid: 12540 topic_id: 13877 reply_id: 51026[/import]

Correction: I’m testing on a 2nd Gen iTiouch with iOS V4.2. [import]uid: 12540 topic_id: 13877 reply_id: 51067[/import]

@jeffgreenback

Could you please send a zip file of the problematic code & any assets needed to run it to : danny@anscamobile.com and I will look into it for you.

Thanks [import]uid: 84637 topic_id: 13877 reply_id: 51430[/import]

Also please send it to support@justaddli.me and I will also see if I can solve it. [import]uid: 5833 topic_id: 13877 reply_id: 51555[/import]

Thank you both very much! Sent :wink: [import]uid: 12540 topic_id: 13877 reply_id: 51614[/import]

Not sure if this is any help as I’m new to all this, but the 2ng Gen iTouch is very, very slow now. (I own one).

iOS 4 should have never been released for it, it struggles. You’ll probably find its the actual iTouch being limited on memory. Try it on a newer model and I’m fairly confident it’ll work fine. [import]uid: 61052 topic_id: 13877 reply_id: 62043[/import]

That is a good point yea, some of the older models will struggle very much. [import]uid: 5833 topic_id: 13877 reply_id: 62086[/import]