diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-11-24 15:40:50 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-11-24 15:42:39 -0300 |
commit | 4ac1b419aecddb16871fbf374a72c7d2b50adcf1 (patch) | |
tree | 2b9bea033b2435006c6fe0528fe348e1550f1f7a | |
parent | e6421b21b5b82e513aea5d731cd7c863c47ea9b4 (diff) |
Add more extra functions
-rw-r--r-- | src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/motion.lua | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/motion.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/motion.lua index 1aafddd..fcb617c 100644 --- a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/motion.lua +++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/motion.lua @@ -10,7 +10,13 @@ function motionModule.motion(dt) pause(dt) end elseif love.keyboard.isDown(button.select) then - select(dt) + if arcade == true then + coin(dt) + elseif arcade == false then + if menu == true then + select(dt) + end + end elseif love.keyboard.isDown(button.a) then if menu == true then accept(dt) |