Allegro.cc - Online Community

Allegro.cc Forums » The Depot » The Matrix: screensaver

This thread is locked; no one can reply to it. rss feed Print
The Matrix: screensaver
cémoi benlepro
Member #3,666
July 2003
avatar

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

-----
GO HABS GO!

miran
Member #2,407
June 2002

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...

--
sig used to be here

cémoi benlepro
Member #3,666
July 2003
avatar

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

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

-----
GO HABS GO!

miran
Member #2,407
June 2002

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...

--
sig used to be here

cémoi benlepro
Member #3,666
July 2003
avatar

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

-----
GO HABS GO!

Synapse Jumps
Member #3,073
December 2002

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
Member #856
December 2000
avatar

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.

--
Since 2008-Jun-18, democracy in Sweden is dead. | 悪霊退散!悪霊退散!怨霊、物の怪、困った時は ドーマン!セーマン!ドーマン!セーマン! 直ぐに呼びましょう陰陽師レッツゴー!

cémoi benlepro
Member #3,666
July 2003
avatar

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 :)

-----
GO HABS GO!

Synapse Jumps
Member #3,073
December 2002

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
Member #2,768
September 2002
avatar

VERY Impressive.

------------
Radagar - So your vote is for A.D.H.D.?
Chris Katko - Well, that was uninten--ooh kitty!

Derezo
Member #1,666
April 2001
avatar

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.

"He who controls the stuffing controls the Universe"

Go to: