Cocos2d-JS-v3.0 beta @ May.23, 2014
-
Refactored actions to make it more friendly and easy-to-use.
-
Integrated
Spine
skeleton animation feature. -
Renamed constants of ProgressTimer, Scale9Sprite, TMXLayerInfo, Node, ParticleSystem for maintainability.
-
Modified mouseMove event behavior of cc.inputManager to compatible with Cocos2d-x
-
Modified cc.game.run to receive a canvas id as parameter.
-
Added local audio file playing from 'file://' origin.
-
Added local images file displaying from 'file://' origin.
-
Refactored cc.TMXLayer's setTileAt etc functions to support point or x,y as their parameters.
-
Added a check to cc.Sprite and cc.SpriteFrame to avoid its texture rect out of bounds.
-
Added a check to cc.SpriteFrame to avoid cc.loader release invalid sprite frame file.
-
Made cc.Touch return copies of point.
-
Made the default of cc.Color alpha value is 255 to avoid cc.Sprite's setColor is invalid.
-
Optimized cc.Node.sortAllChildren for better performance.
-
Added warning of cc.Texture2D if it has an invalid texture.
-
[JSB]Enabled
Baseline compiler
of SpiderMonkey to boost the performance of JSB on Android, mostly it is really faster than Lua. -
[JSB]Upgraded SpiderMonkey to
v28
. -
[JSB]Re-enabled
Plugin-X
in JSB -
[JSB]Added
cc.AssetsManager
for resources hot updating and bound all necessary classes in JSB. -
[JSB]Upgraded jsc file compiler tool with SpiderMonkey v28.
-
[JSB]Android back button support.
-
[JSB]Added
setDebugBones
andsetDebugSolots
functions tosp.Skeleton
-
[JSB]Added
repeat
,repeatForever
,easing
functions tocc.ActionInterval
-
[JSB]Bound
ccui.RichText
in JSB. -
[JSB]Added
getBlendFunc
andsetBlendFunc
bindings in JSB -
[JSB]Added Spine, Cocosbuilder, websocket, socketio in templates by default.
-
[JSB]Added cc.Node's getBoudingBoxToWorld function.
-
[JSB]Support inheritance for gui components.
-
[JSB]Implemented reflexion from Javascript to JAVA static class functions.
-
[JSB]Support x, y parameter in position setting functions of cc.TMXLayer.
-
[JSB]Added
game_on_hide
andgame_on_show
events. -
Bugs fix:
- Fixed a bug of cc.winSize that it returns incorrect value when using setDesignResolution.
- Added a check to cc._setup to avoid double invocation.
- Fixed a bug of cc.TMXMapInfo that its tile's property id is incorrect.
- Fixed a bug of cc.Scale9Sprite that its CascadeColor and CascadeOpacity are invalid.
- Fixed a bug of ccs.UILoadingBar which its barRendererScaleChangedWithSize is incorrect.
- Added some forgotten files to build.xml for minimize core.
- Corrected a mistake of renderMode default value in CCBoot.js.
- Fixed a bug of ccui.Layout's draw function that its scaleX, scaleY value is incorrect.
- Fixed a bug of cc.Audio's stopMusic function.
- Fixed a bug of TextureCache that it can't remove image's event handler.
- Fixed ClippingNode's DrawNode stencil bug on Canvas.
- Fixed a typo 'cc.radiansToDegress' function to 'cc.radiansToDegrees'.
- Fixed a bug of ccui.ImageView that its setSize is invalid when the picture without pre-load.
- Fixed a bug of cc.ParticleSystem that it throws a error when create from CocosBuilder.
- Fixed a bug of cc.LabelAtlas that it can't display its children.
- Fixed a bug of cc.fontLoader that it can't load custom font.
- Fixed a bug of ccui.Widget that its setOpacity is invalid.
- Fixed a bug of cc.Node that it transform value is incorrect when a node skew to a special value.
- [JSB]Fixed an issue of jsb boot process that
cc._setup
get called twice. - [JSB]Fixed
cc.TextureCache
's null check issue. - [JSB]Fixed an issue of
ccui.Widget
'sgetChildByTag
function. - [JSB]Fixed TileMapTests's graphic issue of Z vertex test.
- [JSB]Fixed a bug of
cc.Animation.create
. - [JSB]Fixed behavior inconsistence of
cc.plistLoader
. - [JSB]Fixed a bug of
cc.view.setDesignResolutionSize
. - [JSB]Fixed API inconsistence for cc.view.
- [JSB]Fixed API inconsistence for constants.
- [JSB]Fixed API inconsistence of EventMouse and EventTouch.
-
Known Issues:
- [JSB]Property's getter/setter functions can not be overrided automatically in custom subclasses.
- [JSB]CocoStudio's scene reloading may cause memory release issues and crash.
- [JSB]OpenGL test is not functionnable in JSB.
- EventListener is not extendable.
- [JSB]ccui.TextField's is not responding to keyboard backspace button.