diff options
-rw-r--r-- | src/gnu_and_bola_-_the_libre_beat_em_up_game/main.lua | 12 | ||||
-rw-r--r-- | src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/window/profile.lua | 11 |
2 files changed, 12 insertions, 11 deletions
diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/main.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/main.lua index 9a2435c..dd15cad 100644 --- a/src/gnu_and_bola_-_the_libre_beat_em_up_game/main.lua +++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/main.lua @@ -2,17 +2,7 @@ function love.load() fps = 30 upTime = love.timer.getTime() nextTime = upTime - windowProfile = { - mode = { - width = 256, - height = 240, - }, - scale = { - x = 2, - y = 2, - }, - title = "GNU & Bola - The libre beat'em up game", - } + windowProfile = require 'scripts.window.profile' love.graphics.setBackgroundColor(0, 232, 216) love.graphics.setDefaultFilter('nearest', 'nearest') diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/window/profile.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/window/profile.lua new file mode 100644 index 0000000..652921e --- /dev/null +++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/window/profile.lua @@ -0,0 +1,11 @@ +return { + mode = { + width = 256, + height = 240, + }, + scale = { + x = 2, + y = 2, + }, + title = "GNU & Bola - The libre beat'em up game", +} |