Question related to the box2d samples

General discussion about the R.U.B.E editor
Post Reply
drbytes
Posts: 1
Joined: Sat Feb 22, 2014 8:56 am

Question related to the box2d samples

Post 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
iforce2d
Site Admin
Posts: 861
Joined: Sat Dec 22, 2012 7:20 pm

Re: Question related to the box2d samples

Post 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
Post Reply