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

Username:   Password: 
 RegisterRegister   
 wow
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Shyfire




PostPosted: Wed Nov 10, 2004 12:04 pm   Post subject: wow

%im new at this% Very Happy
[code]
loop
put " "
colorback (87)
put " "
colorback (yellow)
put " "
colorback (79)
put " "
colorback (1)
put " "

end loop
[/code]
Sponsor
Sponsor
Sponsor
sponsor
cool dude




PostPosted: Wed Nov 10, 2004 1:13 pm   Post subject: (No subject)

don't wanna put anyone down but u r right u r new at this. what exactly did u wanna show us just the background changing colours. its a good start though that u know how to change the background colour. some people in my class know turing but still keep asking me how to change the background colour. lol. good luck with turing.
Hikaru79




PostPosted: Thu Nov 11, 2004 7:29 am   Post subject: (No subject)

Programs involving flashing colors are usually the first kind people in my class discovered, too Very Happy Here's a cool one based on yours. Same idea, but a bit more involved.

code:

var col : int := 1
var increment : int := 1

loop
    colorback (col)
    put " "
    col += increment
    if col = 255 then
        increment := -1
    elsif col = 1 then
        increment := +1
    end if
end loop


Try to understand what I did here =) If you can, I'll kick it up a notch and we'll go from there ^ ^
the_short1




PostPosted: Thu Nov 11, 2004 12:06 pm   Post subject: (No subject)

suggestion: add soem delays

delay (10) or something.. its a LITTLE FAST on a p4 at school Sad//

other then that... check out my thread about visual effects to get good ideas for future projects.. and to learn soem cool techniches..

http://www.compsci.ca/v2/viewtopic.php?t=2917

it has a lot of great submisions from mostly me. but some others like cervants.. paul bian.. and many more..
chunginator




PostPosted: Mon Nov 15, 2004 11:04 am   Post subject: (No subject)

agreed. it goes wicked fast, froze my comp once

u could also try a View.Update on it
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: