Computer Science Canada Programming C, C++, Java, PHP, Ruby, Turing, VB   Username:   Password: Wiki   Blog   Search   Turing   Chat Room  Members
Turing - Building a house
Author Message
MakaveliBRU

Posted: 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!

Thuged_Out_G

Posted: 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

Posted: 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

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

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

Posted: 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
Tony's programming blog. DWITE - a programming contest.
Tendulkar

Posted: 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!

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

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

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

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

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

Tony

Posted: 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
Tony's programming blog. DWITE - a programming contest.
Andy

Posted: 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: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First

Page 1 of 1  [ 10 Posts ]
 Jump to:  Select a forum  CompSci.ca ------------ - Network News - General Discussion     General Forums   -----------------   - Hello World   - Featured Poll   - Contests     Contest Forums   -----------------   - DWITE   - [FP] Contest 2006/2008   - [FP] 2005/2006 Archive   - [FP] 2004/2005 Archive   - Off Topic     Lounges   ---------   - User Lounge   - VIP Lounge     Programming -------------- - General Programming     General Programming Forums   --------------------------------   - Functional Programming   - Logical Programming   - C     C   --   - C Help   - C Tutorials   - C Submissions   - C++     C++   ----   - C++ Help   - C++ Tutorials   - C++ Submissions   - Java     Java   -----   - Java Help   - Java Tutorials   - Java Submissions   - Ruby     Ruby   -----   - Ruby Help   - Ruby Tutorials   - Ruby Submissions   - Turing     Turing   --------   - Turing Help   - Turing Tutorials   - Turing Submissions   - PHP     PHP   ----   - PHP Help   - PHP Tutorials   - PHP Submissions   - Python     Python   --------   - Python Help   - Python Tutorials   - Python Submissions   - Visual Basic and Other Basics     VB   ---   - Visual Basic Help   - Visual Basic Tutorials   - Visual Basic Submissions     Education ----------- - Student Life   Graphics and Design ----------------------- - Web Design     Web Design Forums   ---------------------   - (X)HTML Help   - (X)HTML Tutorials   - Flash MX Help   - Flash MX Tutorials   - Graphics     Graphics Forums   ------------------   - Photoshop Tutorials   - The Showroom   - 2D Graphics   - 3D Graphics     Teams ------ - dTeam Public

 Style: Appalachia blueSilver eMJay subAppalachia subBlue subCanvas subEmjay subGrey subSilver subVereor Search: