diff options
author | Paul Duncan <pabs@pablotron.org> | 2020-03-06 20:15:37 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2020-03-06 20:15:37 -0500 |
commit | 11a52ccb277226d752dbdd56d4ede08ca1476b47 (patch) | |
tree | 55acf9ff9c92747c0f5161a5dd72fa7a01e32934 /public | |
parent | 639eeabfb0ed68bc3abf92d5cf5d934d4b636162 (diff) | |
download | alonzo-mood-calculator-11a52ccb277226d752dbdd56d4ede08ca1476b47.tar.bz2 alonzo-mood-calculator-11a52ccb277226d752dbdd56d4ede08ca1476b47.zip |
increase allowed variance
Diffstat (limited to 'public')
-rw-r--r-- | public/face.js | 44 | ||||
-rw-r--r-- | public/index.html | 4 |
2 files changed, 24 insertions, 24 deletions
diff --git a/public/face.js b/public/face.js index ab8b812..d1e5431 100644 --- a/public/face.js +++ b/public/face.js @@ -38,112 +38,112 @@ jQuery(function($) { var FRAMES = [{ // hurt0-c time: { min: 0, max: 250 }, - rate: { min: -0.5, max: 1 }, + rate: { min: -5, max: 5 }, pos: { x: 1, y: 0 }, }, { // hurt0-r time: { min: 250, max: 500 }, - rate: { min: -0.5, max: 1 }, + rate: { min: -5, max: 5 }, pos: { x: 2, y: 0 }, }, { // hurt0-c time: { min: 500, max: 750 }, - rate: { min: -0.5, max: 1 }, + rate: { min: -5, max: 5 }, pos: { x: 1, y: 0 }, }, { // hurt0-l time: { min: 750, max: 1000 }, - rate: { min: -0.5, max: 1 }, + rate: { min: -5, max: 5 }, pos: { x: 0, y: 0 }, }, { // hurt1-c time: { min: 0, max: 250 }, - rate: { min: -2, max: -0.5 }, + rate: { min: -15, max: -5 }, pos: { x: 1, y: 1 }, }, { // hurt1-r time: { min: 250, max: 500 }, - rate: { min: -2, max: -0.5 }, + rate: { min: -15, max: -5 }, pos: { x: 2, y: 1 }, }, { // hurt1-c time: { min: 500, max: 750 }, - rate: { min: -2, max: -0.5 }, + rate: { min: -15, max: -5 }, pos: { x: 1, y: 1 }, }, { // hurt1-l time: { min: 750, max: 1000 }, - rate: { min: -2, max: -0.5 }, + rate: { min: -15, max: -5 }, pos: { x: 0, y: 1 }, }, { // hurt2-c time: { min: 0, max: 250 }, - rate: { min: -3, max: -2 }, + rate: { min: -30, max: -15 }, pos: { x: 1, y: 2 }, }, { // hurt2-r time: { min: 250, max: 500 }, - rate: { min: -3, max: -2 }, + rate: { min: -30, max: -15 }, pos: { x: 2, y: 2 }, }, { // hurt2-c time: { min: 500, max: 750 }, - rate: { min: -3, max: -2 }, + rate: { min: -30, max: -15 }, pos: { x: 1, y: 2 }, }, { // hurt2-l time: { min: 750, max: 1000 }, - rate: { min: -3, max: -2 }, + rate: { min: -30, max: -15 }, pos: { x: 0, y: 2 }, }, { // hurt3-c time: { min: 0, max: 250 }, - rate: { min: -4, max: -3 }, + rate: { min: -50, max: -30 }, rect: { x: 14 + 26 * 1, y: 14 + 31 * 3, w: 24, h: 29 }, }, { // hurt3-r time: { min: 250, max: 500 }, - rate: { min: -4, max: -3 }, + rate: { min: -50, max: -30 }, rect: { x: 14 + 26 * 2, y: 14 + 31 * 3, w: 24, h: 29 }, }, { // hurt3-c time: { min: 500, max: 750 }, - rate: { min: -4, max: -3 }, + rate: { min: -50, max: -30 }, rect: { x: 14 + 26 * 1, y: 14 + 31 * 3, w: 24, h: 29 }, }, { // hurt3-l time: { min: 750, max: 1000 }, - rate: { min: -4, max: -3 }, + rate: { min: -50, max: -30 }, rect: { x: 14 + 26 * 0, y: 14 + 31 * 3, w: 24, h: 29 }, }, { // hurt4-c time: { min: 0, max: 250 }, - rate: { min: -5, max: -4 }, + rate: { min: -75, max: -50 }, rect: { x: 14 + 26 * 1, y: 16 + 31 * 4, w: 24, h: 29 }, }, { // hurt4-r time: { min: 250, max: 500 }, - rate: { min: -5, max: -4 }, + rate: { min: -75, max: -50 }, rect: { x: 14 + 26 * 2, y: 16 + 31 * 4, w: 24, h: 29 }, }, { // hurt4-c time: { min: 500, max: 750 }, - rate: { min: -5, max: -4 }, + rate: { min: -75, max: -50 }, rect: { x: 14 + 26 * 1, y: 16 + 31 * 4, w: 24, h: 29 }, }, { // hurt4-l time: { min: 750, max: 1000 }, - rate: { min: -5, max: -4 }, + rate: { min: -75, max: -50 }, rect: { x: 14 + 26 * 0, y: 16 + 31 * 4, w: 24, h: 29 }, }, { // dead time: { min: 0, max: 1001 }, - rate: { min: -10000, max: -5 }, + rate: { min: -10000, max: -75 }, rect: { x: 14, y: 335, w: 24, h: 31 }, }, { // invincible time: { min: 0, max: 1001 }, - rate: { min: 1, max: 10000 }, + rate: { min: 5, max: 10000 }, rect: { x: 40, y: 335, w: 24, h: 29 }, }].map(function(row) { return { diff --git a/public/index.html b/public/index.html index 43eeed9..dccba2e 100644 --- a/public/index.html +++ b/public/index.html @@ -27,7 +27,7 @@ <button class='set-rate' - data-val='-10' + data-val='-10000' title='Set change to minimum.' > Min @@ -43,7 +43,7 @@ <button class='set-rate' - data-val='10' + data-val='10000' title='Set change to maximum.' > Max |