diff --git a/.gitignore b/.gitignore index 600d2d3..241f14b 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,6 @@ -.vscode \ No newline at end of file +.vscode + +# Compiled game builds +*.love +*.exe +*.zip \ No newline at end of file diff --git a/modules/level.lua b/modules/level.lua index c464587..01ff04e 100644 --- a/modules/level.lua +++ b/modules/level.lua @@ -99,7 +99,7 @@ function level:draw() if type(platform) == "table" then if platform.type then if platform.type == "Platform" then - love.graphics.setColor(platform.color.R, platform.color.B, platform.color.G) + love.graphics.setColor(platform.color.R, platform.color.G, platform.color.B) love.graphics.rectangle("fill", platform.transform[1] - player.CameraData.CameraX, platform.transform[2] - player.CameraData.CameraY, platform.transform[3], platform.transform[4]) love.graphics.setColor(1, 1, 1) elseif platform.type == "Spike" then