polished and built for release
This commit is contained in:
@@ -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"
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user