Hello
Guest
Register
Login
1 Hour
1 Day
1 Week
1 Month
Forever
LWJGL 3.3.2 released
Menu
Home
Help
Search
Login
Register
go
LWJGL Forum
Programming
OpenGL
Generating a minimap from game world tiles
« previous
next »
Print
Pages: [
1
]
Generating a minimap from game world tiles
1 Replies
3843 Views
ZomZilla
1
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?
Logged
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
»
Logged
Print
Pages: [
1
]
« previous
next »