当我运行我的游戏时,当我点击开始按钮加载关卡时应用程序崩溃。我在调试器控制台中没有看到任何错误,我的游戏使用 cocos 2 d 和 x 代码。我在下面得到一个断点。线程 1 显示 NS 对象执行选择器存在问题。
请帮我解决最后一个问题。当我按开始加载级别时,应用程序崩溃了,我没有收到任何错误:
debugger2013-07-17 12:28:06.554 QuexlorLite[1501:c07] main.m: Creating an instance of ‘Quexlor’
2013-07-17 12:28:06.684 QuexlorLite[1501:c07] KITApp launch started, iOS version 6.1
2013-07-17 12:28:06.885 QuexlorLite[1501:c07] KITApp window width is 480 pixels/480 points, HD=no, Retina available=no (enabled=no)
2013-07-17 12:28:06.886 QuexlorLite[1501:c07] Couldn’t load KITSettings, so initialized with defaults
2013-07-17 12:28:06.887 QuexlorLite[1501:c07] Settings init {
}
2013-07-17 12:28:06.890 QuexlorLite[1501:c07] Couldn’t load KITSettings, so initialized with defaults
2013-07-17 12:28:06.891 QuexlorLite[1501:c07] Settings init {
}
2013-07-17 12:28:06.895 QuexlorLite[1501:c07] Saved settings to ‘~/Documents/savefile0.sav’ {
iPhone = {
LevelObjects = {
RPGPlayer = {
};
};
};
touchMovement = 1;
}
AudioStreamBasicDescription: 2 ch, 44100 Hz, ‘lpcm’ (0×00000029) 32-bit little-endian float, deinterleaved
2013-07-17 12:28:07.181 QuexlorLite[1501:c07] KITApp launch took 0.50 seconds
im getting a breakpoint here:
+(NSString*) defaultLevel
{
return @”forest01.tmx”;
}