我正在尝试移植一个使用 SpriteKit 的项目,但我遇到了这些类的问题:
SKPhysicsBody
L_OBJC_CLASSLIST_REFERENCES_$_63: error: undefined reference to 'OBJC_CLASS_$_SKPhysicsBody'
scons: building terminated because of errors.
是否Apportable支持 SpriteKit 吗? 我该怎么办?
最佳答案
Apportable 支持 Sprite Kit。但在撰写本文时(2014 年 2 月),它还不支持物理学。您现在必须避免引用/使用任何 SKPhysics* 类。
更新 2014 年 6 月:
Apportable 不再支持 Sprite Kit,目前的工作主要集中在改进 cocos2d-iphone/cocos2d-swift 及其“aporability”。
关于android - 适用于 Spritekit,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21794195/