1

I'm tring to open box2d debugDraw in Lua. As I know in Cpp, we need to override CCLayer:draw() function. But in Lua, I can't get the override work done. Did you guys have idea about it?

Alex1989
  • 21
  • 2

1 Answers1

1

I implement a class derived from CCNode in C++ which override the draw method then binding with Lua. Whenever you add it into, it works!

Alex1989
  • 21
  • 2