I refactored my tiled game to use 32x32 tiles instead of 16x16 tiles as I am using the LPC assets for tiles and sprites…The sprite characters are gridded out into 64x64 cells for animation…The player is a bit smaller…
Anyways, i’ve got the grid system set up and i’ve got a square highlighting the cell…But no matter what I do, I can’t get the player to center into the tile…
Here is my simplified render call…
batch.draw(downRegion, playerX - (playerWidth / 2 / 32f), playerY,playerWidth/32f, playerHeight/32f);
Whereas, playerWidth and playerHeight = 64;
Here is what I get…