From a44ed295a28841a41e3fbc9cf1356a0db7a1a854 Mon Sep 17 00:00:00 2001 From: "Eevee (Evelyn Woods)" Date: Tue, 8 Dec 2020 17:23:27 -0700 Subject: [PATCH] Fix ball animation --- js/tileset.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/js/tileset.js b/js/tileset.js index 0382098..96d6eda 100644 --- a/js/tileset.js +++ b/js/tileset.js @@ -275,7 +275,15 @@ export const CC2_TILESET_LAYOUT = { popwall: [8, 10], popwall2: [8, 10], gravel: [9, 10], - ball: [[10, 10], [11, 10], [12, 10], [13, 10], [14, 10]], + ball: [ + // appropriately, this animation ping-pongs + [10, 10], [11, 10], [12, 10], [13, 10], + [14, 10], [13, 10], [12, 10], [11, 10], + // FIXME the ball bounces so it specifically needs to play its animation every move; this + // defeats the ½x slowdown. it's dumb and means this anim as written doesn't match cc2 + [10, 10], [11, 10], [12, 10], [13, 10], + [14, 10], [13, 10], [12, 10], [11, 10], + ], steel: { // Wiring! base: [15, 10],