diff --git a/README.md b/README.md index 322524c..d9b3bdc 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/love/main.lua b/love/main.lua index 1178c31..3897d44 100644 --- a/love/main.lua +++ b/love/main.lua @@ -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