Lights Off – Porting the iPhone app to Cappuccino

A couple days ago, Steven Troughton-Smith decided to try his luck at Cappuccino. With a background in Cocoa programming, and recent work on rewriting Lights Off for the iPhone (the game originally released by Lucas Newman for jailbroken phones), he thought it would be interesting to port Lights Off to Cappuccino.  In only an hour or two, he had the complete app running in a web browser on top of Cappuccino.


Lights Off Final Demo (Cappuccino) from Steven Troughton-Smith on Vimeo.
Steven had to say this about Cappuccino:

Wow, just wow. I’ve spent five mins with Cappuccino and Obj-J, and it feels like home. Because it matches AppKit, I dont have to check docs. I can easily code an Obj-J web app just from what I already know about AppKit, and all the structures and methods are basically the same.

This is a testament to the power of Cappuccino, and the ease with which existing Cocoa programmers can pick it up. Without needing to know any CSS or HTML, Steven was able to get Lights Off running, complete with animations backed by our implementation of Core Animation. He was kind enough to e-mail me his code, which you can download and play around with.

Right now we’re working on tools to boost performance and usability on the iPhone, and once they’re ready we’ll get Lights Off running on the iPhone to show it off. I think everyone will be impressed with how well it works. In the meantime, I hope this inspires you existing Cocoa developers to try out Cappuccino and see what it can do!

Tags: , ,

  • It would be wonderful to have a full IDE (think Xcode/IB) for Cappuccino apps; it would really help CP take off for good.
  • boucher
    http://cappuccino.org/discuss/2008/10/01/using-... Here's a first step towards that.
  • aquaibm
    WOW,that's amazing.Cappuccino sounds like a must-learn to me.
  • Hey all

    Really hope the code is of some use to people, and if you haven't checked out Cappuccino you really must! Most fun I've had writing for web in a long time.

    -S
  • This is incredible. I now need to learn Objective-J! (And C haha)
  • Cappuccino is definitely a game changer for me. I even have my Thesis advisor using Cappuccino for some of the work that he is doing!! :-) Keep up the good work!
  • Very Cool!
blog comments powered by Disqus

Download

Cappuccino and Objective-J are licensed under the LGPL. For more information, see our licensing page.

Copyright © 2009 - 280 North, Inc. Cappuccino and Objective-J are registered Trademarks of 280 North. Logo by Sofa. Hosting by Slicehost.