After having implemented my fireworks screensaver it became clear that it’s not too hard to make a working screensaver in Win32 assembly.
When I stumbled upon the assembler source code of the “Water effect demo” by Tom Kenny I decided to make another screensaver, this time based upon his code implementing the droplet effect.
I got the Water effect demo from Iczelion’s website.
This screensaver is the result of my research on the building of screensavers using Win32 assembly. The screensaver shows some fireworks, and also implements a configuration dialog.
Check out the included documentation for all the juicy details.
Everybody has seen them, those little creatures that look and act like they live inside your computer. If you’re interested in creating your own screenmate, here is a little program that I put together a couple of years ago that shows you how this can be done. In this specific example I used some API calls to set the region of a window.
A region determines the area within the window where the operating system permits drawing. The operating system does not display any portion of a window that lies outside of the window region. A timer takes care of animation. Using some VBA you can even have it notify you of incoming e-mail. Check out the included documentation for details.
There a several ways in which a screenmate can be implemented. If I would create a similar program again I’d probably use another technique, perhaps windows transparency. The Win32 assembly source code is included. The assembler used is masm32. Enjoy!