I’ve had fun with tiled, and now I’m generating my map dynamically, and it could be huge.
So I thought I’d cut the world in chunks of 50x50 tiles, and wherever the character is, I’ll load the chunks around his.
Don’t just take my word for it, behold my amazing graphic skills :’)
So the red dot is the character. The black squares are the map chunks, and the purple area are the chunks that are loaded respectively to the position of the character.
When the character moves on a chunk on the east, I shall load the blue area, and unload the green one :
How do you think I could do that using phaser ? Any resources would be deeply appreciated.
Have a nice day everyone !