是否必须将项目创建为精灵工具包,或者是否可以简单地添加框架? [英] Does a project have to be created as a sprite kit or can the framework simply be added?

查看:79
本文介绍了是否必须将项目创建为精灵工具包,或者是否可以简单地添加框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我向后退了一步,为我正在制作的2D游戏学习精灵套件,而不是使用UIKit。在我经历过的所有教程中,他们将新项目创建为Sprite-Kit,而不是单视图。只是想知道我是否必须重新创建我的游戏,或者我是否可以简单地将sprite kit框架添加到我现有的项目中?
谢谢。

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.

推荐答案

可以简单地添加框架。

检查< a href =https://developer.apple.com/library/ios/documentation/GraphicsAnimation/Conceptual/SpriteKit_PG/GettingStarted/GettingStarted.html#//apple_ref/doc/uid/TP40013043-CH2-SW3\"rel =noreferrer来自Apple的> Sprite Kit编程指南。 Apple正在从单视图应用程序创建他们的Sprite Kit示例,然后Apple正在为项目添加Sprite Kit框架。

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.

这篇关于是否必须将项目创建为精灵工具包,或者是否可以简单地添加框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆