YAY
- Mask functionality - Rehandled Animations (now consistent)
This commit is contained in:
5
main.lua
5
main.lua
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user