summaryrefslogtreecommitdiff
path: root/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-12-03 18:39:56 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-12-03 18:39:56 -0300
commitef5bce4721d1307200b1335565303a7832f77535 (patch)
treef1840a3e31dcf4cda066d5f377edb4ff2af31622 /src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load
parent1a9e17acb3a65a98305d19363f6b4e7185356c74 (diff)
Keep the code more KISS - part 2
Diffstat (limited to 'src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load')
-rw-r--r--src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/default.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/default.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/default.lua
new file mode 100644
index 0000000..31b8f9b
--- /dev/null
+++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/load/default.lua
@@ -0,0 +1,18 @@
+main.load = function()
+ fps = 30
+ upTime = love.timer.getTime()
+ nextTime = upTime
+ windowProfile = require 'scripts.window.profile'
+
+ love.graphics.setBackgroundColor(0, 232, 216)
+ love.graphics.setDefaultFilter('nearest', 'nearest')
+ love.window.setMode(windowProfile.mode.width * windowProfile.scale.x, windowProfile.mode.height * windowProfile.scale.y)
+ love.window.setTitle(windowProfile.title)
+
+ button = require 'scripts.player.1.button'
+ metaSprites = require 'scripts.meta_sprites'
+
+ character = {
+ bola = require 'scripts.bola.default'
+ }
+end