added draw functions for setScale, rehandled scale, animations now have multiple frame times (this breaks some minor stuff)
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
function DebugUI()
|
||||
love.graphics.setScale()
|
||||
|
||||
local mouse_x, mouse_y = love.mouse.getPosition()
|
||||
for _, light in pairs(LoadedObjects.Lights) do
|
||||
love.graphics.print(light.pos.x,light.pos.x,light.pos.y)
|
||||
@@ -24,11 +26,13 @@ function DebugUI()
|
||||
end
|
||||
|
||||
function DebugColisions()
|
||||
love.graphics.setScale(game.scale)
|
||||
-- DrawColisionTable()
|
||||
LoadedObjects.DrawCollisions()
|
||||
end
|
||||
|
||||
function DebugEntities()
|
||||
love.graphics.setScale(game.scale)
|
||||
for _, particle in pairs(LoadedParticles) do
|
||||
particle:Debug()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user