diff options
Diffstat (limited to 'samples')
-rw-r--r-- | samples/card-18.tb | 38 | ||||
-rw-r--r-- | samples/game-snake.tb | 60 | ||||
-rw-r--r-- | samples/media-music-keyboard.tb | 7 | ||||
-rw-r--r-- | samples/thumbnails/card-18.png | bin | 0 -> 15893 bytes | |||
-rw-r--r-- | samples/thumbnails/game-snake.png | bin | 0 -> 9694 bytes | |||
-rw-r--r-- | samples/thumbnails/sensors-follow-path.png | bin | 0 -> 15267 bytes |
6 files changed, 102 insertions, 3 deletions
diff --git a/samples/card-18.tb b/samples/card-18.tb new file mode 100644 index 0000000..951a3fb --- /dev/null +++ b/samples/card-18.tb @@ -0,0 +1,38 @@ +[[0, ["start", 2.0], 180, 180, [null, 33]], +[1, ["repeat", 42], 758, 276, [10, 2, 3, 8]], +[2, ["number", 3.0], 817, 276, [1, null]], +[3, ["arc", 0], 776, 318, [1, 4, 5, 6]], +[4, ["number", 90], 834, 318, [3, null]], +[5, ["number", 50.0], 834, 360, [3, null]], +[6, "left", 776, 402, [3, 7, null]], +[7, ["number", 90], 834, 402, [6, null]], +[8, "left", 758, 462, [1, 9, null]], +[9, ["number", 180.0], 816, 462, [8, null]], +[10, ["repeat", 93], 740, 234, [16, 11, 1, null]], +[11, ["number", 2.0], 799, 234, [10, null]], +[12, ["repeat", 21], 440, 234, [20, 13, 18, null]], +[13, ["number", 12.0], 499, 234, [12, null]], +[14, "right", 458, 318, [18, 15, null]], +[15, ["number", 30.0], 516, 318, [14, null]], +[16, "hat", 740, 180, [null, 17, 10]], +[17, ["string", "action"], 798, 192, [16, null]], +[18, "stack", 458, 276, [12, 19, 14]], +[19, ["string", "action"], 516, 276, [18, null]], +[20, "hat", 440, 180, [null, 21, 12]], +[21, ["string", "bumps"], 498, 192, [20, null]], +[22, "stack", 180, 436, [27, 23, 29]], +[23, ["string", "bumps"], 238, 436, [22, null]], +[24, "stack", 180, 562, [28, 25, null]], +[25, ["string", "bumps"], 238, 562, [24, null]], +[26, "red", 257, 520, [28, null]], +[27, "setcolor", 180, 394, [31, 37, 22]], +[28, "setcolor", 180, 520, [29, 26, 24]], +[29, "setpensize", 180, 478, [22, 30, 28]], +[30, ["number", 5], 282, 478, [29, null]], +[31, "setpensize", 180, 352, [33, 32, 27]], +[32, ["number", 20.0], 282, 352, [31, null]], +[33, "fillscreen2", 180, 226, [0, 34, 35, 36, 31]], +[34, ["number", 60], 262, 226, [33, null]], +[35, ["number", 80], 262, 268, [33, null]], +[36, ["number", 100], 262, 310, [33, null]], +[37, "yellow", 257, 394, [27, null]]] diff --git a/samples/game-snake.tb b/samples/game-snake.tb new file mode 100644 index 0000000..aa157c3 --- /dev/null +++ b/samples/game-snake.tb @@ -0,0 +1,60 @@ +[[0, ["start", 2.0], 183, 131, [null, 56]], +[1, "hat", 740, 420, [null, 2, 13]], +[2, ["string", "left"], 798, 432, [1, null]], +[3, "hat", 740, 180, [null, 4, 12]], +[4, ["string", "right"], 798, 192, [3, null]], +[5, "stack", 498, 281, [11, 6, 7]], +[6, ["string", "left"], 556, 281, [5, null]], +[7, "stack", 498, 323, [5, 8, 9]], +[8, ["string", "right"], 556, 323, [7, null]], +[9, "forward", 498, 365, [7, 10, 51]], +[10, ["number", 10], 569, 365, [9, null]], +[11, "kbinput", 498, 239, [33, 5]], +[12, ["vspace", 0], 740, 234, [3, 14]], +[13, ["vspace", 0], 740, 474, [1, 15]], +[14, ["if", 0], 740, 276, [12, 16, 20, null]], +[15, ["if", 0], 740, 516, [13, 17, 22, null]], +[16, ["equal2", 0], 796, 242, [14, 45, 18, null]], +[17, ["equal2", 0], 796, 482, [15, 46, 19, null]], +[18, "keyboard", 852, 284, [16, null]], +[19, "keyboard", 852, 524, [17, null]], +[20, "right", 758, 342, [14, 21, null]], +[21, ["number", 10], 816, 342, [20, null]], +[22, "left", 758, 582, [15, 23, null]], +[23, ["number", 10], 816, 582, [22, null]], +[24, "wait", 201, 537, [35, 25, null]], +[25, ["number", 0.1], 259, 537, [24, null]], +[26, "forward", 1020, 276, [30, 27, 39]], +[27, ["number", 5], 1091, 276, [26, null]], +[28, "back", 1020, 402, [39, 29, 31]], +[29, ["number", 5], 1078, 402, [28, null]], +[30, "penup", 1020, 234, [49, 26]], +[31, "pendown", 1020, 444, [28, null]], +[32, "showblocks", 183, 597, [47, null]], +[33, "hat", 498, 185, [null, 34, 11]], +[34, ["string", "action"], 556, 197, [33, null]], +[35, "stack", 201, 495, [47, 36, 24]], +[36, ["string", "action"], 259, 495, [35, null]], +[37, "setpensize", 183, 303, [57, 38, 54]], +[38, ["number", 8], 285, 303, [37, null]], +[39, ["storein", 0], 1020, 318, [26, 40, 41, 28]], +[40, ["string", "color"], 1088, 318, [39, null]], +[41, "see", 1088, 360, [39, null]], +[42, ["equal2", 0], 239, 395, [47, 43, 53, null]], +[43, "box", 295, 395, [42, 44, null]], +[44, ["string", "color"], 350, 395, [43, null]], +[45, ["number", 3], 852, 242, [16, null]], +[46, ["number", 1], 852, 482, [17, null]], +[47, ["until", 21], 183, 429, [48, 42, 35, 32]], +[48, ["vspace", 0], 183, 387, [54, 47]], +[49, "hat", 1020, 180, [null, 50, 30]], +[50, ["string", "look ahead"], 1078, 192, [49, null]], +[51, "stack", 498, 407, [9, 52, null]], +[52, ["string", "look ahead"], 556, 407, [51, null]], +[53, "red", 295, 437, [42, null]], +[54, "setcolor", 183, 345, [37, 55, 48]], +[55, "red", 260, 345, [54, null]], +[56, "clean", 183, 177, [0, 57]], +[57, ["storein", 0], 183, 219, [56, 58, 59, 37]], +[58, ["string", "color"], 251, 219, [57, null]], +[59, "blue", 251, 261, [57, null]]] diff --git a/samples/media-music-keyboard.tb b/samples/media-music-keyboard.tb index a525d33..6ac5eae 100644 --- a/samples/media-music-keyboard.tb +++ b/samples/media-music-keyboard.tb @@ -1,4 +1,4 @@ -[[0, ["start", 2.0], 160, 200, [null, 110]], +[[0, ["start", 2.0], 160, 200, [null, 130]], [1, ["until", 63], 600, 254, [38, 22, 25, 28]], [2, ["forever", 230], 160, 330, [112, 40, null]], [3, "sinewave", 178, 698, [20, 36, 10, 4, 11]], @@ -108,7 +108,7 @@ [107, "ycor", 929, 1565, [101, null]], [108, "hat", 1096, 195, [null, 109, 114]], [109, ["string", "select notes"], 1154, 207, [108, null]], -[110, "stack", 160, 246, [0, 111, 112]], +[110, "stack", 160, 246, [130, 111, 112]], [111, ["string", "select notes"], 218, 246, [110, null]], [112, "stack", 160, 288, [110, 113, 2]], [113, ["string", "draw keyboard"], 218, 288, [112, null]], @@ -127,4 +127,5 @@ [126, "push", 1096, 501, [124, 127, 128]], [127, ["number", 26.0], 1154, 501, [126, null]], [128, "push", 1096, 543, [126, 129, null]], -[129, ["number", 24], 1154, 543, [128, null]]] +[129, ["number", 24], 1154, 543, [128, null]], +[130, "clean", 853, 1149, [0, 110]]]
\ No newline at end of file diff --git a/samples/thumbnails/card-18.png b/samples/thumbnails/card-18.png Binary files differnew file mode 100644 index 0000000..9d32c25 --- /dev/null +++ b/samples/thumbnails/card-18.png diff --git a/samples/thumbnails/game-snake.png b/samples/thumbnails/game-snake.png Binary files differnew file mode 100644 index 0000000..da57530 --- /dev/null +++ b/samples/thumbnails/game-snake.png diff --git a/samples/thumbnails/sensors-follow-path.png b/samples/thumbnails/sensors-follow-path.png Binary files differnew file mode 100644 index 0000000..a4916a9 --- /dev/null +++ b/samples/thumbnails/sensors-follow-path.png |