summaryrefslogtreecommitdiff
path: root/src/gnu_and_bola_-_the_libre_beat_em_up_game
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-11-24 15:40:50 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-11-24 15:40:50 -0300
commit4c0a1a574e4afe9754bbe7a39669db680af8ffab (patch)
tree2b9bea033b2435006c6fe0528fe348e1550f1f7a /src/gnu_and_bola_-_the_libre_beat_em_up_game
parent29ad7ee347a7fc9dc5ac50e825170143c360f53c (diff)
Add more extra functions
Diffstat (limited to 'src/gnu_and_bola_-_the_libre_beat_em_up_game')
-rw-r--r--src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/bola/motion.lua8
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)