空应用程序混合Sprite套件 [英] Mixing Sprite Kit with Empty Application

查看:63
本文介绍了空应用程序混合Sprite套件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在使用默认值为Empty Application的iPhone开发一个应用程序.这意味着Xcode创建的唯一对象是AppDelegate.

I am currently developing an application for the iPhone with the Empty Application default. This means that the only thing created by Xcode is an AppDelegate.

.pch文件中唯一导入的框架是<Foundation/Foundation.h>框架.

The only framework imported in my .pch file is the <Foundation/Foundation.h> Framework.

这对于我的大多数应用程序都是可行的,但是在某些地方,我想使用SpriteKit.
是否可以在使用Empty Application默认值的应用程序中使用SpriteKit框架?

This is working out for most of my application, but in some places, I would like to use SpriteKit.
Is it possible to use the SpriteKit framework in my application that uses the Empty Application default?

之所以这样问,是因为通常情况下,如果要使用SpriteKit,在Xcode中创建新项目时必须特别选择Sprite Kit Game默认值.

I'm asking this because normally, I have to specifically choose the Sprite Kit Game default when creating a new project in Xcode if I want to use SpriteKit.

推荐答案

是的,这是绝对可能的.您只需要像其他框架一样将SpriteKit框架添加到空项目中,然后从那里进行所需的设置即可.祝你好运!

Yes, it's absolutely possible. You will just have to add the SpriteKit framework to your empty project like any other framework and do the required setup from there. Good luck!

这篇关于空应用程序混合Sprite套件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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