ios - 如何创建 .sks 文件以在 spriteKit 应用程序中使用

标签 ios sprite-kit

我想创建一个自定义 .sks 文件,并在我的 spriteKit 应用程序中使用它。但我不知道如何创建它。

谁能告诉我有关如何创建 .sks 文件的详细信息。

enter image description here

最佳答案

这些是粒子文件。

要创建一个转到 xcode,File->New->File...

然后一个模态框会弹出去 Resource-> SpriteKit Particle File

selecting a particle file

然后选择粒子类型:

particle type

然后您可以使用右侧栏编辑您的粒子效果:

enter image description here

有关different particles here的更多详细信息

关于ios - 如何创建 .sks 文件以在 spriteKit 应用程序中使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23890443/

相关文章:

ios - ios中ImageView的UIView动画

ios - 通过 setHighlighted 更新 UITableViewCell

ios - 为什么最后调用 DataTaskWithRequest?

ios - Sprite-kit physicsBody apply脉冲

ios - 如何在 Swift/Xcode 中删除 PhysicsBody 轮廓

swift - 如何更改游戏场景中文本标签的文本

swift - 尽管位掩码不同,但 Sprite 碰撞

ios - 两个 View Controller ,一个 View ?

ios - 在 Storyboard 中的 didselectrowatindexpath 上推送 View

ios - 我的 iAd 代码有问题吗?