Cocos2d-html5

This demos shows

  • Custom node draw. Everything you see is in the draw method of a node.
  • A cc.math.Shape object is built to draw the baby lion.
  • The Shape contains 154 paths, which tessellated give approx. 5000 triangles.
  • This demo is drawing actual triangles, not an image representation.