{"id":104857,"date":"2019-12-03T16:30:14","date_gmt":"2019-12-03T16:30:14","guid":{"rendered":"http:\/\/gamefromscratch.com\/post.aspx?id=29866bdb-9b64-4a41-9eb8-3456c35f0124"},"modified":"2019-12-03T16:30:14","modified_gmt":"2019-12-03T16:30:14","slug":"cocos2d-x-4-0-released","status":"publish","type":"post","link":"https:\/\/sickgaming.net\/blog\/2019\/12\/03\/cocos2d-x-4-0-released\/","title":{"rendered":"Cocos2D-x 4.0 Released"},"content":{"rendered":"<p>Cocos2d-x, the long running cross platform framework for developer 2D games, just released version 4.0 today.&nbsp; The biggest new feature is Metal support for iOS and MacOS platforms, pretty much a requirement with Apple <a href=\"https:\/\/www.gamefromscratch.com\/post\/2018\/06\/04\/Apple-Deprecate-OpenGL-in-iOS-and-MacOS.aspx\">deprecating support for OpenGL<\/a>.<\/p>\n<p align=\"left\">Details of the 4.0 release <a href=\"https:\/\/discuss.cocos2d-x.org\/t\/cocos2d-x-v4-0-released\/48487\">from the Cocos2d-x forums<\/a>:<\/p>\n<blockquote>\n<ul>\n<li>support metal on iOS\/macOS <\/li>\n<li>use CMake for all platforms <\/li>\n<li>update GLFW to 3.3 <\/li>\n<li>update minizip to 1.2 <\/li>\n<li>remove deprecated functions <\/li>\n<li>remove h5 engine and JSB <\/li>\n<li>remove tiff <\/li>\n<li>remove SimpleAudioEngine <\/li>\n<li>remove experimental namespace <\/li>\n<li>fix bug that system font can not work correctly on macOS 15 <\/li>\n<li>fix lua crash on 64-bit devices <\/li>\n<li>fix bugs for iOS 13\n<ul>\n<li>UIWebView uses WKWebView instead <\/li>\n<li>VideoPlayer uses AVPlayerController instead <\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/blockquote>\n<p>Cocos2d-x 4.0 is currently only available for download using the link above, as the main site has not yet been updated.&nbsp; The above link also contains some documentation on migrating your project to 4.0.<\/p>\n<p>If you are interested in learning more about Cocos2d-x be sure to check out our tutorial series <a href=\"https:\/\/www.gamefromscratch.com\/page\/Cocos2d-x-CPP-Game-Programming-Tutorial-Series.aspx\">available here<\/a>.&nbsp; Cocos2d-x is a completely open source project <a href=\"https:\/\/github.com\/cocos2d\/cocos2d-x\">hosted on GitHub<\/a>.&nbsp; To learn more about the 4.0 release and Cocos2d-x in general, be sure to check out the video below.<\/p>\n<p align=\"center\">[youtube https:\/\/www.youtube.com\/watch?v=i50toOTeWP4&#038;w=853&#038;h=480]<\/p>\n<p class=\"under\"> <span class=\"categories\"><a href=\"https:\/\/www.gamefromscratch.com\/category\/GameDev-News.aspx\">GameDev News<\/a><\/span> <span class=\"tags\"><a href=\"https:\/\/www.gamefromscratch.com\/?tag=\/Cocos2D\" rel=\"tag\">Cocos2D<\/a> <a href=\"https:\/\/www.gamefromscratch.com\/?tag=\/CPP\" rel=\"tag\">CPP<\/a><\/span> <\/p>\n<hr>\n<p> &lt;!&#8211;<\/p>\n<p>&#8211;&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cocos2d-x, the long running cross platform framework for developer 2D games, just released version 4.0 today.&nbsp; The biggest new feature is Metal support for iOS and MacOS platforms, pretty much a requirement with Apple deprecating support for OpenGL. Details of the 4.0 release from the Cocos2d-x forums: support metal on iOS\/macOS use CMake for all [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71],"tags":[72],"class_list":["post-104857","post","type-post","status-publish","format-standard","hentry","category-game-development","tag-gamedev-news"],"_links":{"self":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/104857","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/comments?post=104857"}],"version-history":[{"count":0,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/104857\/revisions"}],"wp:attachment":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/media?parent=104857"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/categories?post=104857"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/tags?post=104857"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}