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

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




PostPosted: Thu Nov 11, 2004 12:45 pm   Post subject: Spackle Program

This is my most basic spackle program. I like it better then my more advanced ones...Here it is!

code:

loop
Draw.Dot((Rand.Int(0,maxx)),(Rand.Int(0,maxx)),white)
Draw.Dot((Rand.Int(0,maxx)),(Rand.Int(0,maxx)),green)
Draw.Dot((Rand.Int(0,maxx)),(Rand.Int(0,maxx)),144)
end loop


Coded error - Edited
Edited - This is the grassy version. Mess around with the colours. Try just black and white, looks alright.
Sponsor
Sponsor
Sponsor
sponsor
cool dude




PostPosted: Fri Nov 12, 2004 1:09 pm   Post subject: (No subject)

well if u say its your first then good job. a lot of us did those kinda programs when we just started turing too. good luck with turing.
zylum




PostPosted: Sat Nov 13, 2004 2:47 pm   Post subject: (No subject)

theres still an error in it. in the y parameter of drawdot you have Rand.Int(0,maxx) when it should be Rand.Int(0,maxy)

i know it doesnt make that much of a difference but a portion of the dots are being drawn off the screen making them appear slower.... this ofcourse wouldnt be a problem if you set the screen so that both the width and height were equal: setscreen("graphics:500;500")
chunginator




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

a good thing to try for noobs is to try and make programs like these more smoother so its not so laggy. good job btw
zomg




PostPosted: Tue Nov 16, 2004 11:50 am   Post subject: (No subject)

i made this program exactly(differnent colours) for my first program lol, does that take me back...
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: