多多色-多人伦交性欧美在线观看-多人伦精品一区二区三区视频-多色视频-免费黄色视屏网站-免费黄色在线

國內(nèi)最全I(xiàn)T社區(qū)平臺 聯(lián)系我們 | 收藏本站
阿里云優(yōu)惠2
您當(dāng)前位置:首頁 > 互聯(lián)網(wǎng) > Cocos2d-JS全貌

Cocos2d-JS全貌

來源:程序員人生   發(fā)布時(shí)間:2014-11-10 08:21:59 閱讀次數(shù):4129次

Cocos2d-JS is Cocos2d-x engine's JavaScript version that includes Cocos2d-html5 and Cocos2d-x JavaScript Bindings. It equips your game with cross-browser and cross-platform abilities, accompanied by full Cocos2d-x features and simplified JavaScript friendly APIs.

Cocos2d-html5和Cocos2d-x JavaScript捆綁在1起組成的Cocos2d-JS是基于Cocos2d-x引擎的JavaScript版本。通過全面的Cocos2d-x特性和簡潔優(yōu)雅的javascript友好的利用程序接口,該框架可讓你的游戲具有跨閱讀器和平臺的能力。


Cocos2d-JS reinvented workflows for all platforms in v3.0, it provides a consistent development experience for whichever platform you want to distribute to, no matter web and native. "Code once, run everywhere" is incredibly easy and natural in Cocos2d-JS. With one single JavaScript code base, you can run your game on all web browsers and native platforms including Mac OS, Windows, iOS and Android. This will bring your game great opportunities in almost all channels of distribution. On the other hand, if you are only interested in casual games on the web, you can embed directly in your web page the Cocos2d-JS Lite Version which is extremely easy to use and light as a feather.

從3.0版本開始,Cocos2d-JS為所有平臺打造了了1種全新的工作流,它為任何1個(gè)你想分發(fā)的平臺包括網(wǎng)絡(luò)和本地提供了1個(gè)1致的開發(fā)模式?!?次編碼,多處運(yùn)行”在Cocos2d-JS這里顯得非常容易溫柔理成章。通過簡單的JS基石,你開發(fā)的游戲可以很容易運(yùn)行各系統(tǒng),比如PC真?zhèn)€Mac, windows,移動真?zhèn)€IOS和Android的閱讀器和本地平臺。在幾近所有的渠道分發(fā)能給你游戲帶來巨大的機(jī)會。另外,如果你僅僅是感興趣于web真?zhèn)€游戲開發(fā),你可以直接下載和援用精簡版的(Lite Version)Cocos2d-JS版本在你的web頁面中,這類方式是相當(dāng)簡單和輕量級的。

Furthermore, JavaScript friendly APIs make your game development experience a breeze - easy to code, test and distribute. In the meantime, Cocos2d-JS v3.0 is super powerful along with all these cool new features: Editors Support, Assets Manager, Object Pool, JS to Objective-C/JAVA reflection, etc.

另外,JS人性化的API能讓你在寫代碼,測試,發(fā)布開發(fā)環(huán)節(jié)上非常輕松,同時(shí),通過編輯器支持,資源管理器,對象池和JS和OC/JAVA的映照關(guān)系等新酷的特性讓Cocos2d-JS顯得異常強(qiáng)大。


Workflows

  • Cross platforms developers can use Cocos Console to create projects, boost their development with web version engine and deploy games onto all native platforms and all browsers with Cocos Console.

  • Casual web game developers can download the Lite Version and start to develop just like using other web frameworks (e.g. jQuery).


工作流

跨平臺者開發(fā)可通過Cocos 控制臺,可建立項(xiàng)目,并使用web 版本引擎在開發(fā)中,同時(shí)部署游戲在本地平臺和閱讀器上面。


web游戲開發(fā)者可以像使用別的web框架1樣(比如JQ)下載精簡版本的Cocos-Js開發(fā)。


Download and API reference(下載和API援用)

  • Cocos2d-JS github repository
  • Cocos2d-JS Full Version Download
  • Cocos2d-JS Lite Version
  • Online API reference
  • Downloadable API reference
  • Online test cases

Main features(主要特點(diǎn))

  • Support All modern browsers and native platforms
  • 支持現(xiàn)代閱讀器和本地平臺
  • Scene management (workflow)
  • 場景控制器
  • Transitions between scenes
  • 場景切換
  • Sprites and Sprite Sheets
  • 精靈
  • Effects: Lens, Ripple, Waves, Liquid, etc.
  • 殊效
  • Actions (behaviours):
  • 動作
    • Trasformation Actions: Move, Rotate, Scale, Fade, Tint, etc.
    • Composable actions: Sequence, Spawn, Repeat, Reverse
    • Ease Actions: Exp, Sin, Cubic, Elastic, etc.
    • Misc actions: CallFunc, OrbitCamera, Follow, Tween
  • Assets manager (hot update)
  • 資源管理
  • Basic menus and buttons
  • 基本菜單和按鈕
  • Integrated with physics engines: Chipmunk and Box2d
  • 相互調(diào)和的物理引擎
  • Particle system
  • 顆粒系統(tǒng)
  • Skeleton Animations: Spine and Armature support
  • Fonts:
    • Fast font rendering using Fixed and Variable width fonts
    • Support for .ttf fonts
  • Tile Map support: Orthogonal, Isometric and Hexagonal
  • Parallax scrolling
  • Motion Streak
  • Render To Texture
  • Touch/Accelerometer on mobile devices
  • Touch/Mouse/Keyboard on desktop
  • Sound Engine support (CocosDenshion library) based on OpenAL or WebAudio on web
  • Integrated Slow motion/Fast forward
  • Fast and compressed textures: PVR compressed and uncompressed textures, ETC1 compressed textures, and more
  • Resolution Independence
  • Modularized engine for customization
  • Open Source Commercial Friendly: Compatible with open and closed source projects
  • OpenGL ES 2.0 (mobile) / OpenGL 2.1 (desktop) based
  • Full WebGL support and auto canvas fallback

Documents

  • Highlighted release note of Cocos2d-JS v3.1
  • Changelog of Cocos2d-JS v3.1
  • Upgrade guide to Cocos2d-JS v3.1
  • Startup

    • Lite Version workflow
    • Why use Cocos2d-html5 for Game Development
    • Resolution Policy Design for Cocos2d-JS
    • History release notes
  • New features and API changes in version 3.x:

    • New workflow with cocos console
    • Assets manager
    • New event manager
    • New property API
    • Game creation
    • Construction and inheritance
    • Simplified action APIs
    • Objects Pool
    • Bake Layer
    • Reflection from Javascript to JAVA
    • Reflection from Javascript to Objective-C
    • Cocos2d-html5 modulization
    • Pure configuration file
    • Basic data refactoration
    • Singleton objects refactoration
    • Loading resource with cc.loader
    • System information in cc.sys
    • Path management with cc.path
    • Asynchronised process with cc.async
    • Modification to cc.saxParser
    • Modification to cc.spriteFrameCache
    • About cc.FileUtils
    • About cc.log
    • Other change from v2.2.2 to v3.0
  • Facebook support for Cocos2d-JS

    • Cocos2d-x with Facebook
    • Facebook API Reference for Cocos2d-JS
    • Facebook integration instruction for Cocos2d-JS on Android
    • Facebook integration instruction for Cocos2d-JS on iOS
    • Facebook integration instruction for Cocos2d-JS on Web
    • How to integrate with Facebook - sample app
  • Advanced topics

    • How to compile Cocos2d-JS project in Eclipse
    • How to use extensions in JSB(Chinese version)
    • How to use Plugin-x on Android
    • Plugin-x architecture
    • How to write your own Plugin for Android
    • Use iOS IAP Plugin
  • Tutorials

    • Tutorial root
生活不易,碼農(nóng)辛苦
如果您覺得本網(wǎng)站對您的學(xué)習(xí)有所幫助,可以手機(jī)掃描二維碼進(jìn)行捐贈
程序員人生
------分隔線----------------------------
分享到:
------分隔線----------------------------
關(guān)閉
程序員人生
主站蜘蛛池模板: 越猛烈欧美xx00动态图带声音 | 韩国成人毛片aaa黄 韩国春性xxxx猛交 | 成年视频国产免费观看 | wwwxxx欧美| 亚洲国产一区在线二区三区 | 欧美极品xxxxⅹ另类 | 亚洲在线视频网站 | 免费高清毛片在线播放视频 | 国产欧美在线一区二区三区 | 91在线 | porny | 欧美 | 国产日产欧产麻豆精品精品推荐 | 校园春色 欧美 | 人善交video 人善交videos欧美3 | 中文字幕乱码无线码在线 | 依人在线免费视频 | 亚洲欧美韩国日本 | 欧美性受xxxx黑人 | 欧美三级午夜伦理片 | 亚洲精选在线 | 黄色ab| 中文字幕福利视频 | 国产精品亚洲第一区在线28石 | 亚洲成aⅴ人片在线观 | 国产精品所毛片视频 | 精品国产一区二区三区免费看 | 欧美xxxx4khd超高清 | 在线成人tv天堂中文字幕 | 亚洲精品一区二区三区中文字幕 | 精品欧美日韩一区二区 | 久久99精品久久久久久秒播 | 欧美老师 | 欧美妇性猛交视频 | 亚洲精品一区二区三区四区 | 欧美巨大精品欧美一区二区 | 成 人国产在线观看高清不卡 | 国产成人精品免费视频网页大全 | 精品国产免费第一区二区三区日韩 | 欧美黑人猛烈ⅹxxx 欧美黑人喷潮水xxxx | 国产精品国产三级在线高清观看 | 国产精品久久久久久久y | 亚洲视频二|