We will port the Swift project we created in the last chapter to Android.
The process of creating the project in SpriteBuilder is the same as in Swift; however, obviously, this time, the code needs to be in Objective-C.
Once the project is created in SpriteBuilder, we can open the project in Xcode 6.1.1 and even run the project to make sure there are no build errors.
The built project should run on our device as shown in the following screenshot:
Now, as in the Swift project, we have to create a
Rocket class. So, we create a new class called
Rocket.m files should look similar to the ...