polished and built for release

This commit is contained in:
Paul Liverman III
2015-02-06 23:09:59 -08:00
parent c9a8f4bb03
commit 80e7a8410c
9 changed files with 304 additions and 4 deletions

View File

@@ -1,8 +1,8 @@
function love.conf(t)
t.identity = "RGB"
t.identity = "rgb"
t.version = "0.9.1"
--t.author = "Guard13007"
t.console = true
--t.console = true
t.window = {}
t.window.title = "RGB - The Color Chooser"

View File

@@ -49,7 +49,6 @@ local function copyColor(A)
end
function game:update(dt)
print(os.time())
-- check if level complete
local coloredBoxes = {}
for i=0,#boxes do
@@ -111,7 +110,6 @@ function game:draw()
end
function game:mousepressed(x, y, button)
print(button) --debug
local nx = math.floor(x / boxSize)
local ny = math.floor((y - boxSize * 2) / boxSize)
if boxes[nx][ny] then

View File

@@ -2,6 +2,9 @@ local Gamestate = require "lib.gamestate"
local menu = require "menu"
function love.load()
local icon = love.image.newImageData("icon.png")
love.window.setIcon(icon)
Gamestate.registerEvents()
Gamestate.switch(menu)
end