Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
mzex
Posts: 368
Registered: ‎06-30-2012
My Device: Playbook, Z10LE, DevAlpha C

Cocos2D-x on DevAlpha B

I am making game which is using Cocos2d-x and Box2D physics. I was testing in ot DevAlpha A device, and it was working flawlessly. Today, i test it with DevAlpha B and i got very frequent Sprite flickering, when two sprites overlaps.

 

If someone is getting same error, i found a way to fix  it, just add this line:

pDirector->setDepthTest(false);

 

inside:

 AppDelegate::applicationDidFinishLaunching() method. 

 

With this line, it is working flawlessly on DevAlpha B too.

New Developer
techdutta
Posts: 12
Registered: ‎11-13-2012
My Device: bb10 dev

Re: Cocos2D-x on DevAlpha B

I tried Cocos2d-x on dev alpha B , when i runned BBTemplate its crashing all time ...:mansad:

Developer
mzex
Posts: 368
Registered: ‎06-30-2012
My Device: Playbook, Z10LE, DevAlpha C

Re: Cocos2D-x on DevAlpha B

On my device it is running flawlessly now.