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

Username:   Password: 
 RegisterRegister   
 Turing - Building a house
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
MakaveliBRU




PostPosted: Fri Nov 21, 2003 10:05 am   Post subject: Turing - Building a house

Help us build a house becaues we are retarded
........please guide us along building this house because we don not understand this turing stuff.
.......were in a grade 11 computer engineering calss
and our teacher dont know jack!
Sponsor
Sponsor
Sponsor
sponsor
Thuged_Out_G




PostPosted: Fri Nov 21, 2003 12:30 pm   Post subject: (No subject)

open up the turing reference file, and do a search for "Draw"....everything you need is there, it shouldnt be very hard
poly




PostPosted: Fri Nov 21, 2003 2:23 pm   Post subject: (No subject)

Quote:
please guide us along building this house because we don not understand this turing stuff.

Well than maybe you shouldn't be in a Turing course!
Quote:
and our teacher dont know jack!
why do people blame the teachers for there stupidity....
santabruzer




PostPosted: Fri Nov 21, 2003 4:59 pm   Post subject: (No subject)

It's the way the world works.... Rolling Eyes
Tony




PostPosted: Fri Nov 21, 2003 7:59 pm   Post subject: (No subject)

well some teachers really dont know much about programming.

But yeah... you need to Draw. module. I think someone wrote a tutorail on drawing stuff in turing Thinking
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Tendulkar




PostPosted: Tue Nov 25, 2003 1:44 pm   Post subject: Re: Turing - Building a house

MakaveliBRU wrote:
Help us build a house becaues we are retarded
........please guide us along building this house because we don not understand this turing stuff.
.......were in a grade 11 computer engineering calss
and our teacher dont know jack!





% Here is Your Program
for i : 70 .. maxx - 70
drawline (i, 0, i, maxy div 2 + 50, black)
delay (5)
end for

for i : maxx div 2 - 30 .. maxx div 2 + 30
drawline (i, 0, i, 100, white)
delay (5)
end for

for i : 50 .. maxx div 2 + 10
drawline (i, maxy div 2 + 50, i + 10, maxy div 2 + 130, red)
drawline (maxx - i, maxy div 2 + 50, maxx - i - 10, maxy div 2 + 130, red)
delay (5)
end for

var font : int := Font.New ("Arial:30")
Font.Draw ("Home Sweet Home", maxx div 2 - (Font.Width ("Home Sweet Home", font) div 2), (maxy div 2 + 50 + maxy div 2 + 130) div 2, font, brightgreen)


air_force91




PostPosted: Tue Nov 25, 2003 1:55 pm   Post subject: (No subject)

yo...how would i display text in the center of the screen? Confused
air_force91




PostPosted: Tue Nov 25, 2003 1:57 pm   Post subject: (No subject)

yo...how would i display text in the center of the screen? Confused
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Tue Nov 25, 2003 2:37 pm   Post subject: (No subject)

code:

Font.Draw("text",round(maxx/2 - Font.Width("text",fontID)),round(maxy/2),fontID,black)


i hope that works
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Andy




PostPosted: Tue Nov 25, 2003 4:33 pm   Post subject: (No subject)

locatexy((maxx div 2)-(2*length(word)),maxy div 2)
where word is the message you want to put
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  [ 10 Posts ]
Jump to:   


Style:  
Search: