我正在使用 Cocos2D-android 为 android 开发游戏,当我尝试使用CCQuadParticleSystem类时,CTOR 只返回 null。我花了几个小时寻找这方面的示例或教程,我发现的只是其他人问同样的问题。它只是返回空值。我的资产文件夹中有我的 .plist 文件 - 与 Cocos2D-X 和 IOS 一起工作的同一个文件。根据 github.com 的好人的说法,它应该可以工作,所以我一定是做错了什么,但就像我说的......当我调用 CTOR 时,它只返回 null 有或没有强制转换:
CCQuadParticleSystem p1 = (CCQuadParticleSystem) CCQuadParticleSystem.particleWithFile("fire.plist");
CCParticleSystem p2 = CCQuadParticleSystem.particleWithFile("fire.plist");
请问,有人吗???
如果有用,这是我正在使用的 .plist 文件