Cocos2d-JS v3.2 RC0 @ Dec.11, 2014
-
Refactoration of web engine by separating the render logic, the arthictecture level refactoration is now completed and brounght great performance improvement.
-
Refactoration of web engine's resolution adaptation and audio engine with polyfilled adaptation logics for different devices and browsers. This ensures better compatibility and better extensibility for future needs.
-
Added
setRotation
method toccui.ImageView
. -
Added a function that fill sprite with repeated texture in Canvas mode.
-
Added
setLineHeight
method tocc.LabelTTF
. -
Added
dumpAudioInfo
tocc.audioEngine
for debugging purpose on mobile browser. -
Removed Cocos Studio's Protobuffer support from the framework.
-
Added an outline shader sample.
-
[JSB] Supported modulization for JSB.
-
[JSB] Added restart game feature.
-
[JSB] Bound all missed chipmunk API in JSB and added test cases for new features, fix some potential memory leak issues.
-
[JSB] Added
cc.sys.cleanScript
API to remove a script's cache. -
[JSB] Upgrade Cocos2d-x to v3.3 RC1.
-
[JSB] Change default Android compiler to gcc.
-
[JSB] Added manual bindings for
cc.Node#pause
. -
[JSB] Added missing constants and functions.
-
Bug fixes:
- Fixed an issue of
cc.Sprite
that its rendering is incorrect without texture. - Fixed an issue of
cc.ClippingNode
that its stencil drawing is incorrect on Canvas Mode. - Fixed an issue of
TextFieldReader
that it will throw an error when 'areaWidth' and 'areaHeight' equal to zero. - Fixed an issue of
ccui.CheckBox
that its getSelectedState doesn't return its state. - Fixed an issue of
cc.LabelTTF
that it doesn't update the string when its string become to empty string. - Fixed an issue of
cc.ParticleSystem
that it can't change its texture mode and shape type in Canvas mode. - Fixed an issue of
cc.Layer
's bake function that its position is incorrect when cc.view's scale isn't 1. - Fixed an issue of
ccs.ArmatureAnimation
'ssetMovementEventCallFunc
andsetFrameEventCallFunc
. - Fixed an issue of
console.log
that it isn't a funtion on IE9. - Fixed an issue of
CSLoader
that it will add duplicate resources to sprite frame cache. - Fixed an issue of
cc.ProgressTimer
that its setColor is not taking effect. - Fixed an issue of
cc.loader
that it will throw an error when loading a remote texture. - Upgrade html5 version chipmunk to the latest release.
- [JSB] Fixed an issue that the string return value can not be accessed in JavaScript to Objective-C reflection.
- [JSB] Fixed potential memory leaks in JavaScriptJavaBridge.
- [JSB] Fixed libcurl's relocation overflow linker issue in Android release mode.
- [JSB] Fixed an issue of
ccui.CheckBox
's _ctor function. - [JSB] Made
cc.MenuSpriteImage
's set functions support sprite frame name as parameter. - [JSB] Made ccui's
addEventListener
functions support one argument. - [JSB] Made
ccs.ArmatureAnimation
'ssetFrameEventCallFunc
andsetMovementEventCallFunc
accepts one parameter. - [JSB] Made project.json's configs -
frameRate
anddebugMode
take effect in JSB.
- Fixed an issue of