
-----------------------------------
MakaveliBRU
Fri Nov 21, 2003 10:05 am

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
Fri Nov 21, 2003 12:30 pm


-----------------------------------
open up the turing reference file, and do a search for "Draw"....everything you need is there, it shouldnt be very hard

-----------------------------------
poly
Fri Nov 21, 2003 2:23 pm


-----------------------------------
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!
and our teacher dont know jack!why do people blame the teachers for there stupidity....

-----------------------------------
santabruzer
Fri Nov 21, 2003 4:59 pm


-----------------------------------
It's the way the world works....  :roll:

-----------------------------------
Tony
Fri Nov 21, 2003 7:59 pm


-----------------------------------
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 :think:

-----------------------------------
Tendulkar
Tue Nov 25, 2003 1:44 pm

Re: 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!




% 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
Tue Nov 25, 2003 1:55 pm


-----------------------------------
yo...how would i display text in the center of the screen? :?

-----------------------------------
air_force91
Tue Nov 25, 2003 1:57 pm


-----------------------------------
yo...how would i display text in the center of the screen? :?

-----------------------------------
Tony
Tue Nov 25, 2003 2:37 pm


-----------------------------------

Font.Draw("text",round(maxx/2 - Font.Width("text",fontID)),round(maxy/2),fontID,black)


i hope that works

-----------------------------------
Andy
Tue Nov 25, 2003 4:33 pm


-----------------------------------
locatexy((maxx div 2)-(2*length(word)),maxy div 2)
where word is the message you want to put
