summaryrefslogtreecommitdiffhomepage
path: root/not
diff options
context:
space:
mode:
Diffstat (limited to 'not')
-rw-r--r--not/World.lua15
1 files changed, 6 insertions, 9 deletions
diff --git a/not/World.lua b/not/World.lua
index 097b21a..f2dc391 100644
--- a/not/World.lua
+++ b/not/World.lua
@@ -213,21 +213,18 @@ function World:draw ()
local offset_x, offset_y = self.camera:getOffsets()
local scale = getScale()
local scaler = getRealScale()
-
- -- Background
- -- love.graphics.draw(self.background, 0, 0, 0, scaler, scaler)
-
- -- TODO: this needs to be reworked!
- -- Draw clouds
- for _,cloud in pairs(self.Clouds) do
- cloud:draw(offset_x, offset_y, scale)
- end
-- Draw decorations
for _,decoration in pairs(self.Decorations) do
decoration:draw(offset_x, offset_y, scale)
end
+ -- Draw clouds
+ -- TODO: hotfix Clouds are drawn in front of decoration to make them in front of background.
+ for _,cloud in pairs(self.Clouds) do
+ cloud:draw(offset_x, offset_y, scale)
+ end
+
-- Draw effects
for _,effect in pairs(self.Effects) do
effect:draw(offset_x,offset_y, scale)