Hello, i would like to know if there is a documentation about the methods of cocos2d-x.
I looked into the Documents section but there is no information there, and the ones you can find have the link broken. I would like to know the Sprite method, Layer methods, etc.


Hi, santi

The API documentation for cocos2d-html5 2.2.2 is here:
It’s organized by class hierarchy, so if you want cc.Layer, you can click on the plus button on the left of cc.Node, and cc.Sprite is in cc.Node->cc.NodeRGBA->cc.Sprite

And if you have any suggestion on the usage of our site, api doc or the engine itself, you can tell us on the forum too.



Great!! that was exactly what i was looking for! I was trying to figure out if it was possible to change the size of a sprite but without this is impossible to know jeje.
Thanks! i will look at this!