Menu

#37 A little something... Like. Not bitmaps?...

open
nobody
5
2013-09-03
2007-09-20
Anonymous
No

Oi.
Okay-so, first of all, sorry for being a bitmap nazi. But please, support for the gui files for non-bitmaps? png, jpg/jepg, and/or maybe even gif would be wonderful. Especialy gif. Seeing this game I felt compelled to see if I could make a moving gif matrix style gui. Then I found out-that even if it does support any other image format... it specifies .bmp spesificaly...

I cant imagine this is THAT hard to code... Okay, moving gif support maybe. But, atleast png and/or jpg? I mean, its a matter of principle here more than size-but it should greatly reduce size even-which would be nifty.

And hey, then if you did moving gif support, people could add passive animation if they wanted to XD.

Thanks
Roguethunderbird
roguethunderbird@yahoo.com

Discussion

  • Bence Dobos

    Bence Dobos - 2008-10-21

    With SHLoadDIBitmap() it is possible to open gifs and jpg-s. I think animated gifs possible either (I saw sourcecode for this)

     
  • Nobody/Anonymous

    Nice idea, GIF animation would be cool indeed. Imagine animated ICEs - quite an improvement, in my opinion.

    But can't you draw static images in GIF and then just converted them to BMP, for now? I guess Microsoft Paint (comes with most Windows' installs) or GIMP (open-source) both do it quite well...

     
  • DanaO

    DanaO - 2009-04-10

    As of now, the game does support animated GIFs for GUI elements; not too surprising, as file extensions aren't specified for images in any of the .txt files defining the GUI and its skin. I've tested this out with an animated GIF and it displays just fine. No reason not to believe that any image file naturally supported by Java won't work either - supporting the BMP files is what takes extra code (as the Windows API functions like SHLoadDIBitmap() aren't available).

     

Log in to post a comment.

Auth0 Logo