added draw functions for setScale, rehandled scale, animations now have multiple frame times (this breaks some minor stuff)

This commit is contained in:
lustlion
2022-02-24 04:15:35 +01:00
parent 00cec59351
commit 54f6a46428
19 changed files with 139 additions and 53 deletions

6
code/draw.lua Normal file
View File

@@ -0,0 +1,6 @@
function love.graphics.setScale(scale_x, scale_y)
local scale_x = scale_x or 1
local scale_y = scale_y or scale_x
love.graphics.origin()
love.graphics.scale(scale_x,scale_y)
end