wowowowowowowo so much stuff

This commit is contained in:
0x81c 2015-03-14 05:36:02 -04:00
parent fe21cb61e3
commit 2f40eaf000
249 changed files with 391 additions and 20 deletions

14
assorted.lua Normal file
View file

@ -0,0 +1,14 @@
require "entity"
Ass = class("Ass", Entity)
function Ass:initialize(x, y, color, folder, name)
local spr = love.graphics.newImage("art/" .. folder .. name .. "_" .. string.lower(string.sub(color, 1, 1)) ..".png")
Entity.initialize(self, {
x = x,
y = y,
color = color,
collision = "moveable", --player can't push other player
sprite = spr
})
end