Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

kareanyi/JSBook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

2 Commits

Repository files navigation

JSBook

《Cocos2d-JS 游戏开发》随书资源

说明

  1. 随书代码所有的项目中,都去掉了Project/frameworks下的cocos2d-x文件夹,其中Project为实际项目名字,例如 Carrot,JSBook 等。你可以自己新建一个Cocos2d-JS 3.9 的项目,然后,把cocos2d-x文件夹拷贝到frameworks下即可在 Native 上运行。
  2. Carrot 为保卫萝卜实战代码
  3. JSBoo k为随书基础代码
  4. Unit_16 为第 16 章节相关项目,其主要和绑定相关的文件在frameworks/runtime-src/Classes下。
  5. 若还有疑问,请加群询问。
    1. 群号:186828918 群名:Cocos2d-JS 黑带1段
    2. 群号:53744970 群名:Cocos2d-JS 黑带2段

Cocos 资料大全

##各章节相关下载地址和参考链接

###第1章 Cocos2d-JS介绍

####1.1 下载地址: Cocos引擎:http://www.cocos.com/download

Cocos引擎Git仓库:https://github.com/cocos2d/cocos2d-x

####1.2 参考链接: 维基百科Cocos2d: https://en.wikipedia.org/wiki/Cocos2d

Cocos官网:http://www.cocos.com

LiquidFun流体引擎:http://google.github.io/liquidfun

###第2章 HelloWorld

####2.1 下载地址: Python :https://www.python.org/downloads/index.html

Apache Ant :http://ant.apache.org/bindownload.cgi

Android SDK :http://developer.android.com/tools/sdk/ndk/index.html

Android NDK :https://developer.android.com/sdk/index.html?hl=sk

JDK :https://www.oracle.com/downloads/index.html

XAMPP :https://www.apachefriends.org/download.html

WebStorm :http://www.jetbrains.com/webstorm/

Cocos DevTools :http://h5.cocos.com/static/cocos-devtools/index.html

####2.2 参考链接: Cocos Console:https://github.com/cocos2d/cocos2d-console

Cocos2d-JS项目结构介绍:http://www.cocos2d-x.org/docs/manual/framework/cocos2d-js/4-essential-concepts/4-1-cocos2d-js-project/en

###第3章 核心框架

3.1 下载地址:

[Mac] Glyph Designer:https://71squared.com/glyphdesigner

[Windows] BMFont:http://www.angelcode.com/products/bmfont

3.2 参考资料:

Cocos2d-JS 官方API : http://www.cocos.com/doc/jsdoc/index.html

###第4章 动作模块

####4.1 参考资料: Cocos2d-x官方文档(动作篇):http://www.cocos.com/doc/article/index?type=cocos2d-x&url=/doc/cocos-docs-master/manual/framework/native/v3/action/zh.md

###第5章 事件机制

####5.1 参考资料: 事件分发机制:http://www.cocos2d-x.org/docs/manual/framework/html5/v3/eventManager/zh

###第6章 音频处理

###6.1 参考资料: 官方API:http://api.cocos.com/cn/d0/d75/classcocos2d_1_1experimental_1_1_audio_engine.html

iOS音频使用:https://developer.apple.com/library/ios/documentation/AudioVideo/Conceptual/MultimediaPG/UsingAudio/UsingAudio.html

Android媒体支持格式 :http://developer.android.com/guide/appendix/media-formats.html

###第7章 屏幕适配

####7.1 参考资料: Cocos2d-x 多分辨率适配完全解析 : http://www.tairan.com/archives/4809/

Cocos2d-JS的屏幕适配方案 :http://www.cocos.com/doc/article/index?type=cocos2d-x&url=/doc/cocos-docs-master/manual/framework/cocos2d-js/4-essential-concepts/4-4-resolution-policies/zh.md

###第8章 数据存储

####8.1 参考资料: Plist 维基百科:https://zh.wikipedia.org/wiki/Plist

JSON :http://json.org/json-zh.html

LocalStorage: https://developer.mozilla.org/en-US/docs/Web/API/Storage/LocalStorage

###第9章 粒子系统

####9.1 下载地址: Particle Editor:https://code.google.com/p/cocos2d-windows-particle-editor/downloads/detail?name=ParticleEditor%20V2.0.7z&can=2&q=

ParticleDesigner:https://71squared.com

####9.2 参考链接: Particle system:https://en.wikipedia.org/wiki/Particle_system

glBlendFunc : https://www.opengl.org/sdk/docs/man/html/glBlendFunc.xhtml

###第10章 UI控件

####10.1 参考资料: Cocos引擎API:http://api.cocos.com

###第11章 性能优化

####11.1 参考资料: TexturePacker:https://www.codeandweb.com/texturepacker

TinyPNG:https://tinypng.com

###第12章 游戏地图

####12.1 下载地址: Tiled Map Editor :http://www.mapeditor.org

####12.2 参考资料: QT : http://www.qt.io/

TMXTiledMap API : http://api.cocos.com/cn/d6/d48/classcocos2d_1_1_t_m_x_tiled_map.html

###第13章 反射调用

###第14章 Chipmunk物理引擎

14.1 参考资料:

转动惯量:https://zh.wikipedia.org/wiki/转动惯量

杨氏模量:https://zh.wikipedia.org/wiki/杨氏模量

库仑摩擦力:http://baike.baidu.com/view/4309065.htm

动能定理:https://zh.wikipedia.org/wiki/动能定理

###第15章 网络编程

15.1 相关下载地址:

Windows Node.js安装包: https://nodejs.org/download

15.2 参考资料:

Node.js :https://zh.wikipedia.org/wiki/Node.js

###第16章 JavaScript Binding

16.1 相关下载地址:

SQLite3源码:https:://www.sqlite.org/download.html

wrapper包装类 : https:://www.adp-gmbh.cn/sqlite/wrapper.html

####16.2 参考资料: Travis CI:https://travis-ci.org/

SpiderMonkey引擎:https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey

Bindings Generator工具:https://github.com/cocos2d/bindings-generator/

Android.mk文件语法规范:http://blog.csdn.net/smfwuxiao/article/details/8530742

cvp panda的博客:http://cvp.cocos.com/blog/265

cvp panda的博客:http://cvp.cocos.com/blog/266

Cocos2d-JS 3.0 RC3中 通过JSB 使用 SQLite3: http://www.cocoachina.com/bbs/read.php?tid=226949&page=1&toread=1#tpc

About

《Cocos2d-JS 游戏开发》随书资源

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.4%
  • C 20.3%
  • C++ 2.8%
  • CMake 0.2%
  • Objective-C++ 0.1%
  • Python 0.1%
  • Other 0.1%

AltStyle によって変換されたページ (->オリジナル) /