The Matrix: screensaver
cémoi benlepro

hello!
here is my first real project (before i did a boring program where you move a pixel...)
i did it to learn allegro and c++
it's a matrix style animation that can be used as a screensaver (just change the .exe to .scr)

what i used in this project:
-datafile (but then i used dat2s to include it inside the excutable because i wanted to try it)
-XG polymorphic entities system (each letter is an class instance)
-timer
-keyboard routines (to see if there is any key pressed)
-mouse (to see if the user move it then stop the program)
-blit (of course)
-random numbers with rand()
-etc

so i think i learn something about allegro (even if i'm not a pro)

tell me what you think! ;D
you can download it there:
http://www14.brinkster.com/zeldapod/matrix_screensaver.zip
EDIT: and if it don't work try this one:
http://www14.brinkster.com/zeldapod/default.htm

miran
Mozilla said:

HTTP1.1 STATUS 403 Remote Access to this object forbidden This file cannot be directly accessed from a remote site, but must be linked through the Brinkster Member's site.

EDIT: nm, got it now...

cémoi benlepro

strange, it works for me...
i can download it...

does anybody know another place to upload my file? (except geocities)

miran

I got it now. Had to right click and select save link as..

Cute little screensaver. The animation could be a little smoother though. But since it's your first program it's more than OK. I bet there are very few people here who can say their first program was as nice as yours...

cémoi benlepro

THANKS!8-) i know it's not perfect but i did it to learn

Synapse Jumps

It's very nice! I actually think I'm going to change it to my screensaver (or maybe I'll make a utility that randomizes my screensavers, like my desktops...)

X-G

If you're going to make a screensaver, there are some things you need to think of. Check the screensaver example in the allegro package for more information on what you need to include.

cémoi benlepro
Quote:

If you're going to make a screensaver, there are some things you need to think of. Check the screensaver example in the allegro package for more information on what you need to include.

even if it works as a screensaver (i tested it), I didn't made really to be one... My first goal was to learn allegro and gain more experience with c++.
But thanks for the info about the example, i will check it :)

Synapse Jumps

I demand 8 bit! I want to put it as the screensaver of the computer at school (my gifted class computer, so don't worry, it's not like vandalism)! Unfortunatly, it only has 8 bit color! now that's a piece of shizzit computer!

Radagar

VERY Impressive.

Derezo

Impressive :)
Although the matrix screensavers are done too death, you did it well.

Quote:

does anybody know another place to upload my file? (except geocities)

You can use the upload feature on the forums (below the post box)

Quote:

even if it works as a screensaver (i tested it),

Under Windows9x, renaming to *.scr, right clicking and choosing 'install' will work fine. Under WinXP, this and other methods tend to cause errors. Often they screw up the preview feature, too, and lock up the display properties dialog. :(

To stretch your abilities more, you may want to check the screensaver example that X-G mentioned. It's got code in it to help it be more friendly to windows when it's being installed as a screensaver.

Thread #302807. Printed from Allegro.cc