Animated GUI

Hello, I am working on a rts style game and I’d like to create a really nice custom gui that would animate in and pop up windows expand when they play into the scene. Is this possible with unity? Are there any examples of well polished games that have a very nice gui?

Thanks

kubapl

you should animate objects and attach textures to them, then you can customize it. I tried making a little 3d gui system, where I used the raycast hit to select through objects/menu items. U can even have a menu walking around in your fps :wink:

i belive stuff like sprite manager can do this, i also came across another thing that can acheive this, unfortuantly i can’t find the link at college, ill post it when im home

heres the link: http://www.youtube.com/watch?v=iYSdJfLZAhs&feature=player_embedded

hopfully itll do what you want, alternativly you could do it the hard way:

heres an example of what i did for scrolling text

var ScrollAmount = 0.6;

var P : Vector2 = Vector2(600,150);
var P1 : Vector2 = Vector2(300,200);
var AA = 4;

var FishingScroll : Texture;

static var IsFishing = false;


function OnGUI () {
GUI.skin.font = f;

GUILayout.Label("Gathering");
   if(IsFishing) {
	Fade();
	P.y += ScrollAmount;
	GUI.DrawTexture(Rect(P.x,P.y,P1.x,P1.y), FishingScroll, ScaleMode.ScaleToFit, true, AA);
	}
}


function Fade () {
yield WaitForSeconds (2.5);
IsFishing = false;
P.y = 150;
}

ofcourse for a box of some sort you would have to add alot more so it would change in size (X,Y), maybe you could do: if(open) { box.x += 10; wait (5) seconds box.y += 15;} this would make it open and expand on the X then wait for 5 seconds then expand on the Y. hope this helps