diff options
author | Aki <nthirtyone@gmail.com> | 2017-09-12 19:14:11 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-09-12 19:14:11 +0200 |
commit | 6094b7eb9cbe915e02e02908b77549223f585014 (patch) | |
tree | bb84d649a1c40fac2103c334671a45a424aac44b /not/World.lua | |
parent | 55cf1f028e58c7d3a3b996c96adea484363abe54 (diff) | |
download | roflnauts-6094b7eb9cbe915e02e02908b77549223f585014.zip roflnauts-6094b7eb9cbe915e02e02908b77549223f585014.tar.gz roflnauts-6094b7eb9cbe915e02e02908b77549223f585014.tar.bz2 |
Scaled Layers drawing (slow)
Diffstat (limited to 'not/World.lua')
-rw-r--r-- | not/World.lua | 4 |
1 files changed, 0 insertions, 4 deletions
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 |