I have a tmx file of 800*18 size.. It is working but there is some problem like sometimes game is slow or the player jumps too much high or the collision from ground doesn't happen properly and player ...
I have an array of roughly 10,000 tiles over a 2d grid. When a tile goes off screen, I'd like to recycle it by disabling the renderer, repositioning it just before it comes on screen again, then turn ...
I've been working on different tile-based projects, but never really bothered with being efficient memory-wise. Each tile was represented by a tile class which would hold the following: X and Y ID ...
My game consists largely of "sea" tiles with sections of tiles that form "islands". The sea tiles are all exactly the time. The map itself is pretty large and only going to get larger. I'm trying to ...