summaryrefslogtreecommitdiffhomepage
path: root/not/Hero.lua
diff options
context:
space:
mode:
Diffstat (limited to 'not/Hero.lua')
-rw-r--r--not/Hero.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/not/Hero.lua b/not/Hero.lua
index 1c15588..13ab3dd 100644
--- a/not/Hero.lua
+++ b/not/Hero.lua
@@ -200,10 +200,7 @@ end
-- Spawn `Effect` relative to `Hero`
function Hero:createEffect (name, dx, dy)
- local x, y = self.body:getX()-8, self.body:getY()-8 -- 16px effect: -7 -7
- if not (name == "trail") and not (name == "hit") then
- x, y = x-4, y-7 -- 24px effect: -12 -15
- end
+ local x, y = self.body:getX()-12, self.body:getY()-15
if dx then
x = x + dx
end