From 35306f161ab3494c43d0162b7deff67de62eac4d Mon Sep 17 00:00:00 2001 From: Treedbox Date: Wed, 21 Jun 2017 13:50:29 -0300 Subject: [PATCH] Update step09_en.md sprite.animations.add('rotate', [0, 1, 2, 1], 6, true); should be: sprite.animations.add('rotate', [0, 1, 2, 3], 6, true); To rotate the coin convincingly --- src/content/platformer/step09_en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/platformer/step09_en.md b/src/content/platformer/step09_en.md index b010af9..c638d5b 100644 --- a/src/content/platformer/step09_en.md +++ b/src/content/platformer/step09_en.md @@ -68,7 +68,7 @@ To collect the coins we will **detect when the main character has touched** any ```js PlayState._spawnCoin = function (coin) { // ... - sprite.animations.add('rotate', [0, 1, 2, 1], 6, true); // 6fps, looped + sprite.animations.add('rotate', [0, 1, 2, 3], 6, true); // 6fps, looped sprite.animations.play('rotate'); }; ```