How to do animation in Irrlicht

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
manik_sheeri
Posts: 53
Joined: Tue May 19, 2009 12:18 am

How to do animation in Irrlicht

Post by manik_sheeri »

hi,

I have an image , that has the text "Player Info" on it. In my application, I am required to do a a Slide animation of this image from the left side of the screen.
Can anybody tell me how do i achieve this in Irrlicht ?
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Re: How to do animation in Irrlicht

Post by serengeor »

manik_sheeri wrote:hi,

I have an image , that has the text "Player Info" on it. In my application, I am required to do a a Slide animation of this image from the left side of the screen.
Can anybody tell me how do i achieve this in Irrlicht ?
try to be more specific, what class holds the image?
Is it a scene node or a gui element?

If its a scene node you could use an animator(shown in movement tutorial). If its a gui element I don't think theres an animator for it.
So if its a gui element you will have to move it on your own, you can find methods that could do what you want here:http://irrlicht.sourceforge.net/docu/cl ... ement.html
Working on game: Marrbles (Currently stopped).
manik_sheeri
Posts: 53
Joined: Tue May 19, 2009 12:18 am

Post by manik_sheeri »

@serengeor

I could not have been more specific in my text.
However, I guess for any sort of animations, I need to have the formatted file like b3d, mds format files for playing animation.
Am I correct ?
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Post by serengeor »

manik_sheeri wrote:@serengeor

I could not have been more specific in my text.
However, I guess for any sort of animations, I need to have the formatted file like b3d, mds format files for playing animation.
Am I correct ?
What? why? Is that text going to be a 3d mesh :?

You can just place a text scene node and move it. Though I don't quite understand why you want it to be in 3d space. You could just have a gui text element and move it along the screen.
Working on game: Marrbles (Currently stopped).
Post Reply