diff options
author | Jorge Lopez Seijas <jorginho@riseup.net> | 2016-12-15 20:37:56 +0100 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-12-17 21:23:17 -0300 |
commit | 11b8dcdf2a5c775be309e5969b284898ba0ff2fa (patch) | |
tree | 3daa8b0df8100c5373000441623e967404819f2c /src/gnu_and_bola_brawlers/load/default.lua | |
parent | c028315038adcd71634e0af264fbff8a618a7fa8 (diff) |
Keep the code KISS 2
Diffstat (limited to 'src/gnu_and_bola_brawlers/load/default.lua')
-rw-r--r-- | src/gnu_and_bola_brawlers/load/default.lua | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/gnu_and_bola_brawlers/load/default.lua b/src/gnu_and_bola_brawlers/load/default.lua new file mode 100644 index 0000000..bbf5c02 --- /dev/null +++ b/src/gnu_and_bola_brawlers/load/default.lua @@ -0,0 +1,25 @@ +local load = {} + +load.initialize = function() + fps = 30 + upTime = love.timer.getTime() + nextTime = upTime + + windowProfile = require 'load/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) + + controller = require 'load/player_controller_configuration' + images = require 'load/images' + character = require 'load/character' + + metaSprite = { + bola = require 'stand', + } +end + +return load |