相机功能

cc.sprite中注释有一句

  •    - Camera is not supported yet (eg: CCOrbitCamera action doesn't work)  <br/>
    

怎么不支持了呢???
好多有意思的功能都不支持了
是有其他的替换方案吗

是出于什么原因取消的呢

Class Detail
cc.Sprite(fileName, rect, rotated)
cc.Sprite is a 2d image ( http://en.wikipedia.org/wiki/Sprite_(computer_graphics) )
cc.Sprite can be created with an image, or with a sub-rectangle of an image.
If the parent or any of its ancestors is a cc.SpriteBatchNode then the following features/limitations are valid

- Features when the parent is a cc.BatchNode:

  • MUCH faster rendering, specially if the cc.SpriteBatchNode has many children. All the children will be drawn in a single batch.
  • Limitations
    - Camera is not supported yet (eg: CCOrbitCamera action doesn’t work)
  • GridBase actions are not supported (eg: CCLens, CCRipple, CCTwirl)
  • The Alias/Antialias property belongs to CCSpriteBatchNode, so you can’t individually set the aliased property.
  • The Blending function property belongs to CCSpriteBatchNode, so you can’t individually set the blending function property.
  • Parallax scroller is not supported, but can be simulated with a “proxy” sprite.
    If the parent is an standard cc.Node, then cc.Sprite behaves like any other cc.Node:
  • It supports blending functions
  • It supports aliasing / antialiasing
  • But the rendering will be slower: 1 draw per children.
    The default anchorPoint in cc.Sprite is (0.5, 0.5).

这个是不是在说当sprite的父节点是batchnode的时候才不能用那些功能?我记得3.x本来就不推荐用batchNode了?(我英文不是很好,如果理解有误请轻喷……)

我看是所有的都不行了,
和camera相关的代码 都删除注释了

但是我有用到CCOrbitCamera 做一个卡片翻转的效果,起码3.12还可以正常用

3.13的js已经不行了
你是的话c++可能还行吧

我一直用的是js