diff --git a/src/assets/characters/player.png b/src/assets/characters/player.png index 703e24c..4ec847a 100644 Binary files a/src/assets/characters/player.png and b/src/assets/characters/player.png differ diff --git a/src/assets/characters/player.xcf b/src/assets/characters/player.xcf index 843f462..2fd8f1c 100644 Binary files a/src/assets/characters/player.xcf and b/src/assets/characters/player.xcf differ diff --git a/src/engine/controllers/gridwalker.lua b/src/engine/controllers/gridwalker.lua index eba5dd3..08c1cc8 100644 --- a/src/engine/controllers/gridwalker.lua +++ b/src/engine/controllers/gridwalker.lua @@ -4,9 +4,9 @@ local animator = require '../engine/animator' Gridwalker = class() Gridwalker.speed = 2 -Gridwalker.collisionTestSize = 12 +Gridwalker.collisionTestSize = 13 Gridwalker.neighbourOffsetX = (object.width - Gridwalker.collisionTestSize) / 2 -Gridwalker.neighbourOffsetY = object.width - Gridwalker.collisionTestSize * 1.5 +Gridwalker.neighbourOffsetY = object.width - Gridwalker.collisionTestSize * 1.9 Gridwalker.testShape = nil Gridwalker.objectinfo = nil Gridwalker.animation = nil diff --git a/src/engine/init.lua b/src/engine/init.lua index 52c0c7b..c6b43b3 100644 --- a/src/engine/init.lua +++ b/src/engine/init.lua @@ -84,7 +84,7 @@ end function Engine:initObjects() self.objects = {} - self.map:addCustomLayer("object layer", 4) + self.map:addCustomLayer("object layer", 5) local objectLayer = self.map.layers["object layer"] objectLayer.sprites = {}