Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6faa87dbd5
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (32 sloc) 0.72 kb
--
-- Rogue Beach, CA
--
-- A roguelike surfing game.
--
-- (C) 2012-2013 Thomas R. Koll
require 'lib/middleclass'
game = {
graphics = {
fullscreen = false,
mode = { height = love.graphics.getHeight(), width = love.graphics.getWidth() }
},
fonts = {},
}
function game.createFonts(offset)
return {
lineHeight = (10 + offset) * 1.7,
small = love.graphics.newFont(10 + offset),
regular = love.graphics.newFont(14 + offset),
large = love.graphics.newFont(24 + offset),
very_large = love.graphics.newFont(48 + offset)
}
end
function love.load()
game.fonts = game.createFonts(0)
end
function love.draw()
end
function love.keypressed(key)
end
function love.update(dt)
end
Jump to Line
Something went wrong with that request. Please try again.