scenes/boost: comment out the old gui system
as it's not here anymore, let's not use it for the moment
This commit is contained in:
parent
e4a6f64ae6
commit
c7413809e9
3 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
local Controller = Object:extend()
|
||||
local GUI = require "modules.gui"
|
||||
--local GUI = require "modules.gui"
|
||||
local Assets = require "modules.assets"
|
||||
|
||||
local folder = "scenes.subgame.sonic-boost.controller"
|
||||
|
@ -20,7 +20,7 @@ function Controller:new(levelid, character)
|
|||
self:initMission()
|
||||
|
||||
self.assets = Assets()
|
||||
self.gui = GUI()
|
||||
--self.gui = GUI()
|
||||
LoadAssets(self)
|
||||
|
||||
self:initManagers()
|
||||
|
|
|
@ -50,7 +50,7 @@ local function LoadAssets(controller)
|
|||
controller.assets:addSprite("crystal", "assets/sprites/items/crystal")
|
||||
|
||||
controller.assets:addFont("text", "assets/fonts/PixelOperator.ttf", 16.5)
|
||||
controller.gui:addTextBox("solid", "assets/gui/dialogbox.png")
|
||||
--controller.gui:addTextBox("solid", "assets/gui/dialogbox.png")
|
||||
|
||||
controller.assets:addSFX("ring", "assets/sfx/gameplay/objects/ring.wav")
|
||||
controller.assets:addSFX("booster", "assets/sfx/gameplay/objects/booster.wav")
|
||||
|
|
|
@ -52,7 +52,7 @@ function PauseMenu:drawCanvas(width, height)
|
|||
CScreen:cease()
|
||||
love.graphics.setCanvas( self.canvas )
|
||||
|
||||
self.controller.gui.textbox["solid"]:draw(32, 32, width, height)
|
||||
--self.controller.gui.textbox["solid"]:draw(32, 32, width, height)
|
||||
self.controller.assets.fonts["title"]:draw("PAUSE", (width + 64)/2, 12, -1)
|
||||
|
||||
love.graphics.setCanvas( )
|
||||
|
|
Loading…
Reference in a new issue