diff --git a/scripts/rendering/renderUI.lua b/scripts/rendering/renderUI.lua index 901be7f..8d22d03 100644 --- a/scripts/rendering/renderUI.lua +++ b/scripts/rendering/renderUI.lua @@ -62,9 +62,9 @@ R.drawMessage = function(message) end R.drawMessageDown = function(message) love.graphics.setColor(15/16, 15/16, 15/16) - love.graphics.rectangle("fill", 300, 738, 766, 30) + love.graphics.rectangle("fill", 0, 538, 1366, 230) love.graphics.setColor(0, 0, 0) - love.graphics.print(message, 320, 738) + love.graphics.print(message, 100, 550) love.graphics.setColor(1, 1, 1) end local iconOffset = function(index) diff --git a/scripts/states/addBuilding.lua b/scripts/states/addBuilding.lua index f02fa4f..76b1c87 100644 --- a/scripts/states/addBuilding.lua +++ b/scripts/states/addBuilding.lua @@ -20,7 +20,7 @@ function addBuilding:draw() addBuilding.prev.prev:draw(true) love.graphics.push() love.graphics.scale(GLOBSCALE()) - scripts.rendering.renderUI.drawMessage("Place building .. " .. addBuilding.building) + scripts.rendering.renderUI.drawMessage("Place building .. " .. scripts.gameobjects.buildings[addBuilding.building].name) love.graphics.pop() end diff --git a/scripts/states/menu.lua b/scripts/states/menu.lua index c87b074..8272c87 100644 --- a/scripts/states/menu.lua +++ b/scripts/states/menu.lua @@ -23,12 +23,15 @@ function menu:draw() scripts.rendering.renderMapView.draw(0, true) love.graphics.print("Card Major", 500,180) + love.graphics.setFont(fonts["subtitle"]) + scripts.rendering.renderUI.drawMessageDown(" Click to start\n\n A game by Peter van Dijk, Rolf van Kleef, Simon Struck, Nander Voortman\n\nWe hope you enjoy this game.") love.graphics.setFont(f) - scripts.rendering.renderUI.drawMessageDown("Click to start") + end function menu:update(dt, b) + CAMERA.r = CAMERA.r + 0.05*dt end function menu:keypressed(key)