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

Username:   Password: 
 RegisterRegister   
 Disco dance floor.
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
JayLo




PostPosted: Mon Dec 30, 2002 5:59 pm   Post subject: Disco dance floor.

lol. I'm so bored during the holidays... goes to show how much of a life I have... Confused

ANYWAYS... I would like to create a disco-ish type floor (boxes that change colours), but do not know how...
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Thu Jan 02, 2003 1:46 pm   Post subject: (No subject)

you know what you can do when you're bored? write tutorials for SWAT Very Happy

neah, I'm just kidding... go see a movie or hang our with friends or something...

anyway, here's your request

code:

View.Set("graphics:400;400")

var i:int
loop
for x:0..3
    for y:0..3
        randint(i,1,10)
        drawfillbox(x*100,y*100,x*100+100,y*100+100,i)
    end for
end for
delay(100)
end loop
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
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  [ 2 Posts ]
Jump to:   


Style:  
Search: