收集一下大家的意见,这些都是Cocos2d-html5 v3.0的API设计。为了让JS开发者更好得学习使用,摒弃以前太过于C++或Obj-C化的API,并且尽力使得API更简洁。下面是部分改动的列表。任何反馈意见,吐槽,赞美都欢迎提出来。下面是一些改动的列表。希望大家帮忙看看
便于异步操作的单例:
https://github.com/SmallAiTT/cocos-docs/blob/h5_api_3.0/manual/framework/html5/cc-async/zh.md
删除CCFileUtils.js的相应改动:
https://github.com/SmallAiTT/cocos-docs/blob/h5_api_3.0/manual/framework/html5/cc-fileutils/zh.md
游戏启动模块,用于简化游戏启动代码的编写:
https://github.com/SmallAiTT/cocos-docs/blob/h5_api_3.0/manual/framework/html5/cc-game/zh.md
资源加载器,进行统一的资源管理,提供更好的拓展功能:
https://github.com/SmallAiTT/cocos-docs/blob/h5_api_3.0/manual/framework/html5/cc-loader/zh.md
文件路径字符串操作单例:
https://github.com/SmallAiTT/cocos-docs/blob/h5_api_3.0/manual/framework/html5/cc-path/zh.md
XML解析器改造:
https://github.com/SmallAiTT/cocos-docs/blob/h5_api_3.0/manual/framework/html5/cc-saxparser/zh.md
cc.spriteFrameCache的改造:
https://github.com/SmallAiTT/cocos-docs/blob/h5_api_3.0/manual/framework/html5/cc-spriteframecache/zh.md
引擎模块配置文件说明:
https://github.com/SmallAiTT/cocos-docs/blob/h5_api_3.0/manual/framework/html5/moduleconfig-json/zh.md
项目配置文件说明:
https://github.com/SmallAiTT/cocos-docs/blob/h5_api_3.0/manual/framework/html5/project-json/zh.md
从v2版本到v3版本的更多api变动说明:
https://github.com/SmallAiTT/cocos-docs/blob/h5_api_3.0/manual/framework/html5/more-change-from-v2-to-v3/zh.md
新事件处理机制:
https://github.com/cocos2d/cocos-docs/blob/master/manual/framework/html5/input/eventManager/zh.md
新属性风格API:
https://github.com/pandamicro/cocos-docs/blob/master/manual/framework/html5/getter_setter_api/ch.md
create函数改造:
https://github.com/xingsenma/cocos-docs/blob/master/manual/framework/html5/create-api/zh.md
基础数据类型改造:
https://github.com/xingsenma/cocos-docs/blob/master/manual/framework/html5/basic-data/zh.md
cc.sys模块说明:
https://github.com/SmallAiTT/cocos-docs/blob/h5_api_3.0/manual/framework/html5/cc-sys/zh.md
JSB 感觉 好难用。。。。。js风格我倒还能接受。。。