I mean... that's self explanatory. My game is made out of a tilemap and I want to make a minimap. It's also large scale open world so the minimap would probably have to be zoomed in. Anyone got any advice or know a good tutorial for this kind of thing?
Minimaps are either a pre-rendered scaled sprite or drawn at runtime one pixel at a time.
Decide the bounds and scale of your minimap, then loop through each pixel setting it to a color corresponding to the tile it represents.
Develop games in your browser. Powerful, performant & highly capable.
Minimaps are either a pre-rendered scaled sprite or drawn at runtime one pixel at a time. Decide the bounds and scale of your minimap, then loop through each pixel setting it to a color corresponding to the tile it represents.
So what, code in each individual pixel?
Two loops, one for x and one for y. For each pixel, set color to whatever depending on the tile at loopindexes for x and y times your scale and using the player position as the origin.
There are probably tutorials for this if you do a search.