From 6094b7eb9cbe915e02e02908b77549223f585014 Mon Sep 17 00:00:00 2001 From: Aki Date: Tue, 12 Sep 2017 19:14:11 +0200 Subject: Scaled Layers drawing (slow) --- not/World.lua | 4 ---- 1 file changed, 4 deletions(-) (limited to 'not/World.lua') diff --git a/not/World.lua b/not/World.lua index d3f126f..08b9710 100644 --- a/not/World.lua +++ b/not/World.lua @@ -33,10 +33,6 @@ function World:new (map, nauts) local layer = Layer(320, 180) layer.ratio = 0 layer.scale = 1 - layer.draw = function (self) - love.graphics.setColor(255, 255, 255, 255) - love.graphics.draw(self.canvas, 0, 0, 0, getScale(), getScale()) - end table.insert(self.layers, layer) -- 7 end -- cgit v1.1