Screensaver
This is a simple template that you can use to create a screen saver with GLBasic. Just read the sourcecode, make your additions and compile the program. When you have a screen saver you are happy with you edit the "install.bat" so your screen saver gets the same you want and ends up in the windows root catalog (usually c:\windows\). The screen saver has to be of the type .scr, not .exe so make sure you leave that at the end of the filename.
Now all you need to do is change your systems screen saver by right-clicking the desktop background and select "Properties->Screen Saver" and find your screen saver in the drop-down listbox. You will find that the screen flickers when you first choose your screen saver and when you press the configure button. This is because windows tries to run your screen saver with the command line "/p" or "/c" for a preview or change of settings. There is no way around this in GLBasic at the moment sadly.
Have fun with your own homemade screensaver!
This code is intended for GL Basic.
Download Screensaver template (335.4 KiB, 2009-03-05 21:32:45.)
Previous page: Trigger events
Next page: Autoupdater
