DesktopX Journal: Day 9

Making animated objects

Ever wanted to have an animated icon on your desktop? DesktopX has a built in UI for doing this.  First, you have to be in the development environment.  Next, create an object. In the "states" page there is an animation tab for each state:

The way animation works in DesktopX is through bit strips.  A bit strip is a single PNG or BMP file that has multiple frames of animation in it. Each "frame" is the same size. 

Example of 3 frames of animation.  So let's make one of these for fun.  If you lack any artistic ability, like me, you'll need to find a ready source of existing animations to use. On Google I just searched for "Animated GIF files" since those are pretty abundant. This lead me to this page: http://www.gifs.net/animate/page32.htm. I also found this page. http://www.millan.net/anims/giffar.html

So I found an animated GIF. But DesktopX can't use GIF files for its animations. It uses BMPs or PNGs.  So we need something to convert that animated GIF file into something we can read.  Luckily, there's a program called Bitstrip created by a developer in the skinning community called Redlar.

His page can be found here: http://www.virtualplastic.net/redllar/bitstrip.html

Using that program I turned the animated GIF into a .BMP with 11 frames of animation. So now I go and set the default appearance to be that .BMP file it generated. Then I go to the States tab and tell it that it has 11 frames of animation and check the "loop" checkbox so that it'll repeat. I also change the interval to be 150ms between frames (to slow it down a bit). I also give it a shadow (in the shadow/glow tab) so that it looks a little nicer.  I also go to the "Relation" page and change the Z-order so that it's on the desktop (like an icon) rather than like a window.

And voila, I have an animated guy on my desktop:

Now, before you get any ideas, it's one thing to take an animated GIF file and use it for your own personal use. It's another thing to take it and start uploading it to WinCustomize or other sites.  Unless it's public domain, freely distributable, or you have permission, you shouldn't re-distribute software or artwork that isn't yours.  Secondly, even if you do, DO NOT upload it as a widget. If it isn't an application of some kind, you should export it as an object pack so that people can add it to their desktop.

You can get DesktopX at www.desktopx.net. DesktopX also comes with Stardock's Object Desktop suite of desktop enhancement utilities.

 

23,256 views 8 replies
Reply #1 Top
Just to clarify, I think you can add widgets to desktops. On the DesktopX Builder's settings dialog, go to the Desktop tab and click on the Import button under the Objects heading. That will pop up a list of objects you have on your computer. At the very top of the pop-up, there's a checkbox for widgets.



See?
Reply #2 Top
hey brad realy understandable thank you ,dont now what i would do without your tutorials ect thank you once again
Reply #3 Top

I didn't say you couldn't add widgets to your desktop.  I am saying that things exported as widgets should be applications and things that are designed to be added to your desktop should be exported as objects.

It has to do more with organization than functionality.

Reply #5 Top
Wow Brad,thanks alot. I just made my first animated icon. Hope I don't get stuck on this like Paul has gotten me stuck on Corel. I'll go through your other journals now and see what I can learn from them. To be frank I'm one of those that was scared to use DesktopX much and give making anything a shot with the thought of messing the whole thing up. Maybe in the long run I can overcome that fear.Once again Thank You.
Reply #6 Top
So how do you create your own icon? any pointers as to a good program for converting the triple frame for making your own? thanks! :D 
Reply #7 Top
Umm, how about IconDeveloper, if that's your question.
Reply #8 Top
thanks for the wicked tut Brad.........now i can make a felix the cat ani....... :LOL: