uh, a lot happened, i murdered physics code, redesigned tiles & levels, now i need to make another level editor. I'm sorry game. I'm sorry git.

This commit is contained in:
lustlion
2021-11-28 03:38:30 +01:00
parent 8607399d16
commit dd2debc0bd
30 changed files with 701 additions and 693 deletions

View File

@@ -1,4 +1,5 @@
-- animations
-- animationsç
-- all these are linear animations, maybe in the future make proper animations?
animation = {
kupo = {
body = {
@@ -63,6 +64,9 @@ animation = {
}
}
-- animation loader
-- im unsure if this is too memory expensive (probably)
-- this should go elsewhere, maybe
for _, object in pairs(animation) do
for _, anim in pairs(object) do
anim.imgs = {}
@@ -77,15 +81,21 @@ levelProperties = {
x = 0,
y = 0
},
-- im unsure why there's offset at all, here
offset = {
x = 0,
y = 0
}
}
tileset = {
bricks = love.graphics.newImage("assets/tileset/bricks.png"),
books = love.graphics.newImage("assets/tileset/bricks.png"),
library = love.graphics.newImage("assets/tileset/library.png")
}
tileProperties = {
width = 16,
height = 16,
scale = 1,
tileset = love.graphics.newImage("assets/terrain/tileset.png")
}