fixed arrow physics
This commit is contained in:
@@ -2,7 +2,7 @@ function GameworldDrawPrepare()
|
||||
if game_resize then
|
||||
Camera.height = game.height
|
||||
Camera.width = game.width
|
||||
Darkness.Recreate()
|
||||
Canvas.Darkness.Recreate()
|
||||
end
|
||||
pcr, pcg, pcb, pca = love.graphics.getColor()
|
||||
love.graphics.scale(game.scale,game.scale)
|
||||
@@ -74,8 +74,8 @@ function GameworldDrawForeground()
|
||||
end
|
||||
|
||||
function GameworldDrawDarkness()
|
||||
Darkness.Reset()
|
||||
Darkness.DrawStart()
|
||||
Canvas.Darkness:Reset()
|
||||
Canvas.Darkness:DrawingStart()
|
||||
love.graphics.setBlendMode("replace")
|
||||
love.graphics.setColor(0,0,0,0)
|
||||
for _, light in pairs(LoadedObjects.Lights) do
|
||||
@@ -93,7 +93,8 @@ function GameworldDrawDarkness()
|
||||
)
|
||||
end
|
||||
end
|
||||
Darkness.DrawEnd()
|
||||
Canvas.Darkness:DrawingEnd()
|
||||
Canvas.Darkness:Draw()
|
||||
end
|
||||
|
||||
function GameworldDrawLights()
|
||||
|
||||
Reference in New Issue
Block a user