params: params,
resolve: resolve
});
- // FIXME: Simply chaining the promise doesn't work here
- // because the tick between the two handlers is often long
- // enough to render a frame, and that frame will have some
- // undesirable intermediate state.
+ // Chaining the promise doesn't work here because the tick
+ // between the two handlers is often long enough to render
+ // a frame with some undesirable intermediate state.
if (this._queue.length === 1)
this._runNext();
}.bind(this));
this.right.addChild(r);
var SIZE_X = yuu.random.gauss(1.2, 0.15) * 0.35;
var SIZE_Y = yuu.random.gauss(1.1, 0.05) * 0.51;
- var hand = yuu.random.randrange(3);
- this.leftQuad.texBounds = this.rightQuad.texBounds = [
- hand / 2.99, 0, (hand + 1) / 3.01, 1];
+ var handLeft = yuu.random.randrange(4);
+ var handRight = yuu.random.randrange(4);
+ this.leftQuad.texBounds = [handLeft / 4, 0, (handLeft + 1) / 4, 1];
+ this.rightQuad.texBounds = [handRight / 4, 0, (handRight + 1) / 4, 1];
this.layer0.resize(-0.75, 0, 1.5, 1.5);
var leftWrist = new yuu.E(
new yuu.Transform([-0.20, 0, 0], null,
p = this.layer0.worldFromDevice(p);
if (this.current === BOOK_FORWARD.length - 1
&& this.LOGOTYPE.contains(p)) {
- yuu.openURL("http://www.yukkurigames.com/");
+ yuu.openURL("https://www.yukkurigames.com/");
} else if (this.current === 0 && this.COLOPHON.contains(p)) {
yuu.director.showOverlay("colophon");
} else if (this.current === 0 || p.x >= -0.2) {