summaryrefslogtreecommitdiff
path: root/src/gnu_and_bola_-_the_libre_beat_em_up_game/main.lua
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-11-24 00:51:37 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-11-24 15:36:42 -0300
commit29ad7ee347a7fc9dc5ac50e825170143c360f53c (patch)
treeb26a9ed91496936bf92d5ac2fb5ea8f35959b0c4 /src/gnu_and_bola_-_the_libre_beat_em_up_game/main.lua
parent003bb2b3f5a6ba2fb8b0b09c3e9f1f1c3cd4c452 (diff)
Modularize windowProfile.{mode,scale,title}
Diffstat (limited to 'src/gnu_and_bola_-_the_libre_beat_em_up_game/main.lua')
-rw-r--r--src/gnu_and_bola_-_the_libre_beat_em_up_game/main.lua12
1 files changed, 1 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 00c492a..ff20873 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')