fysplane/main.lua
2014-10-17 22:28:17 +03:00

20 lines
378 B
Lua

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