chore: place all asset pack in asset folder
This commit is contained in:
parent
3d3fdc44c0
commit
7a0eeaed1a
14 changed files with 10 additions and 10 deletions
|
@ -8,8 +8,8 @@ function PlayStyle:new(supportedLevels, missionfile)
|
|||
|
||||
PlayStyle.super.new(self)
|
||||
self.timer = 0
|
||||
self.assets:batchImport("game.modules.gui.assets")
|
||||
self.assets:batchImport("game.modules.subgames.assets")
|
||||
self.assets:batchImport("assets.commons")
|
||||
self.assets:batchImport("assets.subgames")
|
||||
--self:loadMissionFile(supportedLevels, missionfile)
|
||||
|
||||
PauseMenu(self)
|
||||
|
|
|
@ -14,7 +14,7 @@ local TweenManager = require "birb.classes.time"
|
|||
function BattleSystem:new(battleData)
|
||||
BattleSystem.super.new(self)
|
||||
|
||||
self.assets:batchImport("scenes.battlesystem.assets")
|
||||
self.assets:batchImport("assets.battle")
|
||||
|
||||
self:playMusic(battleData.music)
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ local TweenManager = require "birb.classes.time"
|
|||
|
||||
function DebugMenu:new()
|
||||
DebugMenu.super.new(self)
|
||||
self.assets:batchImport("scenes.menus.assets")
|
||||
self.assets:batchImport("assets.menus")
|
||||
menu.commons.MainMenu(self, "BaseMenu")
|
||||
menu.StartGameWidget(self, "BaseMenu")
|
||||
menu.commons.SceneWidget(self, "BaseMenu", scenes.options, "Options")
|
||||
|
|
|
@ -8,7 +8,7 @@ local Sprite = require "birb.modules.assets.types.sprites"
|
|||
|
||||
function CharAnimViewer:new()
|
||||
CharAnimViewer.super.new(self)
|
||||
self.assets:batchImport("scenes.debug.commons.assets")
|
||||
self.assets:batchImport("assets.debug")
|
||||
local mainMenu = menu.commons.DebugMenu(self, "MainMenu")
|
||||
|
||||
self:setBackground("city")
|
||||
|
|
|
@ -8,7 +8,7 @@ local backgroundList = require "datas.gamedata.maps.shoot.zones"
|
|||
|
||||
function BackgroundViewer:new()
|
||||
BackgroundViewer.super.new(self)
|
||||
self.assets:batchImport("scenes.debug.commons.assets")
|
||||
self.assets:batchImport("assets.debug")
|
||||
menu.commons.DebugMenu(self, "MainMenu")
|
||||
|
||||
self:setBackground("city")
|
||||
|
|
|
@ -10,7 +10,7 @@ local MenuBack = require "game.modules.gui.menuback"
|
|||
function OptionsMenu:new()
|
||||
OptionsMenu.super.new(self)
|
||||
|
||||
self.assets:batchImport("scenes.menus.assets")
|
||||
self.assets:batchImport("assets.menus")
|
||||
self:addMenu("main", true)
|
||||
self:addSubMenu("video", "Video")
|
||||
self:addSubMenu("audio", "Audio")
|
||||
|
|
|
@ -37,7 +37,7 @@ function TitleScreen:new(fromMenu)
|
|||
local fromMenu = (fromMenu == true)
|
||||
|
||||
self.borders = gui.newBorder(424, 30, 8)
|
||||
self.assets:batchImport("scenes.menus.assets")
|
||||
self.assets:batchImport("assets.menus")
|
||||
self.assets:addImage("logo", "assets/artworks/logo.png")
|
||||
self.assets:addTileset("charicons", "assets/sprites/characters/charicons")
|
||||
self.assets.fonts["small"]:setLineHeight(16/18)
|
||||
|
|
|
@ -38,8 +38,8 @@ local MessageQueue = require "game.modules.messagequeue"
|
|||
function OverWorld:new(area, playerx, playery)
|
||||
OverWorld.super.new(self)
|
||||
self.charsetManager = CharsetManager(self)
|
||||
self.assets:batchImport("game.modules.gui.assets")
|
||||
self.assets:batchImport("scenes.overworld.assets")
|
||||
self.assets:batchImport("assets.commons")
|
||||
self.assets:batchImport("assets.overworld")
|
||||
self.assets.fonts["small"]:setLineHeight(16/18)
|
||||
self.assets.fonts["small"]:setFilter("shadow")
|
||||
|
||||
|
|
Loading…
Reference in a new issue