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:
parent
b071e117fa
commit
d690863b6f
5 changed files with 18 additions and 14 deletions
5
main.lua
5
main.lua
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue