
-----------------------------------
thecanadiancomrade
Tue Jan 08, 2013 10:40 pm

Neeeeddd Helllppppp
-----------------------------------
how can i make a intersection in turing, cause i have an isu due tomorrow to make a working intersection and i already have the lights but just cant figure out the road and background grass, 
i have no clue can someone please help or give me the codes

-----------------------------------
Panphobia
Tue Jan 08, 2013 10:50 pm

RE:Neeeeddd Helllppppp
-----------------------------------
Draw.FillBox (x1, y1, x2, y2, Color : int)

-----------------------------------
thecanadiancomrade
Tue Jan 08, 2013 11:04 pm

Re: Neeeeddd Helllppppp
-----------------------------------
how do i make it face up

-----------------------------------
Panphobia
Tue Jan 08, 2013 11:13 pm

RE:Neeeeddd Helllppppp
-----------------------------------
face up? explain please

-----------------------------------
thecanadiancomrade
Tue Jan 08, 2013 11:14 pm

Re: Neeeeddd Helllppppp
-----------------------------------
sorry, vertical i ment

-----------------------------------
Panphobia
Tue Jan 08, 2013 11:35 pm

RE:Neeeeddd Helllppppp
-----------------------------------
x1,x2,y1,y2 they give you the shape of this box, so you just have tweak those values

-----------------------------------
ryan.s
Wed Jan 09, 2013 12:57 am

RE:Neeeeddd Helllppppp
-----------------------------------
example:

drawfillbox(30,30,40,70,black)

There is no portrait or landscape, consider the pixels in your head and make it so the 2nd corner is further vertically then horizontally

-----------------------------------
Panphobia
Wed Jan 09, 2013 8:17 pm

Re: Neeeeddd Helllppppp
-----------------------------------
This is a similar project I had in grade 11 engineering, because I was by myself I only needed to make a car move down streets and make the left/right/braking signals show up on a model car through turing, but as for the landscape this is an example of my streets [code]Draw.FillBox (0, 0, 800, 600, black)     %draws road
    Draw.FillBox (230, 190, 600, 410, darkgrey)     %draws curb
    Draw.FillBox (250, 210, 580, 390, green)     %draws curb
    Draw.FillBox (230, 550, 600, 600, darkgrey)     %draws curb
    Draw.FillBox (250, 570, 580, 600, green)     % draws curb
    Draw.FillBox (760, 190, 800, 410, darkgrey)     %draws curb
    Draw.FillBox (780, 210, 800, 390, green)     %draws curb
    Draw.FillBox (0, 190, 40, 410, darkgrey)     %draws curb
    Draw.FillBox (0, 210, 20, 390, green)     %draws curb
    Draw.FillBox (230, 0, 600, 40, darkgrey)     %draws curb
    Draw.FillBox (250, 0, 580, 20, green)     %draws curb
    Draw.FillBox (0, 0, 40, 40, darkgrey)     %draws curb
    Draw.FillBox (0, 0, 20, 20, green)     %draws curb
    Draw.FillBox (0, 560, 40, 600, darkgrey)     %draws curb
    Draw.FillBox (0, 580, 20, 600, green)     %draws curb
    Draw.FillBox (760, 560, 800, 600, darkgrey)     %draws curb
    Draw.FillBox (780, 580, 800, 600, green)     %draws curb
    Draw.FillBox (760, 0, 800, 40, darkgrey)     %draws curb
    Draw.FillBox (780, 0, 800, 20, green)     %draw curb[/code]
