Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
589 changes: 326 additions & 263 deletions examples/alien_planet.flock

Large diffs are not rendered by default.

1,830 changes: 995 additions & 835 deletions examples/beetle.flock

Large diffs are not rendered by default.

1,579 changes: 876 additions & 703 deletions examples/candy_dash.flock

Large diffs are not rendered by default.

47 changes: 27 additions & 20 deletions examples/collect_the_gems.flock
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
"type": "start",
"id": "a2dB|N!oaAuOe5zwpdLM",
"x": 10,
"y": 1432,
"y": 1454,
"inputs": {
"DO": {
"block": {
Expand Down Expand Up @@ -309,7 +309,7 @@
"type": "procedures_defnoreturn",
"id": "7I8Xda{.W!Up2`3I.Hr/",
"x": 10,
"y": 934,
"y": 946,
"extraState": {
"params": [
{
Expand Down Expand Up @@ -617,7 +617,7 @@
"type": "start",
"id": "h1OKJ3SlBJ/`eUknMKa]",
"x": 10,
"y": 1600,
"y": 1622,
"inputs": {
"DO": {
"block": {
Expand Down Expand Up @@ -702,7 +702,7 @@
"type": "start",
"id": "qXk.~x]bv)rC5c_p74yO",
"x": 10,
"y": 1810,
"y": 1834,
"inputs": {
"DO": {
"block": {
Expand Down Expand Up @@ -1021,7 +1021,7 @@
"type": "forever",
"id": "(~Q,RJBP9IxjGD-H_*RI",
"x": 10,
"y": 2508,
"y": 2546,
"extraState": "<mutation xmlns=\"http://www.w3.org/1999/xhtml\" inline=\"false\"></mutation>",
"inputs": {
"DO": {
Expand Down Expand Up @@ -1150,7 +1150,7 @@
"type": "start",
"id": "a=r?(-3eO`.O0D-$u7#:",
"x": 10,
"y": 2778,
"y": 2822,
"inputs": {
"DO": {
"block": {
Expand Down Expand Up @@ -1300,7 +1300,7 @@
"type": "start",
"id": "=~lU!AgJo-{2r[%[~LO#",
"x": 10,
"y": 548,
"y": 554,
"inputs": {
"DO": {
"block": {
Expand Down Expand Up @@ -1477,7 +1477,7 @@
"type": "forever",
"id": "$$i@z!T[?b%=ld;r4{i_",
"x": 10,
"y": 3340,
"y": 3394,
"extraState": "<mutation xmlns=\"http://www.w3.org/1999/xhtml\" inline=\"false\"></mutation>",
"inputs": {
"DO": {
Expand Down Expand Up @@ -2085,7 +2085,7 @@
"type": "on_event",
"id": "/u`#q`qfA^xJYW/=#S@)",
"x": 10,
"y": 4864,
"y": 4954,
"extraState": "<mutation xmlns=\"http://www.w3.org/1999/xhtml\" inline=\"false\"></mutation>",
"inputs": {
"EVENT_NAME": {
Expand Down Expand Up @@ -2169,7 +2169,7 @@
"type": "on_event",
"id": "DEcpSyPS.u!lFn(_T#xa",
"x": 10,
"y": 5144,
"y": 5242,
"extraState": "<mutation xmlns=\"http://www.w3.org/1999/xhtml\" inline=\"false\"></mutation>",
"inputs": {
"EVENT_NAME": {
Expand Down Expand Up @@ -2209,7 +2209,7 @@
"type": "on_collision",
"id": "TBHX|I2BV@,v9wLk8YU5",
"x": 10,
"y": 5324,
"y": 5426,
"extraState": "<mutation xmlns=\"http://www.w3.org/1999/xhtml\" inline=\"false\"></mutation>",
"fields": {
"MODEL_VAR": {
Expand Down Expand Up @@ -2429,7 +2429,7 @@
"type": "on_collision",
"id": ":h2Kd?SKqMPM#P2}^V]g",
"x": 10,
"y": 5796,
"y": 5914,
"extraState": "<mutation xmlns=\"http://www.w3.org/1999/xhtml\" inline=\"false\"></mutation>",
"fields": {
"MODEL_VAR": {
Expand Down Expand Up @@ -2649,7 +2649,7 @@
"type": "on_collision",
"id": "^=u.mM/Ji]{;vT/ch#XX",
"x": 10,
"y": 6268,
"y": 6402,
"extraState": "<mutation xmlns=\"http://www.w3.org/1999/xhtml\" inline=\"false\"></mutation>",
"fields": {
"MODEL_VAR": {
Expand Down Expand Up @@ -2869,15 +2869,22 @@
"type": "forever",
"id": "bvF)Rl8Y0!g(H#(0]5}x",
"x": 10,
"y": 7020,
"y": 7178,
"extraState": "<mutation xmlns=\"http://www.w3.org/1999/xhtml\" inline=\"false\"></mutation>",
"inputs": {
"DO": {
"block": {
"type": "controls_if",
"id": "DHy?X-kS12~2+H)?8(5`",
"type": "if_clause",
"id": ";kch/.)yW!2;)AE$.lE?",
"extraState": {
"mode": "IF",
"stashedCondState": null
},
"fields": {
"MODE": "IF"
},
"inputs": {
"IF0": {
"COND": {
"block": {
"type": "logic_operation",
"id": "*d,!K,/Qnj[%h@]tRmPV",
Expand Down Expand Up @@ -2938,7 +2945,7 @@
}
}
},
"DO0": {
"DO": {
"block": {
"type": "variables_set",
"id": ",vk13VPw|G{}Ig+FSKio",
Expand Down Expand Up @@ -3010,7 +3017,7 @@
"type": "on_event",
"id": ".Zi~Q~Oat2Vz+L}LG`#i",
"x": 10,
"y": 6740,
"y": 6890,
"extraState": "<mutation xmlns=\"http://www.w3.org/1999/xhtml\" inline=\"false\"></mutation>",
"inputs": {
"EVENT_NAME": {
Expand Down Expand Up @@ -3098,7 +3105,7 @@
"type": "start",
"id": "LuWWcg+x5]Sd.]vyK:PT",
"x": 10,
"y": 3130,
"y": 3182,
"inputs": {
"DO": {
"block": {
Expand Down
Loading