diff options
author | Aki <nthirtyone@gmail.com> | 2016-08-14 01:59:29 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-08-14 01:59:29 +0200 |
commit | 47e355f0f3262fcba84c9f9ee0c759c47dcfd4f5 (patch) | |
tree | 30253758ccf03e5f180a66538d0e961c4a2553a6 /player.lua | |
parent | f9f927c3516580781eb7bf20870eefa6dc4b2e3f (diff) | |
download | roflnauts-47e355f0f3262fcba84c9f9ee0c759c47dcfd4f5.zip roflnauts-47e355f0f3262fcba84c9f9ee0c759c47dcfd4f5.tar.gz roflnauts-47e355f0f3262fcba84c9f9ee0c759c47dcfd4f5.tar.bz2 |
fixed sprite offset
Diffstat (limited to 'player.lua')
-rw-r--r-- | player.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -304,7 +304,7 @@ function Player:draw (offset_x, offset_y, scale, debug) local draw_y = (math.floor(y) + offset_y) * scale -- sprite draw love.graphics.setColor(255,255,255,255) - love.graphics.draw(self.sprite, self.current[self.frame], draw_x, draw_y, self.rotate, self.facing*scale, 1*scale, 12, 15) + love.graphics.draw(self.sprite, self.current[self.frame], draw_x, draw_y, self.rotate, self.facing*scale, 1*scale, 12, 14) -- debug draw if debug then love.graphics.setColor(137, 255, 0, 140) |