so we have a lot of it wor_ing properly, now we have to do the thing where it preloads necessary spritesgit add -A

This commit is contained in:
0x81c 2015-03-25 04:22:10 -04:00 committed by Your Name
parent b071e117fa
commit d690863b6f
5 changed files with 18 additions and 14 deletions

View file

@ -4,6 +4,7 @@ local utf8 = require("utf8")
class = require "libs/middleclass"
Timer = require "libs/hump/timer"
sfxr = require "libs/sfxrlua/sfxr"
require "libs/TSerial"
require "_debug_helpers"
require "_helpers"
require "input"
@ -14,11 +15,15 @@ require "sprite_manager"
require "level_editor/editor"
function love.load()
globalAssetProperties = TSerial.unpack(love.filesystem.read("assets.prop") or "{}")
_initDefaults()
_initGridVars()
_initSounds()
_initGlobalColors()
_initLevelEditor()
processSprites()
gameCanvas = love.graphics.newCanvas()