{"_id":"5464612f2c77331a00252b9c","version":{"_id":"5463e333447e0a100024a08a","project":"5463e333447e0a100024a087","__v":6,"createdAt":"2014-11-12T22:46:11.486Z","releaseDate":"2014-11-12T22:46:11.486Z","categories":["5463e333447e0a100024a08b","54645c365871e90800f50151","547b1c5a4366a708001b3b50","547b1cdf4366a708001b3b5a","54e3bef8464a9c3700f7ca67","54ec651d7ab3172d00c01ab7"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"__v":22,"user":"54639d06447e0a1000249f7f","is_link":false,"project":"5463e333447e0a100024a087","category":{"_id":"54645c365871e90800f50151","version":"5463e333447e0a100024a08a","__v":4,"pages":["54645c7b2c77331a00252b85","54645df52c77331a00252b8f","54645e932c77331a00252b92","5464612f2c77331a00252b9c"],"project":"5463e333447e0a100024a087","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-11-13T07:22:30.052Z","from_sync":false,"order":0,"slug":"introduction","title":"Introduction"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2014-11-13T07:43:43.288Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"basic_auth":false,"results":{"codes":[]},"try":true,"auth":"never","params":[],"url":""},"isReference":false,"order":2,"body":"##**Why should you use Cocos2d-x C++?**\n[block:html]\n{\n  \"html\": \"<div>\\n\\t<ul>\\n    <li>Uses the modern C++ API</li>\\n    <li>Loads of C++ resources freely available, <strong><a href=\\\"http://www.sonarlearning.co.uk/coursepage.php?topic=desktop&course=cplusplus\\\">you can learn C++ here</a></strong></li>\\n    <li>Cross-platform, supports Desktop and Mobile devices including iOS, Mac, Windows and Android</li>\\n    <li>Can be used to develop on Mac, Windows or Linux</li>\\n    <li>Contains API's for all common game mechanics such as: \\n      <ol>\\n        <li>Sprites</li>\\n        <li>Actions</li>\\n        <li>Animation</li>\\n        <li>File IO</li>\\n        <li>Keyboard Events</li>\\n        <li>Mouse Events</li>\\n        <li>Accelerometer Events</li>\\n        <li>Particles</li>\\n        <li>Plus many more</li>\\n      <ol>\\n    </li>\\n  </ul>\\n</div>\\n\\n<style></style>\"\n}\n[/block]\n##**Why should you use Cocos2d-x Lua?**\nThe same reasons above apply, the only difference is that Lua is used instead of C++. Many Lua developers will find this welcoming plus the **Cocos Code IDE** supports Cocos2d-x Lua but at this moment in time doesn't support C++. Lua is very simple and easy to learn.\n\n##**Why should you use Cocos2d-JS?**\nThe same reasons above apply, the only difference is that JavaScript is used instead of C++. Many web developers will find this welcoming plus the **Cocos Code IDE** supports Cocos2d-JS but at this moment in time doesn't support Cocos2d-x C++. \n\nThe other biggest advantage to using Cocos2d-JS over Cocos2d-x C++ or Lua is the ability to not only developer for Desktop and Mobile but for the Web as well using a single code base.\n\n[**To learn more about JavaScript click here.**](http://www.sonarlearning.co.uk/coursepage.php?topic=web&course=javascript)","excerpt":"","slug":"why-use-cocos","type":"basic","title":"Why Use Cocos?"}
##**Why should you use Cocos2d-x C++?** [block:html] { "html": "<div>\n\t<ul>\n <li>Uses the modern C++ API</li>\n <li>Loads of C++ resources freely available, <strong><a href=\"http://www.sonarlearning.co.uk/coursepage.php?topic=desktop&course=cplusplus\">you can learn C++ here</a></strong></li>\n <li>Cross-platform, supports Desktop and Mobile devices including iOS, Mac, Windows and Android</li>\n <li>Can be used to develop on Mac, Windows or Linux</li>\n <li>Contains API's for all common game mechanics such as: \n <ol>\n <li>Sprites</li>\n <li>Actions</li>\n <li>Animation</li>\n <li>File IO</li>\n <li>Keyboard Events</li>\n <li>Mouse Events</li>\n <li>Accelerometer Events</li>\n <li>Particles</li>\n <li>Plus many more</li>\n <ol>\n </li>\n </ul>\n</div>\n\n<style></style>" } [/block] ##**Why should you use Cocos2d-x Lua?** The same reasons above apply, the only difference is that Lua is used instead of C++. Many Lua developers will find this welcoming plus the **Cocos Code IDE** supports Cocos2d-x Lua but at this moment in time doesn't support C++. Lua is very simple and easy to learn. ##**Why should you use Cocos2d-JS?** The same reasons above apply, the only difference is that JavaScript is used instead of C++. Many web developers will find this welcoming plus the **Cocos Code IDE** supports Cocos2d-JS but at this moment in time doesn't support Cocos2d-x C++. The other biggest advantage to using Cocos2d-JS over Cocos2d-x C++ or Lua is the ability to not only developer for Desktop and Mobile but for the Web as well using a single code base. [**To learn more about JavaScript click here.**](http://www.sonarlearning.co.uk/coursepage.php?topic=web&course=javascript)