What would be the best way of using a TileMap to move around a huge map (1000x1000)? Is there an efficient way to load new tiles, without having to update all visible tiles?
a 1000x1000 map is pretty huge. You should find out which bits are used and use multiple smaller tilemaps as children of a sprite.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
I never need to show all tiles, so wondered if there is a way to update only the visible area to show a small portion of tiles. The shift function only moves all tiles I think.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
I've been running procedural generated tilemaps 1024x1024 in size with 4 tile layers (and 4 sprite layers) on both my Pixel C and Nexus 4 without any issues.
Comments
https://deluxepixel.com
Likes: totebo
https://deluxepixel.com
Likes: totebo
https://deluxepixel.com
Likes: Apollo14, totebo, MoKaLux