Share this project

Done

Share this project

Done
Cocos2D-PureSwift project video thumbnail
Replay with sound
Play with
sound
DKK 43,565 pledged of DKK 125,000 goal
backers
By Lars Birkemose
DKK 43,565 pledged of DKK 125,000 goal
backers

About this project

Hi, I am Lars Birkemose. 

I am the maintainer and lead developer of the Objective-C based version of Cocos2D.

Since Apple announced Swift, I have been absolutely in love with the language. I think it endorses great programming paradigms, and teaches you to do things the right way. It is a great step forward in making better programs.

I think the next generation of Cocos2D, should be based on Swift.

Platforms supported

With support from RemObjects Software - who will provide the cross platform technology needed - Cocos2D-PureSwift will initially compile for iOS, Android and OS X, and later for Windows, Windows Mobile and .NET.

Development systems

Developers will be able to work on both Mac and Windows. On Windows, PureSwift will support Visual Studio, and on Mac there will be freedom of choice between Xcode, and RemObject's own Fire editor.

Who will it be for?

Cocos2D-PureSwift will be a very strong alternative for anyone coming from other versions of Cocos2D, or from SpriteKit or Unity, and who wants a modern, lightweight, modular and open source 2D API.

PureSwift will be equally great if you work exclusively on Xcode with only iOS in mind, or if you are targeting multiple platforms.

Features

  • Based on the most modern programming language
  • Simple powerful lightweight API
  • Easy to understand, learn from, and expand on
  • 100% open source
  • Automatic batching
  • Advanced layout and placement
  • Simple and flexible asset handling (one size fits all)
  • Native off-screen and multistage rendering
  • Fully data driven design for easy editor support
  • Multi vertex sprites
  • Physics, animations
  • And much much more ...

When?

Why KickStarter?

Why should you pay me money for something that would eventually be 100% for free?

The simple answer is, that without your support, it will not happen. 

Even if I could, I would not want to rely on a single donor, and that is why I have asked for your help. This will be a 24 hour a day job for me, and without support there is no way I can allocate this much time and resources, in such a short period of time. 

If you think the project sounds interesting, please consider supporting it. For both novices and seasoned programmers, this might be a unique chance to get exclusive insight into the development process, and help building the next generation 2D API. 

You can also read more about the nitty gritty details of PureSwift Project

-

And finally, thank you for your time

Lars Birkemose

-

Risks and challenges

There will not be many arguing that Swift is a great language, and that it can be cross compiled.

The single most raised issue has been.
Will it be fast enough?

-

Apple claims Swift will be faster than Obj-C.
Latest benchmarks on Swift2 claims close to C++ performance.

-

In my opinion, the two main bottlenecks in Swift, are reduced code optimisation in debug mode, and ARC. Luckily we can deal with both.

Optimisation will obviously not be a problem in release mode, but it might result in slower performance during development. There are several way of dealing with this, one of them being adding PureSwift as a static library.

ARC will also become a bottleneck, if not delt with properly. While ARC handles most memory allocations, it all comes at a price. Used uncritically, especially on high performance software like Cocos2D, the time spent on retains and releases, will add up.
There are several ways around this. Apart from obviously being aware of the bottleneck and designing around it where possible, low complexity classes should be replaced by structs, and recursive retains of complex classes should be avoided by using class wrappers.

Learn about accountability on Kickstarter

Questions about this project? Check out the FAQ

Support this project

  1. Select this reward

    Pledge DKK 70 or more About $10

    ($10) A strong, warm felt, virtual handshake, and our eternal gratitude.

    Less
    Estimated delivery
    7 backers
    DKK
    Kickstarter is not a store.

    It's a way to bring creative projects to life.

    Learn more about accountability.
  2. Select this reward

    Pledge DKK 140 or more About $20

    ($20) Listed in the official Cocos2D-PureSwift game demo, as a contributor.

    Less
    Estimated delivery
    21 backers
    DKK
    Kickstarter is not a store.

    It's a way to bring creative projects to life.

    Learn more about accountability.
  3. Select this reward

    Pledge DKK 350 or more About $50

    ($50) Listed in the official Cocos2D-PureSwift game demo, as a contributor, including a relevant link of your own choice.

    Less
    Estimated delivery
    12 backers
    DKK
    Kickstarter is not a store.

    It's a way to bring creative projects to life.

    Learn more about accountability.
  4. Select this reward

    Pledge DKK 700 or more About $99

    ($100) All of the above, plus read access to our developers diaries, blog and developer forum, with detailed inside information on development progress and design decisions.

    Also exclusive access to beta releases of RemObjects Software's Silver cross compiler.

    Less
    Estimated delivery
    16 backers
    DKK
    Kickstarter is not a store.

    It's a way to bring creative projects to life.

    Learn more about accountability.
  5. Select this reward

    Pledge DKK 1,400 or more About $199

    ($200) All of the above, plus read access to the git repository.

    Also write access to the development fora, and an opportunity to take an active part in the development process.

    Less
    Estimated delivery
    10 backers
    DKK
    Kickstarter is not a store.

    It's a way to bring creative projects to life.

    Learn more about accountability.
  6. Select this reward

    Pledge DKK 3,500 or more About $497

    ($500) All of the above, plus a RemObjects Software Elements Developer Licence (Priced $799), enabling you to develop cross platform applications in C#, Swift and Oxygene.

    Less
    Estimated delivery
    3 backers
    DKK
    Kickstarter is not a store.

    It's a way to bring creative projects to life.

    Learn more about accountability.
  7. Select this reward

    Pledge DKK 7,000 or more About $993

    ($1000) All of the above, plus listed on the splash screen of the game demo, as a major contributor, including a relevant icon of your choice.

    This will be visible to anyone who runs the included game demo.

    Less
    Estimated delivery
    0 backers
    DKK
    Kickstarter is not a store.

    It's a way to bring creative projects to life.

    Learn more about accountability.
  8. Select this reward

    Pledge DKK 14,000 or more About $1,986

    ($2000) All of the above, plus an active link on the splash screen of the game demo.

    Icon and contributor will be clearly marked as an active link, and will direct the user to a relevant link of your choice.

    Less
    Estimated delivery
    0 backers
    DKK
    Kickstarter is not a store.

    It's a way to bring creative projects to life.

    Learn more about accountability.

Funding period

- (30 days)