Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在 sprite-kit 游戏的 launchscreen.storyboard 中放置精灵,以便对它们进行一些操作。就像玩家启动游戏时,他可以看到漂亮的精灵动画。或者还有其他方法可以以这种方式做事?
不,你Launchscreen.storyboard就像一个静态图像,你必须创建另一个viewController像启动屏幕一样的行为来做到这一点。
Launchscreen.storyboard
viewController
创建一个新的viewController并将其设置为应用程序的入口点,然后在其中添加您的东西(精灵、动画等),当您的动画完成时,您可以触发一个事件转到下viewController一个,例如使用计时器.
希望这有帮助;)