Do you know any cocos2d-x game with a “Navigation Drawer” menu?
Navigation Drawer examples:
Any ideas or extensions to do it?
One way to do this is to create a CCLayer object on top of the current layer, then have that layer positioned with a negative X value.
If you need a native drawer, then you’d have to code the drawer in Java then expose it to C++ using JNI.
Please help how to make Navigation drawer in cocos2dx
Hi ankit,I did what lance_gray suggested me.
A positioned left layer (-x) and when you touch down and move, on a 20% of the screen with left side, yo drag the layer.