For the error in:
layer->setPhysicsWorld(scene->getPhysicsWorld());
Do you have (in GameScene.h
) ?
cocos2d::PhysicsWorld *physicsWorld;
void setPhysicsWorld(cocos2d::PhysicsWorld *withWorld) {physicsWorld = withWorld;};
For the error in:
layer->setPhysicsWorld(scene->getPhysicsWorld());
Do you have (in GameScene.h
) ?
cocos2d::PhysicsWorld *physicsWorld;
void setPhysicsWorld(cocos2d::PhysicsWorld *withWorld) {physicsWorld = withWorld;};
Yes, this was solved.
My problem now is only with the crash as happen on video.
Thanks.
Bug screenshot:
When i call:
Method:
void Character::showJumpAnimation(const bool &repeat)
Obs:
On all animations that i want call i get error, i dont know why.
Thanks.
Hi ppl,
Any help?
Thanks?