everything i originally planned on works now, this is officially 1.0, gonna merge it with main and the next plan is to create a lives system instead of a score system

This commit is contained in:
2018-08-31 03:22:13 +02:00
parent 4d268e5d3e
commit be314e3465
3 changed files with 67 additions and 15 deletions

View File

@@ -4,6 +4,7 @@ require "swat"
function love.load()
--love.graphics.set3D(true)
snakeplayer:hardreset()
swat:load()
end
@@ -123,6 +124,9 @@ function love.keyreleased(key)
end
function love.mousepressed(a, b)
local x, y = love.mouse.getPosition()
fly:kill(x, y)
end
require("potion-compat")
--require("potion-compat")