惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

美团技术团队
D
DataBreaches.Net
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
D
Docker
N
Netflix TechBlog - Medium
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
C
Check Point Blog
腾讯CDC
Stack Overflow Blog
Stack Overflow Blog
V
Visual Studio Blog
IT之家
IT之家
月光博客
月光博客
U
Unit 42
K
Kaspersky official blog
T
Threatpost
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
GbyAI
GbyAI
P
Proofpoint News Feed
Last Week in AI
Last Week in AI
云风的 BLOG
云风的 BLOG
酷 壳 – CoolShell
酷 壳 – CoolShell
I
InfoQ
Engineering at Meta
Engineering at Meta
Recorded Future
Recorded Future
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
S
Security @ Cisco Blogs
MyScale Blog
MyScale Blog
大猫的无限游戏
大猫的无限游戏
Security Archives - TechRepublic
Security Archives - TechRepublic
Webroot Blog
Webroot Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Hacker News - Newest:
Hacker News - Newest: "LLM"
S
Schneier on Security
S
Secure Thoughts
The Register - Security
The Register - Security
B
Blog RSS Feed
The Last Watchdog
The Last Watchdog
P
Palo Alto Networks Blog
爱范儿
爱范儿
B
Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
N
News and Events Feed by Topic
阮一峰的网络日志
阮一峰的网络日志
L
LINUX DO - 热门话题
C
Cisco Blogs
Spread Privacy
Spread Privacy
F
Full Disclosure
博客园 - 聂微东
T
The Blog of Author Tim Ferriss

博客园 - 醒着/☆☆

移动硬盘删除不了东西 updata(dt:number)的常用用法 关键字 堆栈实现四则混合运算 在线资源 JS相比TS的缺点(或TS的优点) Vscode的JS debug环境 常见的代码片段 GooglePlay FB相关 上传速度慢 CocosCreator与Laya2.0区别 LayaBox 常用技巧 CSV的规范与使用 Laya2.0的转变 Laya for H5 之Bug追踪 TypeScript: this bind 和 回调的正确用法 常用资源 意外发现一个具有名称 的外部可见定义
Cocos Creator-TypeScript与JS快速过渡
醒着/☆☆ · 2019-10-25 · via 博客园 - 醒着/☆☆

目前的H5游戏开发引擎,国内主流的是Cocos Creator、Laya Box、Egret,
这3种引擎又有各自的开发语言,JavaScript、TypeScript、AS3 。
不同的公司采用的引擎与开发语言各不相同,同一引擎不算版本差异,技术
组合方案就会有9种组合(确切说少于9种)。这也就造成前端H5游戏开发者会
比较苦逼的去不停的适应当前的开发引擎和开发语言。
就拿我来说吧,从2017年至今每次都面对新的技术方案组合,嗯,引擎的相似和差距,
都要告诉自己,暂且忘掉A引擎,我这是用的B引擎。以下是我近3年的H5游戏开发的技术方案
说实在的,我真的羡慕那些Unity的前端开发者。这么多年定会有很深的积累。

⚪2016年底开始接触H5:LayaBox1.x + AS3
⚪2017年 LayaBox1.x + TS
⚪2018年 Cocos Creator + TS
⚪2019年短暂的还用了一个月的LayaBox 2.x + AS3
⚪2019年的今天我在看 Cocos Creator的Js开发

还好我没有去一家Egret + Js 的团队,那样过渡相对会更耗时

最近看了下cocos creator的关于Js的文档,感觉写的很不错。方便大家过渡

快速入门
https://docs.cocos.com/creator/manual/zh/scripting/javascript-primer.html

cc.Class
https://docs.cocos.com/creator/manual/zh/scripting/class.html

class进阶
https://docs.cocos.com/creator/manual/zh/scripting/reference/class.html