Hello Guest

Generating a minimap from game world tiles

  • 1 Replies
  • 1777 Views
Generating a minimap from game world tiles
« on: June 03, 2015, 22:32:05 »
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

Re: Generating a minimap from game world tiles
« Reply #1 on: June 04, 2015, 07:02:45 »
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.
« Last Edit: June 04, 2015, 07:04:56 by Kai »