Skip to content

Commit

Permalink
use right arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
pmalhaire committed Feb 12, 2017
1 parent c5da4f9 commit 74e69e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Create a 2d animated character from paper sketches

## Version
this project is in very early stage pre alpha 0.0.1
currently it makes a character walk using the "q" key
currently it makes a character walk using the right arrow key
image res/sample.png cames from http://www.angryanimator.com/word/2010/11/26/tutorial-2-walk-cycle/

## Prerequisites
Expand Down
2 changes: 1 addition & 1 deletion love/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function love.update(dt)
dtotal = dtotal + dt
--change sequence every refresh time
if dtotal > refresh_rate then
if love.keyboard.isDown("a") then
if love.keyboard.isDown("right") then
character.pose_index = (character.pose_index + 1) % character.pose_number
character.current_pose = character.sequence[character.pose_index]
dtotal = 0
Expand Down

0 comments on commit 74e69e3

Please sign in to comment.