Changes

Jump to navigation Jump to search
Line 26: Line 26:  
Did you know that you can copy/paste stacks to/from the clipboard? You type Ctrl-C to copy whatever stack is under the cursor to the clipboard. Ctrl-V will paste from the clipboard onto whatever TA project you have open. Try pasting this code into your Turtle Art project.
 
Did you know that you can copy/paste stacks to/from the clipboard? You type Ctrl-C to copy whatever stack is under the cursor to the clipboard. Ctrl-V will paste from the clipboard onto whatever TA project you have open. Try pasting this code into your Turtle Art project.
   −
:[[0, "clean", 258, 217, [12, 1]], [1, "repeat", 258, 251, [0, 2, 3, null]], [2, ["number", 36], 309, 251, [1, null]], [3, "repeat", 323, 311, [1, 4, 5, 9]], [4,  ["number", 4], 374, 311, [3, null]], [5, "forward", 388, 371, [3, 6, 7]], [6, ["number", 300], 459, 371, [5, null]], [7, "right", 388, 413, [5, 8, null]], [8, ["number", 90], 446, 413, [7, null]], [9, ["vspace", 20], 323, 389, [3, 10]], [10, "right", 323, 463, [9, 11, null]], [11, ["number", 10], 381, 463, [10, null]], [12, "start", 258, 175, [null, 0]], [-1, ["turtle", 1], 0, 0, 0.0, 0, 50, 5]]
+
[[0, "clean", 258, 217, [12, 1]],
 +
  [1, "repeat", 258, 251, [0, 2, 3, null]],
 +
  [2, ["number", 36], 309, 251, [1, null]],
 +
  [3, "repeat", 323, 311, [1, 4, 5, 9]],
 +
  [4,  ["number", 4], 374, 311, [3, null]],
 +
  [5, "forward", 388, 371, [3, 6, 7]],
 +
  [6, ["number", 300], 459, 371, [5, null]],
 +
  [7, "right", 388, 413, [5, 8, null]],
 +
  [8, ["number", 90], 446, 413, [7, null]],
 +
  [9, ["vspace", 20], 323, 389, [3, 10]],
 +
  [10, "right", 323, 463, [9, 11, null]],
 +
  [11, ["number", 10], 381, 463, [10, null]],
 +
  [12, "start", 258, 175, [null, 0]]]
    
You can also paste text from the clipboard into text blocks.  
 
You can also paste text from the clipboard into text blocks.  
Line 38: Line 50:  
* The 'debug' button will run your program with a longer delay between blocks. Block are highlighted as they are executed and block labels are updated with the current block values.
 
* The 'debug' button will run your program with a longer delay between blocks. Block are highlighted as they are executed and block labels are updated with the current block values.
   −
==Sharing==
+
===Sharing===
   −
Turtle Art supports a simple sharing model. Whomever joins a shared activity will share turtles with the other participants, e.g., whatever any turtle draws will appear on every screen. (Please note that the "show" block is not shared, so it is not possible to share multimedia objects.) Share can consume a lot of network bandwidth, so it is not recommended to share among more than 2–3 people at a time. As with all Sugar activities, you can use the Share-with feature of the Journal to share your Turtle Art projects with others.
+
Turtle Art supports a simple sharing model. Whomever joins a shared activity will share turtles with the other participants, e.g., whatever any turtle draws will appear on every screen. While sharing, you can also send stacks of blocks from one user to another. Share can consume a lot of network bandwidth, so it is not recommended to share among more than 2–3 people at a time if the screen is frequently changing. As with all Sugar activities, you can use the Share-with feature of the Journal to share your Turtle Art projects with others.
   −
'''Note:''' as of Version 83, Turtle Art will not share correctly with older versions.
+
A simple application of Turle Art sharing is multimedia chat. Send text using the Show Block; voice using the Speak Block; and images using the Show Block. Lots of fun.
   −
'''Note:''' as of Version 106, Turtle Art will share between Sugar and GNOME.
+
'''Note:''' Turtle Art will also share between Sugar and GNOME.
    
<gallery>
 
<gallery>
Line 53: Line 65:  
</gallery>
 
</gallery>
   −
===Running Turtle Art outsde of Sugar===
+
===Running Turtle Art outside of Sugar===
 
[[Image:TAGnome.png|300px]]
 
[[Image:TAGnome.png|300px]]
   Line 71: Line 83:  
* on later software builds, Activities is both hidden and locked, if so, check show hidden files to unhide, in terminal chmod 777 Activities to unlock
 
* on later software builds, Activities is both hidden and locked, if so, check show hidden files to unhide, in terminal chmod 777 Activities to unlock
 
* open TurtleArt.activity
 
* open TurtleArt.activity
* run turtleart.py (run in terminal is better, you can see error messages there)
+
* run turtleblocks.py (run in terminal is better, you can see error messages there)
 +
 
 +
COMMAND LINE SWITCHES
 +
 
 +
turtleblocks --help
 +
turtleblocks.py
 +
turtleblocks.py project.tb
 +
turtleblocks.py --output_png project.tb
 +
turtleblocks.py -o project
 +
turtleblocks.py --run project.tb
 +
turtleblocks.py -r project
2,486

edits

Navigation menu