diff options
author | Aki <nthirtyone@gmail.com> | 2016-05-15 22:41:50 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-05-15 22:41:50 +0200 |
commit | cc6312dbeaaa16bea9819e27e85b93a00b92c6e0 (patch) | |
tree | d43a93b0bbd0e48795e3dfeb4ed423d5f637e127 | |
parent | 861d6e0736346c4aa80c35d7f0b6f2841d64404f (diff) | |
download | roflnauts-cc6312dbeaaa16bea9819e27e85b93a00b92c6e0.zip roflnauts-cc6312dbeaaa16bea9819e27e85b93a00b92c6e0.tar.gz roflnauts-cc6312dbeaaa16bea9819e27e85b93a00b92c6e0.tar.bz2 |
Default scale in draw
-rw-r--r-- | ground.lua | 1 | ||||
-rw-r--r-- | player.lua | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -31,6 +31,7 @@ function Ground:draw (offset_x, offset_y, scale, debug) -- defaults local offset_x = offset_x or 0 local offset_y = offset_y or 0 + local scale = scale or 1 local debug = debug or false -- sprite draw love.graphics.setColor(255,255,255,255) @@ -189,6 +189,7 @@ function Player:draw (offset_x, offset_y, scale, debug) -- defaults local offset_x = offset_x or 0 local offset_y = offset_y or 0 + local scale = scale or 1 local debug = debug or false -- sprite draw love.graphics.setColor(255,255,255,255) |