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:
Kazhnuz 2019-02-03 20:17:49 +01:00
parent e4a6f64ae6
commit c7413809e9
3 changed files with 4 additions and 4 deletions

View file

@ -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()

View file

@ -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")

View file

@ -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( )