minimap

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
kiel814
Posts: 37
Joined: Mon May 23, 2011 4:30 pm

minimap

Post by kiel814 »

I would like to show a minimap image of my scene.
It should be done in realtime since the map is randomly generated.

I tried drawing a very small image for every tile of my map. But this slowed the game to less than 5 FPS.

Any ideas on how should I do it?
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: minimap

Post by hendu »

Another camera very high, rendering to a RTT?
ACE247
Posts: 704
Joined: Tue Mar 16, 2010 12:31 am

Re: minimap

Post by ACE247 »

If you only want to show certain ingame units though, as i did it, get the 2d (x,z) (no height) positions of your specific game objects, and then plot these on an above map view, non realtime image(just a screenshot you made earlier) and draw little icons(or just specific color pixel) for each type. That's the simplified version. Although come to think of it, search these forums for minimap I'm sure there is a pretty good existing implementation around or at least a very detailed description.
Post Reply