Cocos Creator v1.10.0 公测版了解一下(正式版已发布至官网)

  @property(cc.AudioClip)
  bgm: cc.AudioClip = null

The default value of Welcome.bgm must be an empty string. (changed since 1.8)

如果设默认值为空字符串,ts会报错

马扎已经坐好:grin:

http://docs.cocos.com/creator/manual/zh/asset-workflow/json.html
文本和json的文档404,是只有我打不开么

一脸懵逼的进来看看~~~

@jare creator.d.ts 里面报错,并且没有了cc.log 等函数

加载 json 变成了 JsonAsset,通过 asset.json 获取就行

  @property({ type: cc.AudioClip})
  bgm: cc.AudioClip = null

链接已更新

新建例子项目报错打不开
···
2018-05-15T03:06:55.753Z - error: TypeError: i._setRawAsset is not a function
at Fs.copy.a (D:\CocosCreator_v1.10.0-beta.2\resources\app.asar\editor\share\assets\meta\native-asset.js:1:685)
at doneOne (D:\CocosCreator_v1.10.0-beta.2\resources\app.asar\node_modules\fire-fs\node_modules\fs-extra\lib\copy\ncp.js:238:40)
at D:\CocosCreator_v1.10.0-beta.2\resources\app.asar\node_modules\fire-fs\node_modules\fs-extra\lib\copy\ncp.js:122:11
at D:\CocosCreator_v1.10.0-beta.2\resources\app.asar\node_modules\graceful-fs\polyfills.js:239:18
at FSReqWrap.oncomplete (fs.js:114:15)
at process.on.t (D:\CocosCreator_v1.10.0-beta.2\resources\app.asar\editor\core\editor-init.js:1:360)
at emitOne (events.js:101:20)
at process.emit (events.js:191:7)
at process._fatalException (bootstrap_node.js:308:26)
···

v1.10会出rc版本么

问题解决了,需要把老版本的js引擎设为内置的,然后再用1.10版本打开项目

九宫格编辑,打开也报错了

2018-05-15T03:29:02.383Z - error: Failed to load url scene://utils/node, please register the protocol for it.
at Object.Protocol.url (/Applications/CocosCreator.app/Contents/Resources/app.asar/editor-framework/lib/main/protocol.js:1:2970)
at callFunction (/Applications/CocosCreator.app/Contents/Resources/electron.asar/browser/rpc-server.js:249:18)
at EventEmitter. (/Applications/CocosCreator.app/Contents/Resources/electron.asar/browser/rpc-server.js:357:5)
at emitMany (events.js:127:13)
at EventEmitter.emit (events.js:204:7)
at WebContents. (/Applications/CocosCreator.app/Contents/Resources/electron.asar/browser/api/web-contents.js:256:13)
at emitTwo (events.js:106:13)
at WebContents.emit (events.js:194:7)
2018-05-15T03:29:02.385Z - error: AssertionError: missing path
at Module.require (module.js:496:3)
at require (internal/module.js:20:19)
at Object.EditorR.require (/Applications/CocosCreator.app/Contents/Resources/app.asar/editor-framework/lib/renderer/editor.js:1:518)
at Object. (/Applications/CocosCreator.app/Contents/Resources/app.asar/editor/page/gizmos/utils.js:1:192)
at Object. (/Applications/CocosCreator.app/Contents/Resources/app.asar/editor/page/gizmos/utils.js:2:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions…js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
2018-05-15T03:29:02.386Z - error: TypeError: Cannot read property ‘sprite-editor’ of undefined
at PolymerUtils.import.r (/Applications/CocosCreator.app/Contents/Resources/app.asar/editor-framework/lib/renderer/ui/utils/polymer-utils.js:1:3702)
at HTMLElement.Polymer.Base.importHref.PolymerUtils.importing (/Applications/CocosCreator.app/Contents/Resources/app.asar/editor-framework/lib/renderer/ui/utils/polymer-utils.js:1:2406)

settings.js 终于缩小了,之前4m的微信小游戏包体空间这个就占了2m,太不爽了。
缩小的比例大概是多少,有同学试了吗?

请问这个对应的github引擎分支是1.10.0吧, 我看engine有个1.101

麻烦问一下大佬,这个热更新删除老旧资源包含哪些呢?我们有自己的下载资源,会被一同删除掉吗?

canvas 被锁了 怎么解 mac的 顶部菜单没找到了 解锁:sweat::sweat::sweat::sweat::sweat::sweat::sweat:
出现黄色色的一个大框 就锁定 死了 需要重新打开

manifestUrl: {
  default: null,
  url: cc.RawAsset,
},

原来的这种写法,读入manifext文件的,现在应该怎样写?

所有的AudioClip都要改成这种形式吗?

把audioclip都改成这样就好了

出了一个奇怪的错误,暂时不知道是什么原因