Game Development Community

Other Device calls Unknown Level. Does not run

by rennie moffat · in iTorque 2D · 04/20/2011 (5:12 pm) · 5 replies

Hi there,
I am testing my app on my 4G iPod and it is fine. However, I went to run it on my 2G iPod and I get the eventual message that ...

--------Loading Resource file game/PlatformerArt/stageSelectResources.cs
--------Adding to Level game/data/levels/stageSelect.t2d
Error loading level game/data/levels/stageSelect.t2d. Invalid file.


This is fine, as I have no stageSelect.t2d but my default is emptyLevel.t2d set in the commonConfig and I reloaded and ran the game in iTGB to recompile the dso's etc. Complete unsure what to make of this. ANy advice would be appreciated.


Thanks.

About the author

My thanks to Garage Games and the Garage Games Community combined with owned determination I got one game up, Temple Racer and I am looking to build more interesting, fun games for the mass market of the iOS app store.


#1
04/20/2011 (7:31 pm)
is there an error before?
its very well possible that loading failed due to out of memory as the ipod 4g has normally about 130mb RAM available for apps, while the ipod 2g has 25-35mb
#2
04/20/2011 (7:50 pm)
Hmmm. Possibly Marc. It is my demo and as such I have a lot of of unPOT images. I will check it out in a bit. Hockey game is on.
Thanks.
#3
04/20/2011 (8:32 pm)
I can not see any errors. Not even a Memory Warning.


link to console log.
pastebin.com/aRsuuewq







Peculiar. If this is a memory issue, why is it calling a non existent level? Not sure, may clean out all dso's or something tomorrow. As I say it runs fine on 4G.



:s.
#4
04/21/2011 (7:59 am)
Delete all DSO files, run the stand alone app on Mac, clean the Xcode project, then try again. Also, confirm what variable is being used to load the level and what its value is.
#5
04/21/2011 (8:13 am)
Thanks. Will try in a bit.