Skip to content

johndpope/CCBox2D

 
 

Repository files navigation

CCBox2D-Test

Alpha Testing of CCBox2D pod

This project ports across all the c++ sample code for box2d from cocos2d-iphone. This is a work in progress.

In App Delegate

// switch this to run normal box2d demos if (0){ [scene addChild: [MenuLayer menuWithEntryID:0]]; }else{ [scene addChild: [[CCBox2DView alloc] initWithEntryID:0]]; }

Alt text

Hook into callbacks on touch / start collision / end collision Alt text

Podfile

platform :ios, '5.0'

# Using the Default
pod 'box2d'
pod 'cocos2d'
pod 'CCBox2D' , :podspec => 'https://raw.github.com/jdp-global/CCBox2D/master/CCBox2D.podspec'

Goals

create ports of demo sample code across. Stabilise Pod

About

a cocos2d-flavored wrapper for Box2D

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 85.2%
  • C++ 9.9%
  • C 2.1%
  • Python 1.7%
  • Ruby 1.1%