The problem:
The arguments to new or create are not pass to the create function.
Solution:
E:\cocos2d-x\cocos\scripting\lua-bindings\script\cocos2d\functions.lua
line 198:
change
cls.__create = function() return super:create() end
to
cls.__create = function(...) return super:create(...) end
Thank you
Andre
This change would break some existing code and should not be done.
The problem is that ctor() is also invoke with these arguments.
create() and ctor() normally do not take the same arguments this breaks create.
If you derive a class from an object that needs arguments then the nest thing is to override both create() and ctor().
It is not that common anyway.
Andre