Create the Project

Before you can jump into the fun of building scenes with the Scene Editor, you need to create a new project. Launch Xcode and create a new project using the iOS Game template, like so:

images/BuildingScenesWithTheSceneEditor/scene-editor-new-project.png

For the Product Name, enter valsrevenge. Set the Team, Organization Name, and Organization Identifier to match your Apple developer information.

Set the Language to Swift and the Game Technology to SpriteKit.

Be sure to enable the option to Integrate GameplayKit, which gives you access to the APIs you’ll use in this project.

Finally, disable both the Include Unit Tests and Include UI Tests options if you’re on Xcode 11, or the Include Tests option if you’re on Xcode 12; either way, you won’t be running tests on this project, so you can disable those options.

When you’re done entering all of the information, click Next.

Choose your save location and verify that the Create Git repository on my Mac option is not enabled.

Once you confirm all of the information, click Create to create the new project. If you need additional information about this process, see Create the Project for more details.

With the new project ready and waiting, it’s time to clean up the default template by removing the code and objects you won’t be using in Val’s Revenge.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset