【Beta 已发布】Cocos Creator v2.0.0 Preview 如约而至

@panda 2.0的几个BUG
1.编辑prefab后返回到场景报错(经常出现)
Failed to restore delete node Canvas: TypeError: Cannot read property ‘m00’ of null
“getComponent” is not defined in the Scene, it is only defined in normal nodes.
“getComponent” is not defined in the Scene, it is only defined in normal nodes.
“active” is not defined in the Scene, it is only defined in normal nodes.

2.编辑碰撞组件范围时不正常,比如矩形不能调整,自定义形状添加点时,感觉添加点的位置是随机的,乱跑.
3.BMfont不能设置颜色和透明度

:runner:

含 RichText 的节点active时报错

一样 我也遇到这个问题

加油,做引擎不容易

2.0, 你们原生平台的代码包括3D部分,还是会开源吧?

代码依旧开源,只是编辑器不开源

编辑器不需要开源。主要是脚本的引擎代码和原生平台的引擎部分,因为会按自己的需要改一些东西。

更新什么时候发布啊

新建一个工程,无法添加任何的节点
提示这个错误

pre4 ,部分scene界面进入报错如下

206render-engine.js? [sm]:11373 Uncaught TypeError: Cannot read property 'extractDefines' of undefined
    at Model.addEffect (render-engine.js? [sm]:11373)
    at RenderComponentWalker._flushIA (render-component-walker.js? [sm]:183)
    at Object.renderIA (particle-system-assembler.js? [sm]:61)
    at RenderComponentWalker._commitIA (render-component-walker.js? [sm]:208)
    at RenderFlow._proto._customIARender (render-flow.js? [sm]:103)
    at RenderFlow._proto._children (render-flow.js? [sm]:126)
    at RenderFlow._proto._children (render-flow.js? [sm]:126)
    at RenderFlow._proto._render (render-flow.js? [sm]:98)
    at RenderFlow._proto._children (render-flow.js? [sm]:126)
    at RenderFlow._proto._children (render-flow.js? [sm]:126)

加油希望早日出正式版

目前的渲染机制跟以前不同,不是每个节点负责自己的渲染,而是渲染组件的 assembler 负责从渲染组件收集数据,material 定义渲染方式,所以需要学习我们正式版会一同推出的文档

级联问题,Preview 4 应该可以了

试试 Preview 4

Right-hand side of instanceof is not callable 一般都是模块被剔除导致的,检查一下项目设置里面的模块

cc.rectIntersectsRect -> rect.intersects(rectB)

现在 addChild 已经没有性能问题了

这三个问题在 Preview 4 版本都没问题了

应该说 Sprite 的透明度不同,draw call 无法批处理,这是因为为了节省 vertex 数据量,以及在变色 Sprite 的需求相对较少的情况下,我们将 color 作为 uniform,uniform 的值不同,会打断批处理

目前仍然是 opengl 底层渲染,不过 iOS 和 MacOS 只是 deprecated opengl,预计至少到明年秋天之前 opengl 的应用都不会出现问题,我们已经开始做多后端支持,一定会在这之前提供支持 Metal 的技术方案,不用担心。

将 _rankLayerTex 的默认值 “” 改为 null,这提示已经很明确了呀

Preview 4 已修复

Preview 4 验证没问题

Opacity 级联已支持

是不是你们用了很多变色 Sprite ?

性能的提升对于不同游戏差别很大,引擎升级了以后也需要针对性得进行优化才能达到最大收益。不过哪怕什么都不做,2.0 也会提升你的游戏表现,只是多少的差别

1,3 已修复

后续版本会修复

建议提供 demo

preview4:
微信小游戏相机移动,地图边缘出现残影

另外在微信小游戏的性能没有感觉到提升,微信开发工具的模拟器帧数都正常(估计是它的模拟器也就是个浏览器),到了真机小游戏里完全不行,我之前也发过贴,希望能瞅瞅,实在没辙。http://forum.cocos.com/t/topic/60674

新文档和api在哪?

辛苦了,加油

在你的帖子里面回复了

API 我会明天上传一份 zip 包

使用文档在正式版之前会准备好给大家

TileMap地图 六角交错在Cocos Creator里面出现错位,主要是Y轴出现各种偏移,X轴正常;
我在1.10里面是没问题的。

龙骨的 透明度不受节点透明度影响问题还没有修复