Thank you for your help, I try to write “executeCallFuncDD” to transmit two int parameters to lua , and I succeed.
Now , I have another question.
If I want to use a superclass’s function in subclass object, how do I write in Lua?
I want to new a CCMutableArray object , but in Lua ,it only new a CCMutableArray object.
I use getChildByTag() to get a child, it must be a CCObject type, not CCSprite.