- Mask functionality
- Rehandled Animations (now consistent)
This commit is contained in:
lustlion
2021-10-29 04:15:53 +02:00
parent 189579d619
commit 8607399d16
11 changed files with 144 additions and 174 deletions

View File

@@ -35,7 +35,6 @@ function love.load()
table.insert(LoadedEntities,Kupo:New(700,150))
table.insert(LoadedEntities,Kupo:New(800,150))
main_Player.sprite = love.graphics.newImage("assets/characters/nancy/idle1.png")
main_Player:LoadAnimation(animation.nancy.idle)
end
function love.update(dt)
@@ -123,8 +122,6 @@ function love.draw()
LevelDisplayBackground()
for _, enty in pairs(LoadedEntities) do
enty:HandleAnimation()
enty:Animate()
enty:Draw()
end
LevelDisplayForeground()
@@ -140,7 +137,7 @@ function love.draw()
love.graphics.setColor(1,1,1,1)
love.graphics.setCanvas()
love.graphics.scale(1,1)
DrawDarkness()
--DrawDarkness()
-- HUD
-- Scale control
textScale = 0.5