Alpha of Screensaver Available

I’ve completed an alpha version of the screen saver I’ve been talking about, and it’s now available for download.

Get it here
Edit: The screen saver works! Just copy ParticleLife.scr and FlatRedBall.dll to your Windows/System32 directory, then right click ParticleLife.scr and select Install.

Giant Screenshot

To run this you’ll need to copy the .scr and .dll to the windows directory (I hear Windows\System32 is the place to put it, but you can just right click the .scr and choose install too). Then make sure you have the following prerequisites installed:

The .NET Framework 2.0
DirectX 9.0c (run this even if you have it already - you may be missing files required for XNA)
XNA Runtime 2.0

I know it’s a pain (and ironic that this screen saver is windows-only), but the alternative is…well, not using the screen saver!

The original inspiration was this piece by Hawk: Life. I saw it and thought, “that would make a nice screen saver, and a good test of some GPU programming.” So I went for it. It’s not as pretty as the flash version (the lines aren’t as clean), but I think it looks decent for programmer art, and it runs nicely (and almost all of the calculation is done on the GPU - which was my major focus when making this).

There aren’t any options in this version. Eventually I want it to support user-specified particle counts, but I can’t really do that without storing the value somewhere. The most popular place for screen saver parameters is the registry, and I can’t go writing all over that without an installer/uninstaller (so if you decide you don’t like this it doesn’t leave a bunch of dead information in your registry). So - if this screen saver is a hit (goodness knows smaller things I’ve made have been huge hits), I’ll probably clean it up a bit and add some settings.

You’ll also need a graphics card that supports Pixel Shader Model 2.0 - I created this primarily as a test of some graphics techniques - not necessarily just to make a screen saver (you can compile that flash as an exe with exit-on-input to use it as a screen saver). I’m not doing any detection at the moment - so if it doesn’t run

For the XNA programmers in the audience, I’ll be releasing the source code for this soon.

7 Responses to “Alpha of Screensaver Available”

  1. Gravedfish Says:

    is there anyway to put this to desktop?
    but still very nice work and very relaxin when you have some enya on background :D

  2. Gravedfish Says:

    oh and a tutorial for how to make this would kick ass! :D

  3. Kyle Schouviller Says:

    Gravedfish: you could make the original into a desktop wallpaper by getting the swf from Hawk’s site and making a webpage background. I think this one would be a bit high-end to use as a wallpaper.

  4. Chris from Cologne Says:

    Hi,

    creat screen saver!

    Why don’t you use the functions of VS to save the user values or store them in an *.ini file?

  5. Kyle Schouviller Says:

    I didn’t want to put anything in the registry without a proper installer/uninstaller for this program (so I don’t leave anything in the registry). I also didn’t know the runtime location of the program, and sometimes you can’t write to system directories. Basically didn’t want to bother with it - you’re certainly welcome to extend it though!

  6. Aaron Says:

    How about doing a config dialog box?
    That way you can have the users browse to a place and get a config file.

    How do you handle dual monitors?

  7. Kyle Schouviller Says:

    I don’t think I actually do handle dual monitors. It requires a graphics device for each I’m pretty sure (been a while since I’ve done that sort of stuff).

Leave a Reply