Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
johndpope committed Apr 5, 2014
1 parent 1b4d3eb commit 509d5d6
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CCBox2D.podspec
Expand Up @@ -9,7 +9,7 @@ Pod::Spec.new do |s|
}
s.author = {'axcho' => 'axcho@axcho.com/'}
s.source = {
:git => 'git://github.com/jdp-global/CCBox2D.git',:commit => '9fc87365666d164302e6cce348726cb69b86c0bf'
:git => 'git://github.com/jdp-global/CCBox2D.git',:commit => '1b4d3eb240f544156c6667a48c6382a88200adb3'
}
s.platform = :ios, '5.0'
s.framework = 'Foundation', 'OpenGLES'
Expand All @@ -19,6 +19,6 @@ Pod::Spec.new do |s|
s.ios.source_files = 'CCBox2D/*.{h,m,mm,cpp}'
s.osx.source_files = 'CCBox2D/*.{h,m,mm,cpp}'

s.dependency 'cocos2d'
s.dependency 'cocos2d'', '2.1'
s.dependency 'box2d'
end
46 changes: 46 additions & 0 deletions README.md
@@ -0,0 +1,46 @@
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](/screenshots/kirbydemo.png "Apply Force demo")


Hook into callbacks on touch / start collision / end collision
![Alt text](/screenshots/CCbodysprite.png "Sample Code")



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

0 comments on commit 509d5d6

Please sign in to comment.