fysplane/main.lua

21 lines
378 B
Lua
Raw Normal View History

2014-10-17 19:28:17 +00:00
Gamestate = require 'hump.gamestate'
require 'menu_state'
-- Initialize game global variables and switch to menu state
function love.load()
width = love.graphics.getWidth()
height = love.graphics.getHeight()
love.mouse.setVisible(true)
love.physics.setMeter(30)
Gamestate.registerEvents()
Gamestate.switch(menu_state)
end
function love.quit()
end