Cocos2d-xã®æ¦è¦
ããCocos2d-xï¼ã³ã³ã¹ãã¼ãã£ã¼ã¨ãã¯ã¹ï¼ãã¯ãä¸è¨ã§è¨ãã¨ã²ã¼ã ãã¬ã¼ã ã¯ã¼ã¯ã§ãã2Dã²ã¼ã ã«æé©åããã¦ãããã²ã¼ã éçºã«å¿ è¦ãªå¤ãã®æ©è½ãæãã¦ãã¾ããææ°ãã¼ã¸ã§ã³ã§ã¯ããªãã¨3Dæ©è½ã¾ã§æè¼ããã¦ãã¾ãã
ãCocos2d-xã¯ãCocos2dã·ãªã¼ãºã®ã¯ãã¹ãã©ãããã©ã¼ã çã§ãããå½åã¯Cocos2d for iPhoneããæ´¾çãããã¬ã¼ã ã¯ã¼ã¯ã§ãããCocos2d-xã¯ä¸å½å京ã«æ¬ç¤¾ãç½®ãChukong Technologiesï¼ãã¥ã³ã³ ãã¯ããã¸ã¼ãºï¼ç¤¾ã管çãã¦ãã¾ãããéçºã¯ã¢ã¡ãªã«ã§è¡ããã¦ãããCocos2dã®çã¿ã®è¦ªã§ããRicardo Quesadaæ°ãæºãã£ã¦ãã¾ãã
ãç¹ã«ãAndroidãiOSåãã®ã¹ãã¼ããã©ã³ã²ã¼ã ã§ããå©ç¨ããã¦ãããã¹ãã¼ããã©ã³ã²ã¼ã ã®ã»ã¼ã«ã¹ã©ã³ãã³ã°ã®ä¸ä½ãè¦ã¦ã¿ã¾ãã¨ã
- ã¢ã³ã¹ã¿ã¼ã¹ãã©ã¤ã¯
- LINEï¼ãã£ãºãã¼ ãã ãã
- å£ã¨éæ³ã®ãã°ã¬ã¹
- ãã¬ã¤ãããã³ãã£ã¢
- FINAL FANTASY Record Keeper
- ãã©ã´ã³ã¯ã¨ã¹ãã¢ã³ã¹ã¿ã¼ãºãã¹ã¼ãã¼ã©ã¤ã
ãªã©ãå¤ãã®ã¿ã¤ãã«ã§Cocos2d-xãå©ç¨ããã¦ãã¾ãã
ããªãããã»ã©ã¾ã§å¤ãã®ã¿ã¤ãã«ã§Cocos2d-xãå©ç¨ããã¦ããã®ã§ããããï¼ ããã¯Cocos2d-xãå©ç¨ãããã¨ã®ã¡ãªãããå¤ãããã§ããä¾ãã°ãAndroidãiOSãå§ãã¨ããã¯ãã¹ãã©ãããã©ã¼ã éçºãè¡ããã¨ãã§ãã¾ããã¾ããªã¼ãã³ã½ã¼ã¹ã§ãããç¡åã§ç¡å¶éã«å©ç¨ãããã¨ãã§ãã¾ããä»ã«ãå¤ãã®ã¡ãªãããããã¾ããããããã«ã¤ãã¦ä¸ã¤ä¸ã¤ç¢ºèªãã¦ããã¾ãããã
Cocos2d-xã®ã¡ãªãã
ã¯ãã¹ãã©ãããã©ã¼ã éçº
ãè¿å¹´ãæ¥æ¬ã«ãããã¹ãã¼ããã©ã³ã²ã¼ã ã¯ãAndroidã¨iOSã§ãªãªã¼ã¹ãããã¨ãä¸è¬çã«ãªã£ã¦ãã¾ããå®éãGoogle Playã¹ãã¢ãApp Storeã®ã²ã¼ã ã»ã¼ã«ã¹ã©ã³ãã³ã°ã§ä¸ä½ã®ã²ã¼ã ã¯ã両OSåãã«ã²ã¼ã ããªãªã¼ã¹ãã¦ãã¾ãããããå®ç¾ããããã«ãå¤ãã®ã²ã¼ã éçºä¼ç¤¾ã§ã¯ãã¯ãã¹ãã©ãããã©ã¼ã éçºã¨å¼ã°ããææ³ãç¨ãããã¦ãã¾ããã¤ã¾ã1種é¡ã®ã½ã¼ã¹ã³ã¼ãã§Androidã¨iOSã®ã²ã¼ã ãä½ã£ã¦ãã¾ãã
ãCocos2d-xã§ã¯ã次ã®ã²ã¼ã ãä½ããã¨ãã§ãã¾ãã
- Android 2.3以é
- iOS 5.0以é
- Windows Phone 8以é
- Mac OS X 10.7以é
- Windows 7以é
- Linux Ubuntu 14.04以é
ãã¢ãã¤ã«ãã©ãããã©ã¼ã ãããã¹ã¯ããããã©ãããã©ã¼ã ã¾ã§ãå¹ åºãã²ã¼ã éçºãè¡ãããã¨ãåãã£ã¦ããã ããã¨æãã¾ãã
ãã¾ãã²ã¼ã ã®éçºè¨èªã¯ãC++ãLuaãJavaScriptããé¸æãããã¨ãã§ãã¾ããå³å¯ã«ã¯ãéçºè¨èªã«JavaScriptãé¸æããå ´åãCocos2d-JSãå©ç¨ãããã¨ã«ãªãã¾ããããã®Cocos2d-JSã¯ãCocos2d-xã®JavaScriptãã¼ã¸ã§ã³ã§ããããã¬ã¼ã ã¯ã¼ã¯ã¯åãã§ããããã«Cocos2d-JSã¯ããã©ã¦ã¶ä¸ã§åä½ããã²ã¼ã ãä½ããã¨ãå¯è½ã§ãã
ãªã¼ãã³ã½ã¼ã¹
ãCocos2d-xã¯ããªã¼ãã³ã½ã¼ã¹ã¨ãã¦éçºãé²ãããã¦ãã¾ãããã®ãããã²ã¼ã ã¨ã³ã¸ã³ã®ã³ã¢ãªç®æã¾ã§ã½ã¼ã¹ã³ã¼ããè¦ããã¨ãã§ãã¾ããæè¡åã®é«ãéçºä¼ç¤¾ã§ã¯ããã©ãã¯ããã¯ã¹åããããã®ããããªã¼ãã³ã½ã¼ã¹åããã¦ãããã¬ã¼ã ã¯ã¼ã¯ãå©ç¨ãããã¨ãå¤ãã§ãããã®çç±ã¯ãã²ã¼ã ã¨ã³ã¸ã³ãèªç¤¾ã²ã¼ã ã«æé©åã§ããããã§ãã
ããã©ãã¯ããã¯ã¹åããã¦ãããã¬ã¼ã ã¯ã¼ã¯ãå©ç¨ããå ´åã¯ãã²ã¼ã ã®ä»æ§ãã²ã¼ã ã¨ã³ã¸ã³ã«é©ãããã®ã«å¤æ´ããªããã°ãããªããã¨ãããã¾ããä¸æ¹ãã½ã¼ã¹ã³ã¼ããå ¬éããã¦ããã°ãã²ã¼ã ã®ä»æ§ã«é©ããã²ã¼ã ã¨ã³ã¸ã³ã«å¤æ´ãããã¨ãå¯è½ã§ãã
ãã³ã³ã·ã¥ã¼ãã¼ã²ã¼ã ã§ã¯ãããããä½ãã²ã¼ã ã«é©ããã²ã¼ã ã¨ã³ã¸ã³ãèªç¤¾ã§éçºãã¦ããä¼ç¤¾ãå¤ãã£ãã®ã§ããããã®ææ³ã¯äººæ°ã²ã¼ã ã®ç§»ãå¤ãããæ©ãã¹ãã¼ããã©ã³ã²ã¼ã ã§ã¯é£ããããããã¼ã¹ã¨ãªãã²ã¼ã ã¨ã³ã¸ã³ã¨ãã¦Cocos2d-xãé¸æãã¦ããããã§ãã
ãã¾ããCocos2d-xã¯MITã©ã¤ã»ã³ã¹ãæ¡ç¨ãã¦ãã¾ããããã¯æ°ãããªã¼ãã³ã½ã¼ã¹ã®ã©ã¤ã»ã³ã¹ã®ä¸ã§ãé常ã«ç·©ããã®ã§ããããã®ã½ããã¦ã§ã¢ãç¡å¶éã«æ±ããã¨ãç¡åã§è¨±å¯ãã¦ããã©ã¤ã»ã³ã¹ã§ãããã®ããCocos2d-xã¯ã誰ã§ãç¡åã§å©ç¨ãããã¨ãã§ããåç¨ã§å©ç¨ããå ´åã§ãå¶éãããã¾ãããç¡åã§ãããããããããCocos2d-xã®å©ç¨ãæ¤è¨ããã¦ããæ¹ã«ã¨ã£ã¦ãCocos2d-xå°å ¥ã®æ·å± ã¯ä½ãã§ãããã
軽éã»å¿«é
ãCocos2d-xã®ã³ã¢ã¨ã³ã¸ã³ã¯C++ã§éçºããã¦ãã¾ãããã®ããã¨ã³ã¸ã³ãµã¤ãºã¯3MBç¨åº¦ã¨é常ã«å°ãããå¿«éã«åä½ãã¾ããGoogle Playã¹ãã¢ãApp Storeã§ã¯ã3GãLTEãªã©ã®æºå¸¯é»è©±ã®åç·ãå©ç¨ããã²ã¼ã ã®ãã¦ã³ãã¼ãã«ã¯ã容éã®å¶éãè¨ãããã¦ãã¾ãããã®ããã3MBããå æããªãã²ã¼ã ã¨ã³ã¸ã³ã¯é常ã«åªãã¦ããã¨è¨ããã§ãããã
ãã¾ããéçºè¨èªã«LuaãJavaScriptãé¸æããå ´åã§ããå®åä½ã§ã¯C++ã«å¤æããå¦çãè¡ããã¦ãã¾ãããã®ããJavaScriptã§ãã£ã¦ãC++ã«éè²ã®ãªã軽快ãªåä½ãå®ç¾ãããã¨ãã§ãã¾ãã
ãæ¥æ¬ã®ã¹ãã¼ããã©ã³ç«¯æ«ã¯ãé«éãªCPUã大容éã®ã¡ã¢ãªãæè¼ããã¦ãã¾ãããããä¸çã«ç®ãåããå ´åããã¼ã¹ããã¯ã®Android端æ«ãã¾ã ã¾ã ç¾å½¹ã§åãã¦ãã¾ããããããã¯æ¥æ¬ã ãã§ãªãä¸çã«åãã¦ã¢ããªãéçºãã¦ããæ代ã§ãã®ã§ããã¼ã¹ããã¯ç«¯æ«ã§ã軽快ã«åä½ããã¨ã³ã¸ã³ãå©ç¨ããã²ã¼ã ãä½ã£ã¦ããã ããã°ã¨æãã¾ãã
éçºç°å¢
ãCocos2d-xã¯ãæåã§ãè¿°ã¹ãããã«ããã¬ã¼ã ã¯ã¼ã¯ãã§ãããã®ããéçºç°å¢ã¯èªå好ã¿ã®ãã®ãç¨æãããã¨ãå¯è½ã§ããæ¥æ¬ã§ã¯ãAndroidã¨iOSã®ã²ã¼ã ãéçºããã¦ã¼ã¶ãå¤ããããMacä¸ã§Xcodeãå©ç¨ããiOSã¢ããªéçºãã¡ã¤ã³ã¨ããå®æçã«Eclipseãå©ç¨ãã¦Androidã¢ããªã®åä½ç¢ºèªãè¡ããã¨ã好ã¾ãã¦ãã¾ããã¾ããWindowsã¦ã¼ã¶ã®å ´åã¯ãEclipseã ãã§ãªãVisual Studioãå©ç¨ãããæ¹ãå¤ãã§ããä¸æ¹ãCUIã«ãããã«ããå¯è½ã§ãããããJenkinsã«ããä¸é£ã®èªååãå¯è½ã§ãã
ãéçºè¨èªã«LuaãJavaScriptãå©ç¨ããå ´åã¯ãçµ±åéçºç°å¢ã§ããCocos Code IDEãå©ç¨ãããã¨ãã§ãã¾ããããã¯Chukongã«ããéçºãé²ãããã¦ãããç¡åã§å©ç¨ãããã¨ãã§ãã¾ããWindowsã¨Macã§å©ç¨å¯è½ã§ããç¡åã ããã¨ãã£ã¦ãç°¡æçãªãã®ã§ã¯ããã¾ãããã³ã¼ãã¨ãã£ã¿ã«ã¯èªåè£å®ã»ã³ã¼ããã³ãã»ã³ã¼ãã¹ãããããªã©ã®æ©è½ãæè¼ããã¦ãããå°ç¨ã·ãã¥ã¬ã¼ã¿ã«ããã©ã¤ãã³ã¼ãã£ã³ã°ãè¡ããã¨ãå¯è½ã§ãã
ãCocos2d-xã«ã¯ãå°ç¨ã®UIã¨ãã£ã¿ã»ã¢ãã¡ã¼ã·ã§ã³ã¨ãã£ã¿ãããã¾ããããã¯Cocos Studioã¨å¼ã°ãããã®ã§ãããã¡ããChukongã«ããéçºãé²ãããã¦ãããç¡åã§å©ç¨ãããã¨ãã§ãã¾ããç¾å¨ã¯ãã¼ã¸ã§ã³2ã§ãããWindowsã¨Macã§å©ç¨å¯è½ã§ãããã¼ã¸ã§ã³1ã®é ã¯Windowsã®ã¿ã§ããããã¦ã¼ã¶ããã®Macã®è¦æãå¤ãããã¼ã¸ã§ã³ã¢ããã¨ã¨ãã«ä¸¡OSã«å¯¾å¿ãã¾ããã
ãCocos Code IDEã¨Cocos Studioã¯ãCocos2d-xã¨åãå ¬å¼ãµã¤ãã®ãã¦ã³ãã¼ããã¼ã¸ãããã¦ã³ãã¼ããããã¨ãã§ãã¾ãã