Activities/TurtleArt/Tutorials/Turtle Sensors Tutorial gci2012: Difference between revisions

Tonyforster (talk | contribs)
No edit summary
Tonyforster (talk | contribs)
Line 31: Line 31:


3. Then have a x/y block. In the x spot put a blue left block, which can be found under the screen symbol. In the y spot have a 0 block.
3. Then have a x/y block. In the x spot put a blue left block, which can be found under the screen symbol. In the y spot have a 0 block.
[[Image:TAportfolio.png]]


4. A pen down block should follow.
4. A pen down block should follow.
Line 38: Line 40:
6. Inside the repeat put another x/y block. In the x input connect a xcor block which can be found under the turtle. In the y input connect a loudness  
6. Inside the repeat put another x/y block. In the x input connect a xcor block which can be found under the turtle. In the y input connect a loudness  
block that can be found under the wire symbol.
block that can be found under the wire symbol.
[[Image:TAsensors.png]]


7. Then have a blank block. This block can be found under the repeat symbol.
7. Then have a blank block. This block can be found under the repeat symbol.
[[Image:TAflow.png]]


8. Connect yet another x/y block. In the x input connect a + block. This block will be found under the 123+-= symbol.For the top value on the + block connect a xcor block. For the bottom value connect a number block with a 1.
8. Connect yet another x/y block. In the x input connect a + block. This block will be found under the 123+-= symbol.For the top value on the + block connect a xcor block. For the bottom value connect a number block with a 1.