开发笔记 #Cocos Creator# 序列化自定义类报错:Can not serialize 'xxx' because the specified type is anonymous, please provide a class name 想在Cocos Creator的场景编辑器的使用自定义的ccclass子类,却遇到这个奇葩的错误: Can not serialize 'BalancePlayground.testRulers' because the specified type is anonymous, please provide a
开发笔记 #Cocos Creator# 错误:TypeError: Object prototype may only be an Object or null: undefined 代码循环引用可能产生奇怪的错误
开发笔记 #Facebook Instant Game# 什么时候会收到messaging_game_plays 消息? Facebook Instant Game与微信小游戏最大的不同点之一,是Facebook推荐使用Bot来提升用户的留存。 其中 messaging_game_plays 是Instant Game独有的,那要怎么处理这个消息呢?
开发笔记 #Cocos Creator笔记# 使用await/async报错 "regeneratorRuntime is not defined" 能否在Cocos Creator 的JS代码中使用await/async呢?
开发笔记 #PureMVC笔记# Event,Notification,Command的区别 在PureMVC中(其实在实际项目里),提到了3个很相似的概念:Event,Notification和Command。 这三者,是实际实现时,完全可以用同一套相似的方法来实现,那么,为什么还要提出三个概念呢?
开发笔记 测试正常的Cocos Creator工程,打包后,某些模块居然找不到了? 今天遇到一个奇葩问题:在CocosCreator里测试运行正常的代码,打包以后,启动时居然报错了。 检查了一下错误,居然是有些Module没找到。