Cocos2d-JS-v3.0 RC0 @ July.4, 2014
-
Added Facebook SDK plugin into Pluginx extension.
-
Refactoration of gui system
ccui
for better performance, usage and maintainbility. -
Added
bake
function tocc.Layer
to support layer baking. -
Added object pool extension:
cc.pool
. -
Added new easing functions: bezier action, quadratic actions, quartic actions, quintic actions, circle actions, cubic actions.
-
Made
cc.loader
continue the counter process even if a resource failed to be loaded. -
Supported multiple property objects in
cc.Class.extend
function. -
Refactored
ccui.Widget
'sgetLeftInParent
,getBottomInParent
,getRightInParent
,getTopInParent
togetLeftBoundary
,getBottomBoundary
,getRightBoundary
,getTopBoundary
. -
Refactored
cc.FadeIn.create(duration, toOpacity)
tocc.FadeIn.create(duration)
. -
Refactroed all string access functions in
ccui
extension tosetString
andgetString
. -
Added
getContentSize
andsetContentSize
inccui
extension. -
Changed the default alpha value of
cc.Color
fromundefined
to 255. -
Made
cc.log
support formatted string. -
[JSB] Improved
cc.AssetsManager
with multi-thread downloading, download resuming support, compressed file support, better progression informations, possibility to retry failed assets. -
[JSB] Supported linux compilation with CMake.
-
[JSB] Moved JSB only APIs: cc.fileUtils, cc.Reflection, cc.AssetsManager to
jsb
namespace for avoiding mistaken usage. -
[JSB] Made cocos console support jsc compilation in release mode.
-
[JSB] Made android apps possible to be installed into sd card.
-
[JSB] Made
ccui
extension's widget classes extendable. -
[JSB] Bound a complete version of
jsb.fileUtils
including search path control functions. -
[JSB] Correctly recoginze Mac OS X as a desktop platform and activate keyboard and mouse capabilities.
-
[JSB] Supported mouse event in JSB.
-
[JSB] Made
cc.MenuItemImage
support sprite frame name as construction parameter. -
[JSB] Made
cc.NodeRGBA
extendable in JSB. -
[JSB] Bound
ccs.AnimationData
andccs.MovementData
. -
[JSB] Added
getUserData
andsetUserData
forcc.Node
. -
Bugs fix:
- Fix bugs on creating sequence objcet or spawn object using new method.
- Fix a bug that
ccui.LoadingBar
'ssetPercent
function will crash when its texture is in a plist file and scale9Enabled is true. - Fixed a bug of
cc.audioEngine
that it crashs when audio isn't correctly loaded and its duration is infinity. - Correction of the calculation of
cc.visibleRect
. - Fix
cc.Skin
's bounding box calculation for canvas rendering. - Fix an issue that
cc.TextureCache
doesn't handle loaded texture in some case. - Fix an issue that texture rect could be zero sized in
initWithFile
function ofcc.Sprite
. - Fix a bug on inverted ClippingNode with DrawNode as stencil in Canvas render mode.
- Fix a bug that
cc.SpriteFrame
didn't support initialization with texture name parameter. - Fix a bug on
ccs.ArmatureAnimation
's loop parameter. - Fix a bug that
cc.JumpTo
's_delta
position calculation is incorrect. - Fix a bug of
cc._audioLoader
that it doesn't work when it failed to load an audio file. - [JSB] Fix a bug that mouse button always equals left button during mouse move event.
- [JSB] Fix a bug that
showFPS
configuration is ignored. - [JSB] Fix a bug that key correspondances are incorrect for keyboard event on Android.
- [JSB] Fix a bug that
ccui.Widget
'sonEnter
function can't be overrided in JSB. - [JSB] Fix a bug that some
init
function may be invoked twice during initialization. - [JSB] Fix a bug that
cc.Layer
'sinit
function is not invoked during initialization. - [JSB] Bound
SpriteFrame
's constructor to supportnew
construction in JSB. - [JSB] Fix cc.REPEAT_FOREVER constant value conflit between html5 engine and JSB.
- [JSB] Fix some property inheritance issues in JSB.
- [JSB] Fix a bug that
ccui.Button
'sgetTitleColor
function doesn't return the correct value. - [JSB] Fix ChipmunkTest/buoyancy test case crash issue with unreleased collision handler.
- [JSB] Fix a bug that
cc.audioEngine.end()
release the singleton audio engine object. - [JSB] Support all method for XMLHttpRequest including GET, POST, PUT, DELETE.
-
Known issues:
- [JSB]
cc.ActionInterval
'ssetSpeed
function is not supported yet. - [JSB]
cc.ActionInterval
'seasing
function doesn't supportEaseBezierAction
yet. - [JSB]
cc.AssetsManager
may fail to create and download files on windows and iOS simulator (please test on real devices). - [JSB]CocoStudio's scene reloading may cause memory release issues and crash.
- [JSB]ccui.TextField's is not responding to keyboard backspace button.
- [JSB]