O'Reilly logo

Mastering Cocos2d Game Development by Alex Ogorek

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a game in Swift instead of Objective-C

The idea behind using Cocos2d-Swift is to switch over to the new programming language, right? Even though the Swift version of Cocos2d is still relatively new, and everything might not be implemented by the time you read this book, it can still be used as the core language when creating a game. So let's make a very simple game here, building upon the core concepts you just learned and combining them with the knowledge you already have of how the Cocos2d engine works in general.

Why use Swift instead of Objective-C? Because, you should be staying up to date with the latest technologies in the field, and Swift is just the next step in that direction. Also, as the years pass by, Apple may slowly deprecate ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required