Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Thanks for the snippet, but I'm not sure if this is doing a true 64x64 resolution for me. Everything rests on a 64x64 grid, but in movement it seems to move between the "pixels" I have.

Any ideas on this?

(+1)

you sure you're rounding your positions to the nearest int and rendering to the spritebatch associated with the fitviewport?

(+1)

I'm not sure, how do I do that? Haha

(+1)

floor(Position.x) or ceil(Position.x) and for y for getting the correct pixel position.