Page 1 of 1

newbie->GUI QUESTION, terrain question,

Posted: Fri Jul 15, 2005 12:19 pm
by b1_77y
I have an menu interface for my game, and i wanna ask :

1. how i hide the title bar on my interface window?
2. Is there any way to make my button have a little animation? (ex:fade effect).
3. I make a terrain and 3rd person view camera, like the example in irrlicht. but how can i make "sydney" not walk anymore if she already on the edge of terrain :(

thank for your attention:)

sorry for my english :wink: [/img]

Posted: Fri Jul 15, 2005 7:39 pm
by Midnight
question #1:

No idea how thats done, if at all, if I'm thinking the same as you.
The main windows window? you and everyone else, try your own mfc app.

question #2:

Hmm well with current GUI... Nope.
but you can create your own skins now easier so I'm told with irr 0.11

Copy the button class add fade effect rename class and add it to your project and then you can do this.

question #3:

if (vector3df != offTHEmap)
{
sydney walk;
}

//obviously thats totally phesudo but you get the idea i hope...


Good Luck!

Posted: Fri Jul 15, 2005 9:22 pm
by Midnight
I've been scanning the board and found this in the tools section.

http://irrlicht.sourceforge.net/phpBB2/ ... php?t=6980

that should help with question #1 I hope.

8)

Posted: Sat Jul 16, 2005 2:55 pm
by Spintz
For #3, what I do, is get the bounding box of the terrain and create a box, ( with no top and bottom ) and a selector for it. Add that selector to a metaselector for the terrain and sydney should not fall off the terrain.

Posted: Sat Jul 16, 2005 5:33 pm
by Irme
For question #2

Since the opacity function is currently in the game, you could trigger events on the hover and leave of a control and have the opacity loop in and out.

I havnt really tried it but it should work?

Posted: Sun Jul 17, 2005 11:57 am
by b1_77y
thak's all, for your answer:)

i will try it.

i have another question, i have a character that i made with milkshape,
and i transfer it into md2 file. when i load it with my 3rd person code, the
character walk not normal, i mean if i push forward the character will move forward but with her left body (character face to right, but it's still move forward), i try this to with .ms3d and .x file format.

can somebody help me?

Posted: Wed Jul 20, 2005 9:47 am
by b1_77y
i try to rotate my character in milkshape and it's done:)

but the animation bone, is'n rotate, so the animation of my character
has gone wild :(

somebody help me.