Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Sample project combining the great tastes of Cocos2d-iPhone and RubyMotion

branch: master
README.md

Cocomotion

Example project for RubyMotion and Cocos2d

This is probably not a best practice.

The first thing I noticed was that the bridge compiler (gen_bridge_metadata) for MacRuby/RubyMotion wouldn't traverse the subfolders for Platform/Support in Cocos2d. My banging-two-rocks together solution for now was to fork Cocos2d 2.0rc1 and move all iOS specific header files to the root lib folder. I also removed iOS-excluding #defines in case that was part of the problem too.

My fork that's currently vendored is here

Enjoy!

WHO IS RESPONSIBLE FOR THIS ATROCITY?

Sean Scally twitter github

The fine folks at Cocos2d-iPhone and RubyMotion!

Discomfortingly Optimistic To-Do List

  • Find a way to not have to move header files to root
  • Create CocoaPod
Something went wrong with that request. Please try again.