Computer Science Canada

matrix-ish program

Author:  apomb [ Thu Apr 22, 2004 7:46 pm ]
Post subject:  matrix-ish program

hey, im making a matrix program (like the falling letters) and here is what i have so far :
code:

var x, y : int
var c : string
colorback (black)
cls
loop
    y := (Rand.Int (1, maxcol))
    x := 4
    c := chr (Rand.Int (65, 90))
    loop
        c := chr (Rand.Int (65, 90))
        x += 1
        exit when x > maxrow
        color (10)
        Text.Locate (x, y)
        put c ..
        delay (20)
        color (3)
        Text.Locate (x - 1, y)
        put Str.Lower (c) ..
        delay (20)
        color (15)
        Text.Locate (x - 2, y)
        put Str.Lower (c) ..
        delay (20)
        color (grey)
        Text.Locate (x - 3, y)
        put chr (Rand.Int (11, 126)) ..
    end loop
end loop

My question is : how would i get this to be all over the screen , in multiple locations and starting at different times at the same time ... if that makes sense Confused Thanks!

Author:  Tony [ Thu Apr 22, 2004 7:48 pm ]
Post subject: 

look for Catalyst's matrix program, it should be somewhere in [Turing Source Code] Thinking

Author:  TheZsterBunny [ Thu Apr 22, 2004 7:50 pm ]
Post subject: 

OK.

the matrix thing has been far overdone in turing. however you can still use a few pointers.

use RGB to make custom colors with which to draw the letters

this is not highly recommended, but use processes for falling letters.

processes are the same as procedures, but they run at the same time.

your question needs some explaining however.

-bunny

Author:  apomb [ Thu Apr 22, 2004 7:59 pm ]
Post subject: 

i know it has been tried, but i havent seen it for a while ... an i will look at catalyst's program, if i can ind it thanks!

Author:  gamer [ Thu Apr 22, 2004 8:44 pm ]
Post subject: 

i just searched, got 2 results
http://www.compsci.ca/v2/search.php?mode=results

Author:  apomb [ Fri Apr 23, 2004 1:07 pm ]
Post subject: 

I am ashamed at how shitty mine is compared to catayist's **hangs head** Doh! im sorry for bringing up a topic that has already been supremely conquered.

this is the end of this thread

Author:  Delta [ Mon Apr 26, 2004 7:40 pm ]
Post subject: 

you shouldn't be ashamed at all... sure catalyst's program rapes yours totally Wink but still... no one has actually done the matrix correctly and not even near completion.... there is only one person I see getting it done perfectly (he is obsessed with it), its flashkicks.... he knows what he needs, and he is determined to get it done... but until then the matrix program has not been "conquered".

Author:  Flashkicks [ Mon May 03, 2004 6:41 am ]
Post subject: 

aha..Obsessed??.. Okay- you got a point there.. Razz I am still working on it Delta but sheesh- Sure is extremely hard :S


: