Skip to content

Commit 9a2256b

Browse files
committed
Merge branch 'Renderer' of https://github.com/cocos2d/cocos2d-html5 into Iss5941_WebGLRenderer
2 parents 340b8f6 + 93d21a2 commit 9a2256b

File tree

4 files changed

+32
-6
lines changed

4 files changed

+32
-6
lines changed

CCBoot.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,15 +244,15 @@ cc.AsyncPool = function(srcObj, limit, iterator, onEnd, target){
244244
self._isErr = true;
245245
if(self._onEnd)
246246
self._onEnd.call(self._onEndTarget, err);
247-
return
247+
return;
248248
}
249249

250250
var arr = Array.prototype.slice.call(arguments, 1);
251251
self._results[this.index] = arr[0];
252252
if(self.finishedSize == self.size) {
253253
if(self._onEnd)
254254
self._onEnd.call(self._onEndTarget, null, self._results);
255-
return
255+
return;
256256
}
257257
self._handleItem();
258258
}.bind(item), self);
@@ -419,7 +419,7 @@ cc.path = /** @lends cc.path# */{
419419
if(idx !== -1)
420420
return fileName.substring(0,idx);
421421
}
422-
return fileName
422+
return fileName;
423423
},
424424

425425
/**

CHANGELOG.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
ChangeLog:
22

3+
Cocos2d-JS v3.1 beta @ Oct.13, 2014
4+
5+
* Refactoration of the web engine with new renderer on the architecture level, optimization is under going.
6+
* Released Facebook SDK for Cocos2d-JS beta2, its API have been significantly improved and stablized.
7+
* Upgraded MoonWarriors sample with new set of graphical assets.
8+
* Automatically enabled WebGL on iOS 8 safari.
9+
* Upgraded chipmunk.js to the newest version.
10+
* Supported setting color of shadow for `cc.LabelTTF`.
11+
* Added `getTitleRenderer` function to ccui.Button.
12+
* Supported Coco Studio timeline animation.
13+
* Set the default value of LabelAtlas's `cascadeOpacityEnabled` and `cascadeColorEnabled` to true.
14+
* Added a listener of texture to `cc.Sprite#setTexture` when the texture hasn't loaded.
15+
* Activated `cc.pool` for all kind of objects.
16+
* Added query test for chipmunk and added necessary JavaScript bindings.
17+
18+
* Bugs fix:
19+
1. Fixed a bug of `cc.ComponentContainer` that a 'if' statement behavior is incorrect.
20+
2. Fixed a bug of `cc.Scale9Sprite` that the behavior of Canvas and WebGL is different.
21+
3. Fixed a bug of `cc.EventListener` that its pause state should set to true.
22+
4. Fixed a bug of `cc.ParticleSystem` that it should apply canvas scaling on canvas rendering mode.
23+
5. Fixed a bug of CCBoot.js that `cc.loader` should add a condition to check whether `crossOrign` property is undefined on IE9 and IE10.
24+
6. Fixed a bug of `ccui.Widget` that its `setPosition` function's behavior is incorrect.
25+
7. Fixed a bug of `ccui.LoadingBar` that its `barRenderer` should add to protected children array.
26+
8. Fixed a bug of `cc.Texture2D` that its `TEXTURE_MAG_FILTER` should set to LINEAR.
27+
9. Fixed a bug of `cc.TMXMapInfo` that its doesn't parse `rotation` property.
28+
329
Cocos2d-JS-v3.0 Final @ Sep.10, 2014
430

531
* Facebook SDK Beta2: Added `appRequest` API.

cocos2d/core/platform/CCConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* @type {String}
3232
* @name cc.ENGINE_VERSION
3333
*/
34-
window["CocosEngine"] = cc.ENGINE_VERSION = "Cocos2d-JS v3.0 Final";
34+
window["CocosEngine"] = cc.ENGINE_VERSION = "Cocos2d-JS v3.1 Beta";
3535

3636
/**
3737
* <p>

tools/build.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
classpath="./compiler/compiler.jar"/>
66
<target name="compile">
77
<jscomp compilationLevel="simple" warning="quiet"
8-
debug="false" output="./../lib/cocos2d-js-v3.0-min.js">
8+
debug="false" output="./../lib/cocos2d-js-v3.1-beta-min.js">
99
<!--sourceMapOutputFile="./../lib/cocos2d-html5-v3.0-rc0-sourcemap" sourceMapFormat="V3" -->
1010
<sources dir="./../">
1111
<file name="Base64Images.js"/>
@@ -246,7 +246,7 @@
246246

247247
<target name="compile_core">
248248
<jscomp compilationLevel="simple" warning="quiet"
249-
debug="false" output="./../lib/cocos2d-js-v3.0-core-min.js">
249+
debug="false" output="./../lib/cocos2d-js-v3.1-beta-core-min.js">
250250
<!--sourceMapOutputFile="./../lib/cocos2d-html5-v3.0-rc0-core-sourcemap" sourceMapFormat="V3" -->
251251
<sources dir="./../">
252252
<file name="CCBoot.js"/>

0 commit comments

Comments
 (0)