diff --git a/game/Custom.css b/game/Custom.css index 7f4b729..0757f72 100644 --- a/game/Custom.css +++ b/game/Custom.css @@ -269,4 +269,113 @@ td { #dMini0 > table > tbody > tr:nth-child(2) td { padding-top: 17px !important; -} \ No newline at end of file +} +@keyframes wallnutSpin { + 0% { + rotate: 0deg; + transform: translate(0px, 0px); + } + 8.33% { + rotate: 25deg; + transform: translate(0px, -1px); + } + 16.67% { + rotate: 55deg; + transform: translate(2px, 0px); + } + 25% { + rotate: 90deg; + transform: translate(4px, 0px); + } + 33.33% { + rotate: 120deg; + transform: translate(4px, 0px); + } + 41.67% { + rotate: 150deg; + transform: translate(0px, 0px); + } + 50% { + rotate: 180deg; + transform: translate(0px, 2px); + } + 58.33% { + rotate: 210deg; + transform: translate(1px, 0px); + } + 66.67% { + rotate: 235deg; + transform: translate(-2px, -2px); + } + 75% { + rotate: 270deg; + transform: translate(-6px, 0px); + } + 83.33% { + rotate: 305deg; + transform: translate(-3px, -1px); + } + 91.67% { + rotate: 330deg; + transform: translate(-2px, -1px); + } + 100% { + rotate: 360deg; + transform: translate(0px, 0px); + } +} + +@keyframes hugeWallnutSpin { + 0% { + rotate: 0deg; + transform: translate(0px, 0px); + } + 8.33% { + rotate: 25deg; + transform: translate(-1px, -2px); + } + 16.67% { + rotate: 55deg; + transform: translate(2px, 2px); + } + 25% { + rotate: 90deg; + transform: translate(11px, 0px); + } + 33.33% { + rotate: 120deg; + transform: translate(9px, -6px); + } + 41.67% { + rotate: 150deg; + transform: translate(3px, -4px); + } + 50% { + rotate: 180deg; + transform: translate(0px, 0px); + } + 58.33% { + rotate: 210deg; + transform: translate(-1px, -2px); + } + 66.67% { + rotate: 235deg; + transform: translate(-5px, -4px); + } + 75% { + rotate: 270deg; + transform: translate(-11px, 0px); + } + 83.33% { + rotate: 305deg; + transform: translate(-3px, 4px); + } + 91.67% { + rotate: 330deg; + transform: translate(0px, 1px); + } + 100% { + rotate: 360deg; + transform: translate(0px, 0px); + } +} diff --git a/game/js/CPlants.js b/game/js/CPlants.js index e624eed..ec38235 100644 --- a/game/js/CPlants.js +++ b/game/js/CPlants.js @@ -4331,7 +4331,7 @@ BirthStyle: function (c, e, b, a) { var d = $(c.id); PlayAudio("bowling"); EditEle(d.childNodes[1], { - style: `animation: spin ${ + style: `animation: wallnutSpin ${ 0.75 * ($User.Visitor.TimeStep / 10) }s linear infinite`, }); @@ -4477,7 +4477,7 @@ BirthStyle: function (c, e, b, a) { PrivateBirth: function (a) { PlayAudio("bowling"); EditEle($(a.id).childNodes[1], { - style: `animation: spin ${ + style: `animation: hugeWallnutSpin ${ 1.25 * ($User.Visitor.TimeStep / 10) }s linear infinite`, }); @@ -4522,7 +4522,7 @@ BirthStyle: function (c, e, b, a) { PrivateBirth: function (a) { PlayAudio("bowling"); EditEle($(a.id).childNodes[1], { - style: `animation: spin ${ + style: `animation: wallnutSpin ${ 0.75 * ($User.Visitor.TimeStep / 10) }s linear infinite`, }); diff --git a/wallnutTest.html b/wallnutTest.html deleted file mode 100644 index 872df3e..0000000 --- a/wallnutTest.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - wallnut keyframing - - -
-
-

-
- - - - - - \ No newline at end of file diff --git a/wallnuts/blehh rol0001.jpg b/wallnuts/blehh rol0001.jpg deleted file mode 100644 index faa8b17..0000000 Binary files a/wallnuts/blehh rol0001.jpg and /dev/null differ diff --git a/wallnuts/blehh rol0002.jpg b/wallnuts/blehh rol0002.jpg deleted file mode 100644 index 9097f82..0000000 Binary files a/wallnuts/blehh rol0002.jpg and /dev/null differ diff --git a/wallnuts/blehh rol0003.jpg b/wallnuts/blehh rol0003.jpg deleted file mode 100644 index 71f99c4..0000000 Binary files a/wallnuts/blehh rol0003.jpg and /dev/null differ diff --git a/wallnuts/blehh rol0004.jpg b/wallnuts/blehh rol0004.jpg deleted file mode 100644 index f931669..0000000 Binary files a/wallnuts/blehh rol0004.jpg and /dev/null differ diff --git a/wallnuts/blehh rol0005.jpg b/wallnuts/blehh rol0005.jpg deleted file mode 100644 index f49f938..0000000 Binary files a/wallnuts/blehh rol0005.jpg and /dev/null differ diff --git a/wallnuts/blehh rol0006.jpg b/wallnuts/blehh rol0006.jpg deleted file mode 100644 index 77dac1a..0000000 Binary files a/wallnuts/blehh rol0006.jpg and /dev/null differ diff --git a/wallnuts/blehh rol0007.jpg b/wallnuts/blehh rol0007.jpg deleted file mode 100644 index 9543afd..0000000 Binary files a/wallnuts/blehh rol0007.jpg and /dev/null differ diff --git a/wallnuts/blehh rol0008.jpg b/wallnuts/blehh rol0008.jpg deleted file mode 100644 index 3a40d32..0000000 Binary files a/wallnuts/blehh rol0008.jpg and /dev/null differ diff --git a/wallnuts/blehh rol0009.jpg b/wallnuts/blehh rol0009.jpg deleted file mode 100644 index 761ff14..0000000 Binary files a/wallnuts/blehh rol0009.jpg and /dev/null differ diff --git a/wallnuts/blehh rol0010.jpg b/wallnuts/blehh rol0010.jpg deleted file mode 100644 index 18c7c69..0000000 Binary files a/wallnuts/blehh rol0010.jpg and /dev/null differ diff --git a/wallnuts/blehh rol0011.jpg b/wallnuts/blehh rol0011.jpg deleted file mode 100644 index 90cd751..0000000 Binary files a/wallnuts/blehh rol0011.jpg and /dev/null differ diff --git a/wallnuts/blehh rol0012.jpg b/wallnuts/blehh rol0012.jpg deleted file mode 100644 index 51475ad..0000000 Binary files a/wallnuts/blehh rol0012.jpg and /dev/null differ diff --git a/wallnuts/blehh rol0013.jpg b/wallnuts/blehh rol0013.jpg deleted file mode 100644 index 6a9c2e8..0000000 Binary files a/wallnuts/blehh rol0013.jpg and /dev/null differ