Page 1 of 1

Question related to the box2d samples

Posted: Sat Feb 22, 2014 9:08 am
by drbytes
Hello

I've just bought the editor yesterday and I'm quite impressed, both with the product and the information provided.

I'm now trying to get the sample working with cocos2d-x v3 beta but the compiler doesn't like the BasicRUBELayer, ie :

Code: Select all

virtual void ccTouchesBegan(cocos2d::CCSet* touches, cocos2d::CCEvent* event);
throws a compile error :

Code: Select all

'cocos2d::Layer::ccTouchesBegan': function declared as 'final' cannot be overridden by 'BasicRUBELayer::ccTouchesBegan'
I'm I missing something?
I'm developing with vs2013 on windows.

cheers

Re: Question related to the box2d samples

Posted: Sat Feb 22, 2014 11:41 am
by iforce2d
Unfortunately I can't answer that directly since I haven't tried with v3 myself, but you might find something useful here: https://github.com/meiry/rube-cocos2d-x ... le-project