Skip to content

Commit

Permalink
Replaced BM Germar font with Notalot35
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonLarsen committed Nov 17, 2015
1 parent 83e820b commit 61fd036
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gameover.lua
Expand Up @@ -38,7 +38,7 @@ end
function GameOver:draw()
love.graphics.draw(self.bg, 0, 0)

love.graphics.setFont(ResMgr.getFont("bmgermar.ttf", 13))
love.graphics.setFont(ResMgr.getFont("notalot35.ttf", 16))

printShadow("The night creeps ruined your sleep at:", 16, 16)
printShadow(self.timeStr, 24, 32)
Expand Down
14 changes: 14 additions & 0 deletions introduction.lua
Expand Up @@ -4,6 +4,19 @@ Introduction.__index = Introduction
Introduction.STATE_FADEIN = 0
Introduction.STATE_FADEOUT = 1

local intro_text =
[[It's bed time, the monsters are out to get you, and your blanket is just too small to cover you body!
Cover your exposed limbs to fend off the approaching tentacles.
The tentacles will only go after your feet, hands and head.
If the tentacles reach you, it's game over!
- SURVIVE UNTILL 7 AM]]

function Introduction:enter(music)
self.bg = ResMgr.getImage("introduction.png")
self.imgCursorNormal = ResMgr.getImage("cursor_normal.png")
Expand All @@ -29,6 +42,7 @@ end

function Introduction:draw()
love.graphics.draw(self.bg, 0, 0)
printfShadow(intro_text, 16, 14, WIDTH-32, "left", 1)

if self.fade > 0 then
love.graphics.setColor(0, 0, 0, self.fade*255)
Expand Down
Binary file removed res/fonts/bmgermar.ttf
Binary file not shown.
Binary file added res/fonts/notalot35.ttf
Binary file not shown.
Binary file modified res/gfx/introduction.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion title.lua
Expand Up @@ -73,7 +73,7 @@ function Title:draw()
love.graphics.setColor(255, 255, 255, 255)
end

love.graphics.setFont(ResMgr.getFont("bmgermar.ttf", 13))
love.graphics.setFont(ResMgr.getFont("notalot35.ttf", 16))
printfShadow("CLICK TO CONTINUE", 10, 153, 125, "center", 2)

if self.fade > 0 then
Expand Down
2 changes: 2 additions & 0 deletions winscreen.lua
Expand Up @@ -27,6 +27,8 @@ end
function Winscreen:draw()
love.graphics.draw(self.bg, 0, 0)

love.graphics.setFont(ResMgr.getFont("notalot35.ttf", 16))

printShadow("You managed to get a good nights sleep,", 10, 8, 1)
printShadow("now hurry up and get to work!", 10, 22, 1)

Expand Down

0 comments on commit 61fd036

Please sign in to comment.