I have read several threads about a fabled 'animated texture' format of some sort that was to be implemented at some point. Then all of the threads just end without clarification. They are also all rather old.
So - Does CEGUI nativley support any kind of animation or animated texture? If so, how do you implement this? As I understand it, there is no support for animation in a TGA file.
Animated Textures - The Low Down
Moderators: CEGUI MVP, CEGUI Team
I was looking to make an animated cursor, don't remember if i asked it in the forum. But to answer your question: no there is no support of animated texture afaik. I did a little class that loads all pictures of the animation and swiches them at the right time. but yet I just tried it with little Animations.
-
- Just popping in
- Posts: 18
- Joined: Tue Apr 18, 2006 08:19
- lindquist
- CEGUI Team (Retired)
- Posts: 770
- Joined: Mon Jan 24, 2005 21:20
- Location: Copenhagen, Denmark
like said it's something you need to "hack" in manually.
I suggest creating a single imageset containing images for each frame of the animation and then set the image on appropriate times in your code.
if your looknfeel uses a ImageProperty it's very easy to switch image.
The native animation thing would basically work like this except probably be a little prettier.
HTH
I suggest creating a single imageset containing images for each frame of the animation and then set the image on appropriate times in your code.
if your looknfeel uses a ImageProperty it's very easy to switch image.
The native animation thing would basically work like this except probably be a little prettier.
HTH
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 7 guests