Skip to content

Commit b3e30c7

Browse files
committed
Update add-easing-to-your-game-animations-with-phaser.mdx
1 parent db97354 commit b3e30c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/add-easing-to-your-game-animations-with-phaser/add-easing-to-your-game-animations-with-phaser.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ function create() {
152152
```
153153

154154
- `key: "walk"` is the name of the animation, used when we tell the sprite to play it.
155-
- `frames` and `this.anims.generateFrameNumbers` tells Phaser which frames of the `"player"` sprite sheet to use for this animation.
155+
- `frames` and `this.anims.generateFrameNumbers()` tells Phaser which frames of the `"player"` sprite sheet to use for this animation.
156156
- `start: 12, end: 17` uses frames 12 through 17.
157157
- `frameRate: 8` is how fast the animation plays, 8 frames per second.
158158
- `repeat: -1` loops the animation indefinitely.

0 commit comments

Comments
 (0)