is it possible to have a pop up in unity??

is it possible to have a pop up in unity??
i mean like a map that is loacted at the upper corner of the game??? if it is possible can you discuss how can i make it??

hope you’ll reply soon
thanks… :smile:

I don’t know if Unity can create multiple windows (I don’t think it can), but if you just mean a UI element of some sort, then sure.

There’s more than one way to do it, but a separate ‘UI’ camera with an orthographic projection would probably be the most straightforward solution.

what is UI element?Im really a newbie in this forum and in using unity so not yet that familiar with the terms :shock:

User Interface i believe.
GUI is Graphical User Interface, it’s the likes of hud, main menu buttons/background images ect. so i would asume UI would be a function for button presses and mousover events though dont quote me on that.

Can anybody else confirm this?

‘UI’ is a general term in software development and related disciplines; it’s not specific to Unity.

But yes, ‘UI’ = ‘User Interface’, as That Homeless Guy said :slight_smile:

how about making a map in unity i mean a map when you can see your location??
:slight_smile:

Well, at the minimum, you’ll need two things:

  1. A visual for the map (that presumably represents the game world or current level).

  2. A visual for the player that is positioned appropriately.

There’s more than one way the visuals could be handled, so how to do it is really up to you. You could probably use the GUI system and render the elements using labels (or whatever they’re called in Unity). Or, you could use ‘plane’ meshes, textured appropriately.

As for how to get the map to match the environment, that really depends on what type of game it is, and is also pretty much up to you. You could do it procedurally, or you could just create a ‘map’ image for each level in an image editing program.

As for positioning the ‘player’ visual, that’s just a matter of mapping the player’s position in world space to a position in ‘map’ space.

In short, there’s really no ‘one answer’ to the question of how to make a minimap in Unity. How best to do it depends on a lot of different factors, and ultimately how to implement it is really up to you.

i found out that there are 2 types of PL that can be used in unity,Javascript and C#if Im not mistaken, i just want to know what PL is most appropriate to use?

UnityScript (Javascript)
You will get more support and documentation for it than C#
though if you are allready proficient with C# then use that.
http://forum.unity3d.com/viewtopic.php?p=358542
Heres a thread on the subject

This thread explains how you can display a minimap without any scripting. The technique basically involves using a second overhead camera and rendering to a small rectangle onscreen.