From: Joe Wreschnig Date: Thu, 9 Apr 2015 20:01:08 +0000 (+0200) Subject: Cat paw mode. X-Git-Url: https://git.yukkurigames.com/?a=commitdiff_plain;h=9fe8422cf388196441fef16a5e2761aac79d0157;p=pwl6.git Cat paw mode. --- diff --git a/BUGS.org b/BUGS.org index 1d11cc7..44a91c0 100644 --- a/BUGS.org +++ b/BUGS.org @@ -7,6 +7,8 @@ ** Work around incorrect Safari JIT generation. Some details of the symptoms / likely-but-unproven cause at https://korewanetadesu.com/safari-jit-bug.html. +** Sped up background and book noise animations. +** Cat paws. * v1.2 ** DONE Override the GPU blacklist on GNU/Linux diff --git a/src/data/images/hand.png b/src/data/images/hand.png index 96e07b2..f60622b 100644 Binary files a/src/data/images/hand.png and b/src/data/images/hand.png differ diff --git a/src/pwl6.js b/src/pwl6.js index dc50206..e01eeb8 100644 --- a/src/pwl6.js +++ b/src/pwl6.js @@ -580,9 +580,10 @@ HandScene = yT(yuu.Scene, { 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,