{"image_url":null,"type":"rich","provider_name":"Hatena Blog","title":"Cocos2d-lua\u3067\u56db\u89d2\u3092\u8a18\u8ff0\u3059\u308b\u65b9\u6cd5","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fllcc.hatenablog.com%2Fentry%2F2015%2F06%2F25%2F233211\" title=\"Cocos2d-lua\u3067\u56db\u89d2\u3092\u8a18\u8ff0\u3059\u308b\u65b9\u6cd5 - \u3057\u3081\u9bd6\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","categories":["\u305d\u306e\u4ed6"],"description":"\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304d\u307e\u3059\u3002 node\u3092\u751f\u6210\u3057\u3066\u305d\u308c\u306edrawPolygon\u3092\u547c\u3073\u307e\u3059\u3002 local node = cc.DrawNode:create() local points = { cc.p(0, 0), cc.p(20, 0), cc.p(20, 20), cc.p(0, 20) } local color = cc.c4b(51, 51, 51, 1) node:drawPolygon(points, table.getn(points), color, 4, color) \u6ce8\u610f\u70b9\u3068\u3057\u3066\u3001\u56db\u89d2\u306f\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3055\u308c\u307e\u3059\u304cnode\u306e\u30b5\u30a4\u30ba\u306f0x0\u306b\u306a\u308a\u307e\u3059\u3002 \u30b5\u30a4\u30ba\u3092\u8a2d\u5b9a\u3059\u308b\u306b\u306f\u4e0b\u306e\u3088\u3046\u306bse\u2026","width":"100%","published":"2015-06-25 23:32:11","blog_title":"\u3057\u3081\u9bd6\u65e5\u8a18","author_url":"https://blog.hatena.ne.jp/llcc/","provider_url":"https://hatena.blog","blog_url":"https://llcc.hatenablog.com/","author_name":"llcc","url":"https://llcc.hatenablog.com/entry/2015/06/25/233211"}