Does a project have to be created as a sprite kit or can the framework simply be added?

早过忘川 提交于 2019-12-07 02:05:32

问题


I am taking a step backwards to learn sprite kit for the 2D Games I'm making, as opposed to using UIKit. In all the tutorials I've gone through, they've created the new project as a Sprite-Kit as opposed to single-view. Just wondering if I'll have to recreate my games or if I can simply add the sprite kit framework to my existing project? Thanks.


回答1:


The framework can simply be added.

Check the Sprite Kit Programming Guide from Apple. Apple is creating their Sprite Kit's example from a Single View Application and then Apple is adding the Sprite Kit framework to the project.



来源:https://stackoverflow.com/questions/22511751/does-a-project-have-to-be-created-as-a-sprite-kit-or-can-the-framework-simply-be

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!