Important alert: (current site time 7/16/2013 3:20:24 AM EDT)
 

winzip icon

DX Matrix

Email
Submitted on: 1/26/2001 5:52:35 PM
By: Darren Hutchison  
Level: Intermediate
User Rating: By 34 Users
Compatibility: VB 6.0
Views: 34672
author picture
 
     You've seen the rest, now try the best! DX Matrix closely emulates the scrolling code as seen in the movie. To run the program, you need to have installed DirectX 7 (or higher), the VB6 runtime and, for best results, the matrix true type font as supplied. Use P to pause the matrix, and escape to exit. NOTE: DX Matrix II is now available. The most realistic Matrix emulation package yet, featuring 3 simulations from the movie, and realistic sound - visit my WEB site to download it - http://www.dhutchison.freeuk.com

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 16 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
1/26/2001 6:47:05 PMiawix

Best one yet! Set it as my screen saver! REALLY NICE WORK.
(If this comment was disrespectful, please report it.)

 
1/26/2001 7:06:37 PMDalibor

Isnt this a same screen saver that is on web page of matrix movie. Its completly the same.
Well anyway I have a prob.
When I run ti it sas Run Time error -2005532552 Automation Error
(If this comment was disrespectful, please report it.)

 
1/26/2001 7:42:12 PMDarren Hutchison

Sorry folks - forgot to mention that if your display won't support 24-bit colour, you'll get the error message as reported by the guy above. It can be fixed by either altering the colour depth in control panel (display settings) or by changing the 24 value in the 'Call dxDirectDraw7.setdisplaymode' source code line to 32. 16 or 8 may work but the results won't be as good. Hey - this is my first post, so I'm allowed one mistake!
(If this comment was disrespectful, please report it.)

 
1/26/2001 8:02:18 PMAckbar

Looks nice but I'd lower the timer to like 15-25. Makes it look more like on the movie. It was dropping way to slowly at 100.
(If this comment was disrespectful, please report it.)

 
1/26/2001 9:36:39 PMPhalen

Perfect. This is the ONLY Matrix saver/program on the whole PSC that is actually REAL... 5 globes from me, buddy.
(If this comment was disrespectful, please report it.)

 
1/26/2001 10:02:48 PM[dave]

Great work! Excellent vote from me!

How would you set it as a screen saver. I Complied it as a .scr, but i think there needs to be some kind of handling to recognize mouse movement, and keep it from running multiple instances. If any one has done this I would appreciate any help.

(If this comment was disrespectful, please report it.)

 
1/26/2001 10:12:42 PMxXx_VipeI2_xXx

This leaves all others in the dust! 5 earthly globes up!
(If this comment was disrespectful, please report it.)

 
1/26/2001 10:22:29 PMxXx_VipeI2_xXx

By the way, I'm running 16-bit colour depth and got the same automation error. I simply recompiled the exe and it works just fine.
(If this comment was disrespectful, please report it.)

 
1/26/2001 10:31:44 PMRad-X

You can run in 32 bit.
like the last guy, just re-compile it.
(If this comment was disrespectful, please report it.)

 
1/27/2001 6:37:13 AMLima

Great work, we've all been waiting for 'a Matrix' of this quality for quite a while! well done!
(If this comment was disrespectful, please report it.)

 
1/27/2001 7:50:37 AMDeathmoon

This is the BEST one out there yet! The code is simple to...wow! 5 globes from me!
(If this comment was disrespectful, please report it.)

 
1/27/2001 8:21:13 AMneeeeeeeat

i call it a matrix-3x rating!
(If this comment was disrespectful, please report it.)

 
1/27/2001 9:20:57 AMsilverx10

Excellent, and so very little code involved! 5 Globes from me, bud! :)
(If this comment was disrespectful, please report it.)

 
1/27/2001 11:33:24 AMRubenm14

if you change the
Call dxDirectDraw7.SetDisplayMode(640, 480, 32, 0, DDSDM_DEFAULT)
to
Call dxDirectDraw7.SetDisplayMode(640, 480, 16, 0, DDSDM_DEFAULT)

you can use it as 16 Bit!
(If this comment was disrespectful, please report it.)

 
1/29/2001 10:09:14 AMPooh

I agree with *most* everyone else: Excellent. I've been waiting for someone to take the time and do it. (I'm too busy) heh. Worth 5 Planets from me too!
(If this comment was disrespectful, please report it.)

 
2/2/2001 10:18:45 PMEnzo Matrix

AwEsOmE!!** Man!! ** This is GREAT. I love it! Lives up to my name! lol. This is great, worth mOrE then 5 pLanEts!
(If this comment was disrespectful, please report it.)

 
2/7/2001 8:36:02 PMAuthor

Thanks for the kind words, everyone. Much appreciated! I've been making the program into a proper screensaver with some options and will be posting a new version soon.
(If this comment was disrespectful, please report it.)

 
2/16/2001 9:04:57 AMRedneck

If you run litestep (alternative shell) and this program and Alt-Tab it crashes :( any idea how to prevent this?
(If this comment was disrespectful, please report it.)

 
2/19/2001 2:17:41 PMShawn

Don't run Litestep.
(If this comment was disrespectful, please report it.)

 
2/22/2001 9:57:31 PMmeji

nice piece of work man! i luv it so much i wanted it to b a screensaver how will i do that



(If this comment was disrespectful, please report it.)

 
5/25/2001 6:39:04 PMKieran Smith

This is absolutely fantastic, ive also compiled it and set it as my screensaver. GREAT WORK !!!
(If this comment was disrespectful, please report it.)

 
3/5/2002 9:28:20 PMeric

Good Job....I have been teaching my self how to program with direct X and I have been playing around with your program to help me learn. I have a question though. I want to display it at the resolution 800 x 600, but when I change to that resoulution in the code, the lines only go about 3/4 of the way down the screen. How to I get the matrix lines to extend to the very bottom? If you could email me with any help I would highly appreciate it.
(If this comment was disrespectful, please report it.)

 
1/31/2003 3:10:51 PM

wow dude... this ownz
Nathan Chere - this isnt pretty average. compare it with all the other
(If this comment was disrespectful, please report it.)

 
4/16/2003 8:46:39 AMISIEO

WoW This is good!!!
(If this comment was disrespectful, please report it.)

 
4/20/2003 6:42:17 AM

Yeah, this program crashes when switching to another program by pressing ALT - TAB. i really need solution. Please kindly email any instructions to albertlt@yahoo.com. Thank You :)
(If this comment was disrespectful, please report it.)

 
5/11/2003 5:09:53 AMfLaR3

AHHHA i found another prob press the windows key when the program is running and u get a error! not really a big deal but thought u might like to know!
(If this comment was disrespectful, please report it.)

 
7/26/2003 2:15:58 AMcoder86

Great! It really works!
5 balls from me!

(If this comment was disrespectful, please report it.)

 
12/15/2003 9:36:08 PM

VERY NICE!!
(If this comment was disrespectful, please report it.)

 
4/18/2004 4:33:03 PMJake Parker

For people having problems when they press alt+tab or they want it to close on mouse movement, use direct input to check if any key/mouse movement state <> 0
and i read that someone wants to stop multiple instances, the code is
if app.previnstance = true then end
(If this comment was disrespectful, please report it.)

 
11/24/2004 5:29:40 PMcoolryguy

By using the case fnction i can set it to scroll my sn!
GREAT WORK!
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.