fysplane/main.lua

22 lines
411 B
Lua
Raw Permalink Normal View History

2014-10-17 19:28:17 +00:00
Gamestate = require 'hump.gamestate'
require 'menu_state'
require 'settings'
2014-10-17 19:28:17 +00:00
-- 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(PIXELS_PER_METER)
2014-10-17 19:28:17 +00:00
Gamestate.registerEvents()
Gamestate.switch(menu_state)
2014-10-17 19:28:17 +00:00
end
function love.quit()
end