2013-10-24 ctorã¨ãinitã¨ãonEnterã¨ã cocos2d-html5 cc.Layerãç¶æ¿ããã¨ããåæåã®ã³ã¼ãã¯ã©ãã«æ¸ãããããã®ãã ããã§åæåã¨ããã®ã¯ãä¾ãã°ã¹ã³ã¢ã0ã«åæåããããã¬ã¤ã¤ã¼ã«ã¹ã³ã¢ã表示ããã©ãã«ãè²¼ãä»ãããã¨ãªãã ãã©ãã©ãã«æ¸ãã®ãæ£ããã®ããcc.Layerãç¶æ¿ããã¯ã©ã¹ã§ã¯ãã¤ã³ã¹ã¿ã³ã¹ã®ä½ãæ¹ã¯ãããªæãã Game.create = function () { var layer = new Game(); if (layer && layer.init()) { // ããã§åæåãã¦ãåããã¨ã¯åããã ãã© // ã¯ã©ã¹ã®æ©è½ãªãã¯ã©ã¹ã®ä¸ã«æ¸ãã¹ãã ã¨æã ... return layer; } return null; }; createã®åé ã§ãctorã¨initãï¼ãã®é çªã§ï¼å¼ã³åºããããã¨ãããã
ãããã³ã²ã¼ã ãºã®å°æã§ãã æè¿æ³¨ç®ã®cocos2d-xã§ãããJavascript Bindings ã§ã®éçºã¯ã©ããªããã§ããããã調ã¹ã¦ã¿ã¾ããã çµè«ã¨ãã¦ã¯ãå®å ¨ã«JavaScriptã®ã¿ã§ã²ã¼ã ä½ãå§ããã®ã¯ã¾ã å°ã課é¡ãããããããå°ãçµã¦ã°ããæãã«ãªãããï¼ã¨ããã¨ããã§ãã 以ä¸ãver2.1.3ç¾å¨ã§ã®è©±ã§ããcocos2d-xã¯éçºã»ã³ãã¥ããã£ã¨ãã«æ´»çºãªã®ã§ã以ä¸ã®å 容ãåå¹´å¾ã«ã¯éå»ã®è©±ã¨ãªãJavascriptBindingsã天ä¸ã¨ã£ã¦ãããããã¾ããã çç±ï¼ï¼JavaScriptããéä¿¡ãã§ããªã ã©ããã¦ãéä¿¡ãããå ´åãèªåã§ãã¤ã³ãã£ã³ã°ãç¨æããçã®è§£æ±ºãããå¿ è¦ãããã¾ãã ãªãã£ã·ã£ã«ã§ã¯ã次ã®ãã¼ã¸ã§ã³ã§ãã2.1.4ã«ã¦ XMLHttpRequest ãå®è£ äºå®ã®ããã§ããã¾ããwebsocketã使ããããã«ããã¨ãã楽ãã¿ã§ããï¼
Did you know you can make a Cocos2D game that runs on the iPhone, Mac, Android, and web all sharing the same exact code? Donât believe me? Try clicking the screenshot over on the right â itâs actually a Cocos2D game! You can do this with an amazing new Cocos2D technology called Cocos2D Javascript. It allows you to write your gameplay code once, and run it anywhere â with full native speed. The onl
ãã«ããã©ãããã©ã¼ã åã3Dã²ã¼ã éçºç°å¢ãUnityããç¡æã®2Dã²ã¼ã éçºãã¬ã¼ã ã¯ã¼ã¯ãcocos2d-xããenchant.jsããªã©ãå¤ãã®ã¢ãã¤ã«åãã²ã¼ã ã¨ã³ã¸ã³ãã²ããããªããä½ã使ãã°ããã®ããæéã欲ããã¨ããã®ãéçºè ã®æ¬é³ã ããããããªå£°ã«å¿ãããã®ããã«11æ12æ¥ï¼ç«ï¼å¤ãã¯ã«ã¼ãº<2138>主å¬ã®æè¡åå¼·ä¼ã»ç¬¬7åããã¯ãã«ãºãGame Engines!!ï½ã©ã®ã²ã¼ã ã¨ã³ã¸ã³ãé¸ã¶ï¼ï½ããå æ¬æ¨ãã«ãºã§éå¬ããããå®å¡ãå½åã®300åãã570åã«å¢å¸ãã¦å®æ½ãããªã©é¢å¿ã®é«ããããããããã¦ããã£ã»ãã¯ããã¸ã¼ãºã»ã¸ã£ãã³ååä¼ç¤¾ã®å®è¤åå¾æ°ãã¯ãããããããã®ã¨ã³ã¸ã³ã«ç²¾éããç»å£è ãè¬æ¼ãã¾ãAimingã®ç§éå ä¿æ°ããUnityã§è£½ä½ãããå¹»å¡æ¦è¨ã°ãªãã©ã³ãã®éçºè£è©±ã話ããªã©æ¿å¯ãªè¬æ¼ãç¶ããæå¾ã«ããã¯ãã«ãºã®æè¡å±é·ã§ããã¯ã«ã¼ãºã®æµ¦ç°ç¥è¼æ°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}