how can i make mini map in the corner of screen which explain the position of player and other objects in 3D scene
like images below
minimap
Re: minimap
Try the forum search with "minimap" - there are a few threads about that which can probably help you.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: minimap
Thank you for your replay
if I found any thing before, i would not ask
if I found any thing before, i would not ask
Re: minimap
Hm, I get several hits with that search-word. One of the first is this where I explain several ways to add a minimap: http://irrlicht.sourceforge.net/forum/v ... 19&t=49931
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: minimap
Thanks
but there is not any benefit idea
but there is not any benefit idea
Re: minimap
Well, the ideas descibed there are the usual ones. Either you work with IGUIImage's (one for the map one for your position) or you you use a quad (2 triangles) with texture and you can then put anything you want into it.
The basics are generally - draw a image for the map. Draw one or more images for the player position and other objects of interest.
Everything else depends on your game. There are lot's of different minimaps. For example some do scroll, some do rotate. Sometimes you want to draw a dot for the player, sometimes you want a rotating arrow. There are different ways to draw your map - generally it's done by hand, but in some games you might prefer automatic maps (for example if users can change the map themself).
So first step is as usual design - you have to know what kind of minimap you need in your game. No one can help you with that first step. Once you know that please describe it, then we might be able to give more hints on how to implement it.
The basics are generally - draw a image for the map. Draw one or more images for the player position and other objects of interest.
Everything else depends on your game. There are lot's of different minimaps. For example some do scroll, some do rotate. Sometimes you want to draw a dot for the player, sometimes you want a rotating arrow. There are different ways to draw your map - generally it's done by hand, but in some games you might prefer automatic maps (for example if users can change the map themself).
So first step is as usual design - you have to know what kind of minimap you need in your game. No one can help you with that first step. Once you know that please describe it, then we might be able to give more hints on how to implement it.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: minimap
I have no idea how to do that.
But there are quite a few entries on that.
http://irrlicht.sourceforge.net/forum/v ... ap#p271445
http://irrlicht.sourceforge.net/forum/v ... ap#p158025
http://irrlicht.sourceforge.net/forum// ... ht=minimap
http://irrlicht.sourceforge.net/forum// ... ht=minimap
Goodluck
thanh
But there are quite a few entries on that.
http://irrlicht.sourceforge.net/forum/v ... ap#p271445
http://irrlicht.sourceforge.net/forum/v ... ap#p158025
http://irrlicht.sourceforge.net/forum// ... ht=minimap
http://irrlicht.sourceforge.net/forum// ... ht=minimap
Goodluck
thanh