Generating a minimap from game world tiles

Started by ZomZilla, June 03, 2015, 22:32:05

Previous topic - Next topic

ZomZilla

Hi,

I am making an isometric 2D game with LWJGL and have procedurally generated areas of a fixed size. How could i go about generating a map of these areas (probably 1 pixel per area tile) in LWJGL? I have not seen any obvious way of creating images so does anyone have any ideas?

Kai

If your world is procedurally generated then why not also procedurally generate the minimap?
Just create a new ByteBuffer, fill it with texels, and then upload it to a texture.
Then display that texture in the game somwhere.