Skip to content

Commit

Permalink
build 1.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
06wj committed Dec 12, 2017
1 parent 0f5b1ec commit 0c2446b
Show file tree
Hide file tree
Showing 402 changed files with 2,259 additions and 2,008 deletions.
196 changes: 107 additions & 89 deletions build/amd/hilo-amd.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions build/amd/hilo-amd.min.js

Large diffs are not rendered by default.

Binary file modified build/amd/hilo-amd.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion build/amd/hilo/core/Class.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Hilo 1.1.4 for amd
* Hilo 1.1.5 for amd
* Copyright 2016 alibaba.com
* Licensed under the MIT License
*/
Expand Down
2 changes: 1 addition & 1 deletion build/amd/hilo/core/Class.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build/amd/hilo/core/Hilo.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Hilo 1.1.4 for amd
* Hilo 1.1.5 for amd
* Copyright 2016 alibaba.com
* Licensed under the MIT License
*/
Expand All @@ -25,7 +25,7 @@ var Hilo = {
* Hilo version
* @type String
*/
version:'1.1.4',
version:'1.1.5',
/**
* @language=en
* Gets a globally unique id. Such as Stage1, Bitmap2 etc.
Expand Down
4 changes: 2 additions & 2 deletions build/amd/hilo/core/Hilo.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/amd/hilo/event/EventMixin.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Hilo 1.1.4 for amd
* Hilo 1.1.5 for amd
* Copyright 2016 alibaba.com
* Licensed under the MIT License
*/
Expand Down
2 changes: 1 addition & 1 deletion build/amd/hilo/event/EventMixin.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/amd/hilo/game/Camera.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Hilo 1.1.4 for amd
* Hilo 1.1.5 for amd
* Copyright 2016 alibaba.com
* Licensed under the MIT License
*/
Expand Down
2 changes: 1 addition & 1 deletion build/amd/hilo/game/Camera.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/amd/hilo/game/Camera3d.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Hilo 1.1.4 for amd
* Hilo 1.1.5 for amd
* Copyright 2016 alibaba.com
* Licensed under the MIT License
*/
Expand Down
2 changes: 1 addition & 1 deletion build/amd/hilo/game/Camera3d.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/amd/hilo/game/ParticleSystem.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Hilo 1.1.4 for amd
* Hilo 1.1.5 for amd
* Copyright 2016 alibaba.com
* Licensed under the MIT License
*/
Expand Down
2 changes: 1 addition & 1 deletion build/amd/hilo/game/ParticleSystem.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/amd/hilo/geom/Matrix.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Hilo 1.1.4 for amd
* Hilo 1.1.5 for amd
* Copyright 2016 alibaba.com
* Licensed under the MIT License
*/
Expand Down
2 changes: 1 addition & 1 deletion build/amd/hilo/geom/Matrix.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/amd/hilo/loader/ImageLoader.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Hilo 1.1.4 for amd
* Hilo 1.1.5 for amd
* Copyright 2016 alibaba.com
* Licensed under the MIT License
*/
Expand Down
2 changes: 1 addition & 1 deletion build/amd/hilo/loader/ImageLoader.min.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Hilo 1.1.4 for amd
* Hilo 1.1.5 for amd
* Copyright 2016 alibaba.com
* Licensed under the MIT License
*/
Expand Down
2 changes: 1 addition & 1 deletion build/amd/hilo/loader/LoadQueue.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Hilo 1.1.4 for amd
* Hilo 1.1.5 for amd
* Copyright 2016 alibaba.com
* Licensed under the MIT License
*/
Expand Down
2 changes: 1 addition & 1 deletion build/amd/hilo/loader/LoadQueue.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/amd/hilo/loader/ScriptLoader.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Hilo 1.1.4 for amd
* Hilo 1.1.5 for amd
* Copyright 2016 alibaba.com
* Licensed under the MIT License
*/
Expand Down
2 changes: 1 addition & 1 deletion build/amd/hilo/loader/ScriptLoader.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/amd/hilo/media/HTMLAudio.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Hilo 1.1.4 for amd
* Hilo 1.1.5 for amd
* Copyright 2016 alibaba.com
* Licensed under the MIT License
*/
Expand Down
2 changes: 1 addition & 1 deletion build/amd/hilo/media/HTMLAudio.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/amd/hilo/media/WebAudio.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Hilo 1.1.4 for amd
* Hilo 1.1.5 for amd
* Copyright 2016 alibaba.com
* Licensed under the MIT License
*/
Expand Down
2 changes: 1 addition & 1 deletion build/amd/hilo/media/WebAudio.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/amd/hilo/media/WebSound.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Hilo 1.1.4 for amd
* Hilo 1.1.5 for amd
* Copyright 2016 alibaba.com
* Licensed under the MIT License
*/
Expand Down
2 changes: 1 addition & 1 deletion build/amd/hilo/media/WebSound.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 4 additions & 48 deletions build/amd/hilo/renderer/CanvasRenderer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Hilo 1.1.4 for amd
* Hilo 1.1.5 for amd
* Copyright 2016 alibaba.com
* Licensed under the MIT License
*/
Expand Down Expand Up @@ -137,53 +137,9 @@ var CanvasRenderer = Class.create(/** @lends CanvasRenderer.prototype */{
//alignment
var align = target.align;
if(align){
if(typeof align === 'function'){
target.align();
}else{
var parent = target.parent;
if(parent){
var w = target.width, h = target.height,
pw = parent.width, ph = parent.height;
switch(align){
case 'TL':
x = 0;
y = 0;
break;
case 'T':
x = pw - w >> 1;
y = 0;
break;
case 'TR':
x = pw - w;
y = 0;
break;
case 'L':
x = 0;
y = ph - h >> 1;
break;
case 'C':
x = pw - w >> 1;
y = ph - h >> 1;
break;
case 'R':
x = pw - w;
y = ph - h >> 1;
break;
case 'BL':
x = 0;
y = ph - h;
break;
case 'B':
x = pw - w >> 1;
y = ph - h;
break;
case 'BR':
x = pw - w;
y = ph - h;
break;
}
}
}
var pos = target.getAlignPosition();
x = pos.x;
y = pos.y;
}

if(x != 0 || y != 0) ctx.translate(x, y);
Expand Down
4 changes: 2 additions & 2 deletions build/amd/hilo/renderer/CanvasRenderer.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/amd/hilo/renderer/DOMRenderer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Hilo 1.1.4 for amd
* Hilo 1.1.5 for amd
* Copyright 2016 alibaba.com
* Licensed under the MIT License
*/
Expand Down
2 changes: 1 addition & 1 deletion build/amd/hilo/renderer/DOMRenderer.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/amd/hilo/renderer/Renderer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Hilo 1.1.4 for amd
* Hilo 1.1.5 for amd
* Copyright 2016 alibaba.com
* Licensed under the MIT License
*/
Expand Down
2 changes: 1 addition & 1 deletion build/amd/hilo/renderer/Renderer.min.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Hilo 1.1.4 for amd
* Hilo 1.1.5 for amd
* Copyright 2016 alibaba.com
* Licensed under the MIT License
*/
Expand Down
7 changes: 4 additions & 3 deletions build/amd/hilo/renderer/WebGLRenderer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Hilo 1.1.4 for amd
* Hilo 1.1.5 for amd
* Copyright 2016 alibaba.com
* Licensed under the MIT License
*/
Expand Down Expand Up @@ -431,12 +431,13 @@ var WebGLRenderer = Class.create(/** @lends WebGLRenderer.prototype */{
sin = Math.sin(r);
}

var pos = view.getAlignPosition();
mtx.a = cos*scaleX;
mtx.b = sin*scaleX;
mtx.c = -sin*scaleY;
mtx.d = cos*scaleY;
mtx.tx = view.x - mtx.a * pivotX - mtx.c * pivotY;
mtx.ty = view.y - mtx.b * pivotX - mtx.d * pivotY;
mtx.tx = pos.x - mtx.a * pivotX - mtx.c * pivotY;
mtx.ty = pos.y - mtx.b * pivotX - mtx.d * pivotY;

mtx.concat(ancestor.__webglWorldMatrix);
},
Expand Down
Loading

0 comments on commit 0c2446b

Please sign in to comment.