Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 matrix-ish program
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
apomb




PostPosted: 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!
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Thu Apr 22, 2004 7:48 pm   Post subject: (No subject)

look for Catalyst's matrix program, it should be somewhere in [Turing Source Code] Thinking
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
TheZsterBunny




PostPosted: Thu Apr 22, 2004 7:50 pm   Post subject: (No 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
apomb




PostPosted: Thu Apr 22, 2004 7:59 pm   Post subject: (No 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!
gamer




PostPosted: Thu Apr 22, 2004 8:44 pm   Post subject: (No subject)

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




PostPosted: Fri Apr 23, 2004 1:07 pm   Post subject: (No 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
Delta




PostPosted: Mon Apr 26, 2004 7:40 pm   Post subject: (No 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".
Flashkicks




PostPosted: Mon May 03, 2004 6:41 am   Post subject: (No subject)

aha..Obsessed??.. Okay- you got a point there.. Razz I am still working on it Delta but sheesh- Sure is extremely hard :S
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 8 Posts ]
Jump to:   


Style:  
Search: