Full-platform operation: Cocos2d

Source: Internet
Author: User
Recently, the world's leading Open Source engine Cocos2d-x JavaScript version of The Cocos2d-JS officially released v3.0Final version! Following the release of the Alpha version of the spring Developers Conference, the past half a year has passed, the Cocos2d-JSv3.0 version has undergone a butterfly-like transformation. The v3.0Final version fully integrates workflows of different platforms and unifies HTML5 and Jav

Recently, Cocos 2d-JS, the world's leading open-source engine Cocos 2d-x, officially released v3.0 Final! Since the release of the Alpha version at the spring Developer Conference, Cocos 2d-JS v3.0 has been transformed into a butterfly. V3.0 Final fully integrates workflows of different platforms and unifies HTML5 and Jav

Recently, Cocos 2d-JS, the world's leading open-source engine Cocos 2d-x, officially released v3.0 Final! Since the release of the Alpha version at the spring Developer Conference, Cocos 2d-JS v3.0 has been transformed into a butterfly. V3.0 Final fully integrates workflows on different platforms, unifies HTML5 and JavaScript Bindings APIs, and truly helps developers achieve "one-time development and full-platform operation ".

Two sets of workflows: covering different Web and native needs

For different game developers, this Cocos 2d-JS v3.0 version designed two simple workflows for two types of developers:

● Cross-platform game developers-use the Cocos Console to create projects, use Web engines to accelerate game development, and finally use the Cocos Console to publish the games to all native platforms and Web platforms;

● Lightweight casual game developers on the Web end-directly download the Cocos 2d-JS Lite Version of a single file and embed it into the Web page for development like jQuery.

Currently, EA 2014 FIFA, Big Fish Games, Big Fish Casino, Kunlun game & Line, Line Wukong, Seventh Avenue & Hulai, new Divine Comedy, perfect world, East evil and Western drugs, 4399 many native games at home and abroad are developed using Cocos 2d-JS.

In the HTML5 games that were widely used in the past, you were developed based on Cocos 2d-JS Lite Version for many models, such as "you are my little alpaca" and "you are from meow Star. "You are my little alpaca" is developed by a programmer and an art in less than 10 hours. Thanks to the Cocos 2d-JS module customization function, the size of the completed game file is only 251 KB.

(You are my little alpaca developed using Cocos 2d-JS Lite Version)

Integrate HTML5 & JSB: a set of code for full platform operation

According to v3.0 release notes, Cocos 2d-JS integrates APIs of JSB engine and Web engine, and naturally supports native and browser cross-platform applications. You only need to write a JavaScript game code to run on Mac OS X, Windows, iOS, Android, and other native platforms as well as all modern browsers. This not only greatly improves development efficiency, but also enables developers to easily cover almost all release channels and meet more market opportunities.

Cocos 2d-JS v3.0 supports all core features of the Cocos 2d-x engine, and provides simpler and easier-to-use JavaScript APIs, including New constructor, attribute style APIs, and simplified action APIs. The new API makes coding, testing, and publishing easier and easier.

In addition, this Cocos 2d-JS v3.0 version also provides many powerful new features: resource Manager supports hot updates of resources and scripts, more powerful and more flexible new event manager, JavaScript to JAVA/Objective-C reflection, Spine skeleton animation support, and so on.

Cocos 2d-JS v3.1 Road Map Disclosure

According to the engine team, Cocos 2d-JS will focus more on optimizing performance, enhancing the tool chain and improving the documentation in the next evolution. The core tasks of v3.1 will be:

● The new rendering framework in Canvas rendering mode will be merged into the main branch in v3.1. Multiple tests show that the performance will be improved by nearly 50% compared with the current version;

● The Facebook SDK for Cocos 2d-JS will be released with v3.1. developers can use the same JS code to access Facebook from different platforms such as iOS, Android, and Web;

● Improve the stability of JSB memory management and further simplify the memory management and usage;

● The Cocos 2d-JS User Guide is released to cover all the details of Cocos 2d-JS development.

At the same time, the Cocos 2d-JS team is working on technical cooperation projects with many giants at home and abroad, such as Intel and Facebook, to bring Cocos 2d-JS developers a more efficient and concise development experience.

Cocos 2d-JS v3.0 FinalVersion:1) http://www.cocos2d-x.org/filedown/Cocos 2d-JS-v3.0.zip

Cocos 2d-JS Lite Version:Http://www.cocos2d-x.org/filecenter/jsbuilder

Release Notes:Https://github.com/pandamicro/cocos-docs/blob/master/manual/framework/html5/release-notes/v3.0/release-note/zh.md

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.