newbie->GUI QUESTION, terrain question,

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
b1_77y
Posts: 24
Joined: Sat Jun 11, 2005 11:04 am

newbie->GUI QUESTION, terrain question,

Post 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]
bil':)
Midnight
Posts: 1772
Joined: Fri Jul 02, 2004 2:37 pm
Location: Wonderland

Post 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!
Midnight
Posts: 1772
Joined: Fri Jul 02, 2004 2:37 pm
Location: Wonderland

Post 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)
Spintz
Posts: 1688
Joined: Thu Nov 04, 2004 3:25 pm

Post 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.
Image
Irme
Posts: 55
Joined: Sat Jul 16, 2005 8:24 am

Post 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?
b1_77y
Posts: 24
Joined: Sat Jun 11, 2005 11:04 am

Post 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?
bil':)
b1_77y
Posts: 24
Joined: Sat Jun 11, 2005 11:04 am

Post 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.
bil':)
Post Reply