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:40:50 -0300 |
commit | 4c0a1a574e4afe9754bbe7a39669db680af8ffab (patch) | |
tree | 2b9bea033b2435006c6fe0528fe348e1550f1f7a /src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts | |
parent | 29ad7ee347a7fc9dc5ac50e825170143c360f53c (diff) |
Add more extra functions
Diffstat (limited to 'src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts')
-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) |