PNG related question

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Xura
Just popping in
Just popping in
Posts: 3
Joined: Mon Sep 01, 2008 21:33

PNG related question

Postby Xura » Sun Sep 21, 2008 12:04

Hi everyone

I was just wondering if CEGUI supported Animated PNGs ? It would certainly make animating widgets a little easier instead of using Hacks.

Thanks :)

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Mon Sep 22, 2008 08:55

Hi,

the supported images depend on the image library which is being used. However Cegui does not support animations by itself; you should handle such things yourself...

It's not really hacking though: you can nicely make a wrapper class which -based on time deltas- switches to different imagery.

HTH.
Check out my released snake game using Cegui!

Xura
Just popping in
Just popping in
Posts: 3
Joined: Mon Sep 01, 2008 21:33

Postby Xura » Tue Sep 23, 2008 09:11

Thanks alot for the info Scriptkid
I will definitely look into creating a wrapper class for animating the images
:D


Return to “Help”

Who is online

Users browsing this forum: No registered users and 5 guests