Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/samples/game-basketball.ta
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2012-07-19 19:14:45 (GMT)
committer Walter Bender <walter.bender@gmail.com>2012-07-19 19:14:45 (GMT)
commitb34eb4723bde739eed00c9595192aa5325808592 (patch)
tree6cb9c707036c08fe9ccc15135e4f28779770c1e8 /samples/game-basketball.ta
parent0799cf334bc642223573372e0a74ea8db797843f (diff)
cleaned up examples
Diffstat (limited to 'samples/game-basketball.ta')
-rw-r--r--samples/game-basketball.ta215
1 files changed, 114 insertions, 101 deletions
diff --git a/samples/game-basketball.ta b/samples/game-basketball.ta
index 2596cb4..ffb5fb2 100644
--- a/samples/game-basketball.ta
+++ b/samples/game-basketball.ta
@@ -1,101 +1,114 @@
-[[0, ["start", 2.0], 639, 62, [null, 100]],
-[1, "skin", 639, 398, [24, 2, 49]],
-[2, ["journal", "./samples/images/basketball.png"], 821, 398, [1, null]],
-[3, ["setxy2", 60], 19, 243, [16, 5, 33, null]],
-[4, "xcor", 138, 243, [5, null]],
-[5, ["plus2", 0], 84, 243, [3, 4, 63]],
-[6, ["setxy2", 0], 564, 780, [14, 26, 7, 29]],
-[7, ["number", 0], 629, 822, [6, null]],
-[8, "seth", 220, 827, [12, 11, 36]],
-[9, ["number", 90], 372, 869, [11, null]],
-[10, "heading", 372, 827, [11, null]],
-[11, ["plus2", 0], 318, 827, [8, 10, 9]],
-[12, "wait", 220, 785, [18, 13, 8]],
-[13, ["number", 0.25], 291, 785, [12, null]],
-[14, "penup", 564, 738, [53, 6]],
-[15, "pendown", 564, 948, [47, null]],
-[16, "hat", 19, 193, [null, 17, 3]],
-[17, ["string", "parabola"], 80, 201, [16, null]],
-[18, "stack", 220, 743, [40, 19, 12]],
-[19, ["string", "parabola"], 281, 743, [18, null]],
-[20, "show", 639, 314, [21, 23, 24]],
-[21, "setscale", 639, 272, [68, 22, 20]],
-[22, ["number", 100], 735, 272, [21, null]],
-[23, ["journal", "./samples/images/basketball-court1-a.png"], 712, 314, [20, null]],
-[24, "setscale", 639, 356, [20, 25, 1]],
-[25, ["number", 33], 735, 356, [24, null]],
-[26, "leftpos", 629, 780, [6, null]],
-[27, "storeinbox2", 220, 911, [36, 35, 38]],
-[28, ["number", 1], 432, 953, [35, null]],
-[29, "storeinbox2", 564, 864, [6, 30, 47]],
-[30, ["number", 40.0], 698, 864, [29, null]],
-[31, "box2", 408, 911, [35, null]],
-[32, "box2", 192, 447, [64, null]],
-[33, ["plus2", 0], 84, 405, [3, 34, 64]],
-[34, "ycor", 138, 405, [33, null]],
-[35, ["minus2", 0], 354, 911, [27, 31, 28]],
-[36, ["vspace", 0], 220, 869, [8, 27]],
-[37, "forever", 15, 615, [45, 39, null]],
-[38, ["vspace", 0], 220, 953, [27, 85]],
-[39, "ifelse", 116, 633, [37, 42, 40, 41, null]],
-[40, ["vspace", 0], 220, 701, [39, 18]],
-[41, "stopstack", 272, 701, [39, null]],
-[42, ["greater2", 0], 206, 599, [39, 44, 43, null]],
-[43, ["number", -1], 276, 641, [42, null]],
-[44, "ycor", 252, 599, [42, null]],
-[45, "hat", 15, 565, [null, 46, 37]],
-[46, ["string", "shoot"], 76, 573, [45, null]],
-[47, "stack", 564, 906, [29, 48, 15]],
-[48, ["string", "shoot"], 625, 906, [47, null]],
-[49, "setpensize", 639, 440, [1, 50, 54]],
-[50, ["number", 1], 746, 440, [49, null]],
-[51, "storeinbox1", 488, 586, [81, 52, 55]],
-[52, "volume", 622, 586, [51, null]],
-[53, "if", 488, 670, [55, 56, 14, null]],
-[54, "forever", 639, 482, [49, 83, null]],
-[55, ["vspace", 0], 488, 628, [51, 53]],
-[56, ["greater2", 0], 550, 636, [53, 57, 58, null]],
-[57, "box1", 596, 636, [56, null]],
-[58, ["number", 300.0], 620, 678, [56, null]],
-[59, ["division2", 0], 192, 327, [63, 61, 62]],
-[60, ["number", 30.0], 192, 285, [63, null]],
-[61, "box1", 246, 327, [59, null]],
-[62, "width", 270, 369, [59, null]],
-[63, ["product2", 0], 138, 285, [5, 60, 59]],
-[64, ["product2", 0], 138, 447, [33, 32, 65]],
-[65, ["division2", 0], 192, 489, [64, 66, 67]],
-[66, "box1", 246, 489, [65, null]],
-[67, "height", 270, 531, [65, null]],
-[68, ["fillscreen", 0], 639, 188, [98, 69, 70, 21]],
-[69, ["number", 60], 779, 188, [68, null]],
-[70, ["number", 80], 779, 230, [68, null]],
-[71, "readpixel", 921, 139, [87, 80]],
-[72, "pop", 1029, 189, [89, null]],
-[73, "pop", 1105, 299, [90, null]],
-[74, "pop", 1181, 409, [91, null]],
-[75, "if", 921, 223, [80, 89, 76, null]],
-[76, ["vspace", 0], 997, 291, [75, 77]],
-[77, "if", 997, 333, [76, 90, 78, null]],
-[78, ["vspace", 0], 1073, 401, [77, 79]],
-[79, "if", 1073, 443, [78, 91, 95, null]],
-[80, ["vspace", 0], 921, 181, [71, 75]],
-[81, "hat", 488, 536, [null, 82, 51]],
-[82, ["string", "trigger"], 549, 544, [81, null]],
-[83, "stack", 740, 500, [54, 84, null]],
-[84, ["string", "trigger"], 801, 500, [83, null]],
-[85, "stack", 220, 995, [38, 86, 99]],
-[86, ["string", "test"], 281, 995, [85, null]],
-[87, "hat", 921, 89, [null, 88, 71]],
-[88, ["string", "test"], 982, 97, [87, null]],
-[89, ["equal2", 0], 983, 189, [75, 72, 92, null]],
-[90, ["equal2", 0], 1059, 299, [77, 73, 93, null]],
-[91, ["equal2", 0], 1135, 409, [79, 74, 94, null]],
-[92, ["number", 255.0], 1029, 231, [89, null]],
-[93, ["number", 255.0], 1105, 341, [90, null]],
-[94, ["number", 255.0], 1181, 451, [91, null]],
-[95, "print", 1149, 511, [79, 96, 97]],
-[96, ["string", "BASKET"], 1226, 511, [95, null]],
-[97, "stopstack", 1149, 553, [95, null]],
-[98, "clean", 639, 146, [100, 68]],
-[99, "clearheap", 220, 1037, [85, null]],
-[100, "hideblocks", 639, 104, [0, 98]]]
+[[0, ["start", 2.0], 300, 180, [null, 92]],
+[1, "skin", 300, 520, [24, 2, 45]],
+[2, ["journal", "./samples/images/basketball.png"], 389, 520, [1, null]],
+[3, ["setxy2", 60], 18, 268, [109, 5, 29, null]],
+[4, "xcor", 130, 268, [5, null]],
+[5, ["plus2", 0], 76, 268, [3, 4, 56]],
+[6, ["setxy2", 0], 36, 762, [14, 26, 7, 95]],
+[7, ["number", 0], 94, 804, [6, null]],
+[8, "seth", 54, 614, [12, 11, 32]],
+[9, ["number", 90], 166, 656, [11, null]],
+[10, "heading", 166, 614, [11, null]],
+[11, ["plus2", 0], 112, 614, [8, 10, 9]],
+[12, "wait", 54, 572, [18, 13, 8]],
+[13, ["number", 0.25], 112, 572, [12, null]],
+[14, "penup", 36, 720, [48, 6]],
+[15, "pendown", 36, 972, [43, null]],
+[16, "hat", 0, 180, [null, 17, 109]],
+[17, ["string", "parabola"], 58, 192, [16, null]],
+[18, "stack", 54, 530, [36, 19, 12]],
+[19, ["string", "parabola"], 112, 530, [18, null]],
+[20, "show", 300, 436, [21, 23, 24]],
+[21, "setscale", 300, 394, [60, 22, 20]],
+[22, ["number", 100], 377, 394, [21, null]],
+[23, ["journal", "./samples/images/basketball-court1-a.png"], 358, 436, [20, null]],
+[24, "setscale", 300, 478, [20, 25, 1]],
+[25, ["number", 33], 377, 478, [24, null]],
+[26, "leftpos", 94, 762, [6, null]],
+[27, ["number", 1], 200, 782, [31, null]],
+[28, ["number", 40.0], 104, 888, [95, null]],
+[29, ["plus2", 0], 76, 430, [3, 30, 57]],
+[30, "ycor", 130, 430, [29, null]],
+[31, ["minus2", 0], 122, 740, [105, 107, 27]],
+[32, ["vspace", 0], 54, 656, [8, 105]],
+[33, ["forever", 261], 18, 388, [110, 35, null]],
+[34, ["vspace", 0], 54, 782, [105, 77]],
+[35, ["ifelse", [189, 0]],
+36, 422, [33, 38, 36, 37, null]],
+[36, ["vspace", 0], 54, 488, [35, 18]],
+[37, "stopstack", 54, 926, [35, null]],
+[38, ["greater2", 0], 92, 388, [35, 40, 39, null]],
+[39, ["number", -1], 162, 430, [38, null]],
+[40, "ycor", 138, 388, [38, null]],
+[41, "hat", 0, 300, [null, 42, 110]],
+[42, ["string", "shoot"], 58, 312, [41, null]],
+[43, "stack", 36, 930, [95, 44, 15]],
+[44, ["string", "shoot"], 94, 930, [43, null]],
+[45, "setpensize", 300, 562, [1, 46, 49]],
+[46, ["number", 1], 402, 562, [45, null]],
+[47, "volume", 86, 570, [93, null]],
+[48, ["if", 126], 18, 654, [50, 51, 14, null]],
+[49, ["forever", 0], 300, 604, [45, 75, null]],
+[50, ["vspace", 0], 18, 612, [93, 48]],
+[51, ["greater2", 0], 74, 620, [48, 97, 52, null]],
+[52, ["number", 300], 144, 662, [51, null]],
+[53, ["division2", 0], 184, 352, [56, 103, 55]],
+[54, ["number", 30], 184, 310, [56, null]],
+[55, "width", 262, 394, [53, null]],
+[56, ["product2", 0], 130, 310, [5, 54, 53]],
+[57, ["product2", 0], 130, 472, [29, 101, 58]],
+[58, ["division2", 0], 184, 514, [57, 99, 59]],
+[59, "height", 262, 556, [58, null]],
+[60, ["fillscreen", 0], 300, 310, [90, 61, 62, 21]],
+[61, ["number", 60], 382, 310, [60, null]],
+[62, ["number", 80], 382, 352, [60, null]],
+[63, "readpixel", 18, 648, [112, 72]],
+[64, "pop", 120, 698, [81, null]],
+[65, "pop", 138, 806, [82, null]],
+[66, "pop", 156, 914, [83, null]],
+[67, ["if", 147], 18, 732, [72, 81, 68, null]],
+[68, ["vspace", 0], 36, 798, [67, 69]],
+[69, ["if", 84], 36, 840, [68, 82, 70, null]],
+[70, ["vspace", 0], 54, 906, [69, 71]],
+[71, ["if", 21], 54, 948, [70, 83, 87, null]],
+[72, ["vspace", 0], 18, 690, [63, 67]],
+[73, "hat", 0, 440, [null, 74, 111]],
+[74, ["string", "trigger"], 58, 452, [73, null]],
+[75, "stack", 318, 638, [49, 76, null]],
+[76, ["string", "trigger"], 376, 638, [75, null]],
+[77, "stack", 54, 824, [34, 78, 91]],
+[78, ["string", "test"], 112, 824, [77, null]],
+[79, "hat", 0, 560, [null, 80, 112]],
+[80, ["string", "test"], 58, 572, [79, null]],
+[81, ["equal2", 0], 74, 698, [67, 64, 84, null]],
+[82, ["equal2", 0], 92, 806, [69, 65, 85, null]],
+[83, ["equal2", 0], 110, 914, [71, 66, 86, null]],
+[84, ["number", 255], 120, 740, [81, null]],
+[85, ["number", 255], 138, 848, [82, null]],
+[86, ["number", 255], 156, 956, [83, null]],
+[87, "print", 72, 1014, [71, 88, 89]],
+[88, ["string", "BASKET"], 130, 1014, [87, null]],
+[89, "stopstack", 72, 1056, [87, null]],
+[90, "clean", 300, 268, [92, 60]],
+[91, "clearheap", 54, 866, [77, null]],
+[92, "hideblocks", 300, 226, [0, 90]],
+[93, ["storein", 0], 18, 528, [111, 94, 47, 50]],
+[94, ["string", "loudness"], 86, 528, [93, null]],
+[95, ["storein", 0], 36, 846, [6, 96, 28, 43]],
+[96, ["string", "box"], 104, 846, [95, null]],
+[97, "box", 120, 620, [51, 98, null]],
+[98, ["string", "loudness"], 175, 620, [97, null]],
+[99, "box", 238, 514, [58, 100, null]],
+[100, ["string", "loudness"], 293, 514, [99, null]],
+[101, "box", 184, 472, [57, 102, null]],
+[102, ["string", "box"], 239, 472, [101, null]],
+[103, "box", 238, 352, [53, 104, null]],
+[104, ["string", "loudness"], 293, 352, [103, null]],
+[105, ["storein", 0], 54, 698, [32, 106, 31, 34]],
+[106, ["string", "box"], 122, 698, [105, null]],
+[107, "box", 176, 740, [31, 108, null]],
+[108, ["string", "box"], 231, 740, [107, null]],
+[109, "sandwichclampcollapsed", 0, 234, [16, 3, null]],
+[110, "sandwichclampcollapsed", 0, 354, [41, 33, null]],
+[111, "sandwichclampcollapsed", 0, 494, [73, 93, null]],
+[112, "sandwichclampcollapsed", 0, 614, [79, 63, null]]]