Search found 3 matches

by barisatamer
Sat Dec 27, 2014 4:30 pm
Forum: R.U.B.E discussion
Topic: Cocos2d-x APP_STL := c++_static problem on Android
Replies: 1
Views: 8224

Cocos2d-x APP_STL := c++_static problem on Android

Changing the line APP_STL := gnustl_static to APP_STL := c++_static in jni/Application.mk causes a strange problem in my project. I discovered that the problem starts with j2b2World (Json::Value& worldValue, b2World* world) method in b2dJson.cpp I guess there is a problem with this code block : ...
by barisatamer
Fri Jan 17, 2014 11:49 am
Forum: R.U.B.E discussion
Topic: EXC_BAD_ACCESS error in GetAngle() in cocos2dx samples
Replies: 3
Views: 7350

Re: EXC_BAD_ACCESS error in GetAngle() in cocos2dx samples

I tried calling GetPosition(), GetMass() methods in RUBELayer::setImagePositionsFromPhysicsBodies() and they all resulted the same error. I think the reason was that the body variable in RubeImageInfo m_imageInfos was not initialized correctly. I tried clearing the m_imageInfos set in RUBELayer::cle...
by barisatamer
Thu Jan 16, 2014 5:44 pm
Forum: R.U.B.E discussion
Topic: EXC_BAD_ACCESS error in GetAngle() in cocos2dx samples
Replies: 3
Views: 7350

EXC_BAD_ACCESS error in GetAngle() in cocos2dx samples

I've created a new project with cocos2d-x-3.0alpha0 and added the files in rube-cocos2d-x-sample-project-src.zip The reload button in sample layers (Images load, Pinball demo, PlanetCute demo, which use images) works fine in Simulator. However, when running on iPad, if I hit the Reload button in the...