summaryrefslogtreecommitdiff
path: root/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/update/limit.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/update/limit.lua')
-rw-r--r--src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/update/limit.lua13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/update/limit.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/update/limit.lua
deleted file mode 100644
index 3990db0..0000000
--- a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/update/limit.lua
+++ /dev/null
@@ -1,13 +0,0 @@
-update.limit = function(dt)
- if character.bola.position.x <= character.bola.origin.x then
- character.bola.position.x = character.bola.origin.x
- elseif character.bola.position.x >= windowProfile.mode.width - character.bola.origin.x then
- character.bola.position.x = windowProfile.mode.width - character.bola.origin.x
- end
-
- if character.bola.position.y <= character.bola.origin.y then
- character.bola.position.y = character.bola.origin.y
- elseif character.bola.position.y >= windowProfile.mode.height - character.bola.origin.y then
- character.bola.position.y = windowProfile.mode.height - character.bola.origin.y
- end
-end