Chapter 10. Swift/SpriteBuilder Basics

The recipes we will cover in this chapter are:

  • Implementing the Swift syntax
  • Implementing Cocos2d Swift
  • SpriteBuilder basics

Introduction

To learn Swift, we will use Xcode's Playground. Playground is easy to use and you don't have to create an Xcode project to run your code. Also, the code gets compiled and the results are shown immediately, so you don't have to run each time to see the results of your code.

Additionally, we will also look at SpriteBuilder and discuss how we can add assets and sprites with minimal coding. SpriteBuilder can be used to make a simple prototype in a matter of hours instead of days. We will have the basic introduction to it, which should be sufficient enough for you to build up on your own.

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

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