Skip to content

Commit

Permalink
Display "Controlling Animations" header properly (#29)
Browse files Browse the repository at this point in the history
Add a space between the hash and the text so it doesn't look like "#Controlling Animations".
  • Loading branch information
PacDan authored and ilexp committed Jan 20, 2019
1 parent 3f0cf2a commit 4025d7c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pages/v3/Working-With-Animations.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ Pressing play, you will see the full animation running, slowly.

By tweaking the values in AnimSpriteRenderer, you can control the animation speed, when it starts, when it ends, if it starts automatically, etc.

#Controlling Animations
# Controlling Animations

So, knowing now how to create an animated character, we need to slice the spritesheet into the various segments, like walking, jumping, running, etc.

Our example has two segments that we must define so that our character doesn't just loop through every frame in the animation nonstop.
Expand Down Expand Up @@ -100,4 +101,4 @@ void Keyboard_KeyUp(object sender, KeyboardKeyEventArgs e)

Build, and when pressing Right arrow key on your keyboard, you'll see Billy running. By releasing the key, he'll just stay in the idle position.

This is just an example of going about this.
This is just an example of going about this.

0 comments on commit 4025d7c

Please sign in to comment.