Created Particles, added fairy particle, added more entity methods like kill() and entity id

This commit is contained in:
lustlion
2022-01-19 23:29:02 +01:00
parent 15e8142c4c
commit 50f126fa7b
77 changed files with 106 additions and 26 deletions

View File

@@ -1,77 +1,84 @@
-- animationsç
-- all these are linear animations, maybe in the future make proper animations?
animation = {
particle = {
fairy = {
path = "assets/entities/particle/fairy",
frames = 4,
speed = 1/4
}
},
fairy = {
flying = {
path = "assets/characters/fairy/flying",
path = "assets/entities/fairy/flying",
frames = 2,
speed = 1/30
}
},
decoration = {
candelabra = {
path = "assets/characters/decoration/candelabra",
path = "assets/entities/decoration/candelabra",
frames = 8,
speed = 1/6
}
},
kupo = {
body = {
path = "assets/characters/kupo/kupo",
path = "assets/entities/kupo/kupo",
frames = 4,
speed = 1/8
},
bow = {
path = "assets/characters/kupo/kupo_bow",
path = "assets/entities/kupo/kupo_bow",
frames = 6,
speed = 1/10
},
arrow = {
path = "assets/characters/kupo/kupo_arrow",
path = "assets/entities/kupo/kupo_arrow",
frames = 1,
speed = 1
}
},
moth_mask = {
idle = {
path = "assets/characters/nancy/moth_mask/idle",
path = "assets/entities/nancy/moth_mask/idle",
frames = 4,
speed = 1/8
},
run = {
path = "assets/characters/nancy/moth_mask/run",
path = "assets/entities/nancy/moth_mask/run",
frames = 6,
speed = 1/8
},
fall = {
path = "assets/characters/nancy/moth_mask/fall",
path = "assets/entities/nancy/moth_mask/fall",
frames = 3,
speed = 1/8
},
jump = {
path = "assets/characters/nancy/moth_mask/jump",
path = "assets/entities/nancy/moth_mask/jump",
frames = 3,
speed = 1/8
}
},
nancy = {
idle = {
path = "assets/characters/nancy/idle",
path = "assets/entities/nancy/idle",
frames = 4,
speed = 1/8
},
run = {
path = "assets/characters/nancy/run",
path = "assets/entities/nancy/run",
frames = 6,
speed = 1/8
},
fall = {
path = "assets/characters/nancy/fall",
path = "assets/entities/nancy/fall",
frames = 3,
speed = 1/8
},
jump = {
path = "assets/characters/nancy/jump",
path = "assets/entities/nancy/jump",
frames = 3,
speed = 1/8
}