CodeAndWeb / GBox2D

Box2D wrapper for cocos2d + box2d, works perfectly with PhysicsEditor
http://www.physicseditor.de
50 stars 18 forks source link

Sprite does not get added to screen. #5

Open basilabbassv opened 11 years ago

basilabbassv commented 11 years ago

Even after calling the function [self addChild:[[Floor floorSprite] ccNode] z:20];

Only the physics shape gets added to screen. The sprite itself does not get added. Looking into the code I believe adding the CCSprite that is sub classed as a CCNode is failing.