[SOLVED] Camera movement and tilemap issues
Posted: Mon Jun 19, 2017 1:59 pm
First of all, the player/camera movement looks a bit rough at times in my game. I can't find the reason why. I already tried changing the player's step size/speed, but it doesn't seem to be the issue. My guess is that there's something wrong with the camera. I can probably fix this one myself with some more time.
More importantly, my tilemap looks a bit off. It's especially notable when it's downscaled, since it almost looks correct on fullscreen. Some lines between wood planks are a lot thicker than others.
How it should look (space between wood planks is constant)
How it looks (space between wood planks is weird)
Does anyone know why this happens? The relevant files are game/objects/World.lua and game/objects/Map.lua
More importantly, my tilemap looks a bit off. It's especially notable when it's downscaled, since it almost looks correct on fullscreen. Some lines between wood planks are a lot thicker than others.
How it should look (space between wood planks is constant)
How it looks (space between wood planks is weird)
Does anyone know why this happens? The relevant files are game/objects/World.lua and game/objects/Map.lua