Cocos2d-JS v3.2 @ Dec.29, 2014
-
Replaced
transform
function withsetTransform
function under canvas render mode for better performance. -
Added a timer in
cc.audioEngine
to check audio element loading event, prevent the loading process being stucked when load audio file failed. -
Added some new browser types to
cc.sys
. -
Added some audio resource loading codes to ensure compatibility with Wechat browser.
-
Added check for WebAudio support to ensure compatibility.
-
[JSB]Upgraded Cocos2d-x to v3.3 Final.
-
[JSB]Added
getSearchPaths
API tojsb.Manifest
to support better script hot update. -
[JSB]Polished restart game feature.
-
[JSB]Added a sample usage case for
jsb.AssetsManager
's script hot update ability. -
[JSB]Skipped FlatBuffer related bindings.
-
[JSB]Canceled modifications in Spine due to License restriction and removed new constructor for
sp.SkeletonAnimation
, we will push our modification to the official Spine repo so that it can be supported in Cocos. -
Bug fixes:
- Fixed an issue that
cc.InputManager
doesn't trigger touch event on chrome mobile emulator. - Fixed an issue that
cc.game.setFrameRate
doesn't work. - Fixed an issue that
cc.view
can't remove resize event listener. - Fixed an issue that
cc.EventManager
didn't set register flag to false when a listener is removed. - Fixed an issue that
cc.audioEngine
doesn't play some audios on some iOS devices. - Fixed an issue of ccui controls that their
setColor
doesn't work when cascade color is enabled. - Fixed an issue that
ccs.Armature
'ssetColor
doesn't work in canvas render mode. - Fixed an issue that
ccs.Armature
crashes when adding a child to it. - Fixed an issue that
cc.SpriteBatchNode
's status is incorrect in WebGL render mode. - Fixed an issue of
cc.Layer
that its position is incorrect under bake mode. - Fixed an issue of
ccui.RichText
that itssetContentSize
doesn't work. - Fixed an issue of
cc.LabelTTF
that itssetColor
doesn't work when cascade color is enabled. - Fixed an issue of spine that its skeletons position is incorrect when scaleX equals to -1 and scaleY equals to 1.
- Fixed
sp.Skeleton
's API inconsistence by renamingboundingBox
togetBoundingBox
. - Removed all usages of deprecated create functions in the test cases.
- [JSB]Fixed an issue of
ccui.ScrollView
'sinnerWidth
andinnerHeight
properties. - [JSB]Fixed an issue that setting
cc.Node
's userData property will crash. - [JSB]Fixed API inconsistence by renaming
jsb.fileUtils
'sgetByteArrayFromFile
togetDataFromFile
. - [JSB]Fixed a script file cache check issue in ScriptingCore.cpp.
- [JSB]Fixed an issue of
ccs.Armature
's constructore.
- Fixed an issue that