From bd102135668685dc01ed75a0a14755fd0b6498bb Mon Sep 17 00:00:00 2001 From: Scott Wadden Date: Mon, 27 Nov 2023 04:02:05 -0400 Subject: [PATCH] Swapped tutorial 2 and 3. Minor fixes. --- .../build_rpkti27gyvuwi.json | 15 +++++++ vmlib/worlds/tutorial/tutorial-1/level.json | 2 +- .../scripts/build_rpkti27gyvuwi.nim | 1 + .../scripts/build_x7imlkqz4ux9l.nim | 4 +- .../bot_oy8kjgw7cmn5x/bot_oy8kjgw7cmn5x.json | 0 .../build_1keccg2mvge2d.json | 0 .../build_232lnaswahww5.json | 0 .../build_5q7bsxjamil5g.json | 0 .../build_p3o8fhe1l8q3t.json | 0 .../build_q44ng8hzm25a5.json | 0 .../build_wbvc3ofglbenr.json | 0 .../build_z4u2d6n7c4bur.json | 0 vmlib/worlds/tutorial/tutorial-2/level.json | 2 +- .../scripts/bot_oy8kjgw7cmn5x.nim | 0 .../scripts/build_1keccg2mvge2d.nim | 0 .../scripts/build_232lnaswahww5.nim | 0 .../scripts/build_5q7bsxjamil5g.nim | 0 .../scripts/build_p3o8fhe1l8q3t.nim | 0 .../scripts/build_q44ng8hzm25a5.nim | 0 .../scripts/build_wbvc3ofglbenr.nim | 0 .../scripts/build_z4u2d6n7c4bur.nim | 4 +- .../bot_oy8kjgw7cmn5x/bot_oy8kjgw7cmn5x.json | 15 +++++++ .../build_5q7bsxjamil5g.json | 23 +++++++++++ .../build_wtj28vqvn7x1p.json | 30 ++++++++++++++ .../worlds/tutorial/tutorial-3.bak/level.json | 4 ++ .../scripts/bot_oy8kjgw7cmn5x.nim | 39 +++++++++++++++++++ .../scripts/build_5q7bsxjamil5g.nim | 14 +++++++ .../scripts/build_wtj28vqvn7x1p.nim | 2 + .../build_0kqsf4kugz22b.json | 0 .../build_2evt18x9goyxs.json | 0 .../build_3npxfmddql9kx.json | 0 .../build_7acqeexn0l7r2.json | 0 .../build_8lap32sqeqlok.json | 0 .../build_9mcxd85a34ph6.json | 0 .../build_em5344si3j457.json | 0 .../build_f4qf20mu45gj8.json | 0 .../build_fsued2iao7tij.json | 0 .../build_hiywqqyzha3r9.json | 0 .../build_inajs92yvpeo2.json | 0 .../build_jmvscwyy2ltg5.json | 0 .../build_m64zp4mnhqib3.json | 0 .../build_m6d84ocmrei97.json | 0 .../build_mlsxf11t2oaz6.json | 0 .../build_p3pwvry0wznqb.json | 0 .../build_p3rokg2vii39x.json | 0 .../build_qmjxkhcjwnbhb.json | 0 .../build_r7e4b8cvf0hk7.json | 0 .../build_uu8u87ua76wp0.json | 0 .../build_wevpat48mxjhe.json | 0 .../build_zdvcvo11pyd20.json | 0 vmlib/worlds/tutorial/tutorial-3/level.json | 2 +- .../scripts/build_0kqsf4kugz22b.nim | 0 .../scripts/build_2evt18x9goyxs.nim | 0 .../scripts/build_7acqeexn0l7r2.nim | 0 .../scripts/build_8lap32sqeqlok.nim | 0 .../scripts/build_9mcxd85a34ph6.nim | 0 .../scripts/build_em5344si3j457.nim | 0 .../scripts/build_f4qf20mu45gj8.nim | 0 .../scripts/build_fsued2iao7tij.nim | 0 .../scripts/build_hiywqqyzha3r9.nim | 0 .../scripts/build_inajs92yvpeo2.nim | 0 .../scripts/build_m64zp4mnhqib3.nim | 0 .../scripts/build_m6d84ocmrei97.nim | 0 .../scripts/build_p3pwvry0wznqb.nim | 0 .../scripts/build_p3rokg2vii39x.nim | 0 .../scripts/build_qmjxkhcjwnbhb.nim | 0 .../scripts/build_r7e4b8cvf0hk7.nim | 0 .../scripts/build_uu8u87ua76wp0.nim | 0 .../scripts/build_zdvcvo11pyd20.nim | 24 ++++++------ 69 files changed, 164 insertions(+), 17 deletions(-) create mode 100644 vmlib/worlds/tutorial/tutorial-1/data/build_rpkti27gyvuwi/build_rpkti27gyvuwi.json create mode 100644 vmlib/worlds/tutorial/tutorial-1/scripts/build_rpkti27gyvuwi.nim rename vmlib/worlds/tutorial/{tutorial-3 => tutorial-2}/data/bot_oy8kjgw7cmn5x/bot_oy8kjgw7cmn5x.json (100%) rename vmlib/worlds/tutorial/{tutorial-3 => tutorial-2}/data/build_1keccg2mvge2d/build_1keccg2mvge2d.json (100%) rename vmlib/worlds/tutorial/{tutorial-3 => tutorial-2}/data/build_232lnaswahww5/build_232lnaswahww5.json (100%) rename vmlib/worlds/tutorial/{tutorial-3 => tutorial-2}/data/build_5q7bsxjamil5g/build_5q7bsxjamil5g.json (100%) rename vmlib/worlds/tutorial/{tutorial-3 => tutorial-2}/data/build_p3o8fhe1l8q3t/build_p3o8fhe1l8q3t.json (100%) rename vmlib/worlds/tutorial/{tutorial-3 => tutorial-2}/data/build_q44ng8hzm25a5/build_q44ng8hzm25a5.json (100%) rename vmlib/worlds/tutorial/{tutorial-3 => tutorial-2}/data/build_wbvc3ofglbenr/build_wbvc3ofglbenr.json (100%) rename vmlib/worlds/tutorial/{tutorial-3 => tutorial-2}/data/build_z4u2d6n7c4bur/build_z4u2d6n7c4bur.json (100%) rename vmlib/worlds/tutorial/{tutorial-3 => tutorial-2}/scripts/bot_oy8kjgw7cmn5x.nim (100%) rename vmlib/worlds/tutorial/{tutorial-3 => tutorial-2}/scripts/build_1keccg2mvge2d.nim (100%) rename vmlib/worlds/tutorial/{tutorial-3 => tutorial-2}/scripts/build_232lnaswahww5.nim (100%) rename vmlib/worlds/tutorial/{tutorial-3 => tutorial-2}/scripts/build_5q7bsxjamil5g.nim (100%) rename vmlib/worlds/tutorial/{tutorial-3 => tutorial-2}/scripts/build_p3o8fhe1l8q3t.nim (100%) rename vmlib/worlds/tutorial/{tutorial-3 => tutorial-2}/scripts/build_q44ng8hzm25a5.nim (100%) rename vmlib/worlds/tutorial/{tutorial-3 => tutorial-2}/scripts/build_wbvc3ofglbenr.nim (100%) rename vmlib/worlds/tutorial/{tutorial-3 => tutorial-2}/scripts/build_z4u2d6n7c4bur.nim (78%) create mode 100644 vmlib/worlds/tutorial/tutorial-3.bak/data/bot_oy8kjgw7cmn5x/bot_oy8kjgw7cmn5x.json create mode 100644 vmlib/worlds/tutorial/tutorial-3.bak/data/build_5q7bsxjamil5g/build_5q7bsxjamil5g.json create mode 100644 vmlib/worlds/tutorial/tutorial-3.bak/data/build_wtj28vqvn7x1p/build_wtj28vqvn7x1p.json create mode 100644 vmlib/worlds/tutorial/tutorial-3.bak/level.json create mode 100644 vmlib/worlds/tutorial/tutorial-3.bak/scripts/bot_oy8kjgw7cmn5x.nim create mode 100644 vmlib/worlds/tutorial/tutorial-3.bak/scripts/build_5q7bsxjamil5g.nim create mode 100644 vmlib/worlds/tutorial/tutorial-3.bak/scripts/build_wtj28vqvn7x1p.nim rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/data/build_0kqsf4kugz22b/build_0kqsf4kugz22b.json (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/data/build_2evt18x9goyxs/build_2evt18x9goyxs.json (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/data/build_3npxfmddql9kx/build_3npxfmddql9kx.json (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/data/build_7acqeexn0l7r2/build_7acqeexn0l7r2.json (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/data/build_8lap32sqeqlok/build_8lap32sqeqlok.json (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/data/build_9mcxd85a34ph6/build_9mcxd85a34ph6.json (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/data/build_em5344si3j457/build_em5344si3j457.json (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/data/build_f4qf20mu45gj8/build_f4qf20mu45gj8.json (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/data/build_fsued2iao7tij/build_fsued2iao7tij.json (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/data/build_hiywqqyzha3r9/build_hiywqqyzha3r9.json (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/data/build_inajs92yvpeo2/build_inajs92yvpeo2.json (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/data/build_jmvscwyy2ltg5/build_jmvscwyy2ltg5.json (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/data/build_m64zp4mnhqib3/build_m64zp4mnhqib3.json (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/data/build_m6d84ocmrei97/build_m6d84ocmrei97.json (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/data/build_mlsxf11t2oaz6/build_mlsxf11t2oaz6.json (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/data/build_p3pwvry0wznqb/build_p3pwvry0wznqb.json (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/data/build_p3rokg2vii39x/build_p3rokg2vii39x.json (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/data/build_qmjxkhcjwnbhb/build_qmjxkhcjwnbhb.json (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/data/build_r7e4b8cvf0hk7/build_r7e4b8cvf0hk7.json (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/data/build_uu8u87ua76wp0/build_uu8u87ua76wp0.json (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/data/build_wevpat48mxjhe/build_wevpat48mxjhe.json (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/data/build_zdvcvo11pyd20/build_zdvcvo11pyd20.json (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/scripts/build_0kqsf4kugz22b.nim (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/scripts/build_2evt18x9goyxs.nim (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/scripts/build_7acqeexn0l7r2.nim (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/scripts/build_8lap32sqeqlok.nim (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/scripts/build_9mcxd85a34ph6.nim (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/scripts/build_em5344si3j457.nim (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/scripts/build_f4qf20mu45gj8.nim (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/scripts/build_fsued2iao7tij.nim (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/scripts/build_hiywqqyzha3r9.nim (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/scripts/build_inajs92yvpeo2.nim (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/scripts/build_m64zp4mnhqib3.nim (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/scripts/build_m6d84ocmrei97.nim (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/scripts/build_p3pwvry0wznqb.nim (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/scripts/build_p3rokg2vii39x.nim (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/scripts/build_qmjxkhcjwnbhb.nim (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/scripts/build_r7e4b8cvf0hk7.nim (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/scripts/build_uu8u87ua76wp0.nim (100%) rename vmlib/worlds/tutorial/{tutorial-2 => tutorial-3}/scripts/build_zdvcvo11pyd20.nim (85%) diff --git a/vmlib/worlds/tutorial/tutorial-1/data/build_rpkti27gyvuwi/build_rpkti27gyvuwi.json b/vmlib/worlds/tutorial/tutorial-1/data/build_rpkti27gyvuwi/build_rpkti27gyvuwi.json new file mode 100644 index 00000000..3c4a1783 --- /dev/null +++ b/vmlib/worlds/tutorial/tutorial-1/data/build_rpkti27gyvuwi/build_rpkti27gyvuwi.json @@ -0,0 +1,15 @@ +{ + "id": "build_rpkti27gyvuwi", + "start_transform": { + "basis": [ + [1.0, 0.0, 0.0], + [0.0, 1.0, 0.0], + [0.0, 0.0, 1.0] + ], + "origin": [17.0, 0.0, -13.0] + }, + "start_color": "green", + "edits": { + + } +} diff --git a/vmlib/worlds/tutorial/tutorial-1/level.json b/vmlib/worlds/tutorial/tutorial-1/level.json index aef5ea53..565f2a00 100644 --- a/vmlib/worlds/tutorial/tutorial-1/level.json +++ b/vmlib/worlds/tutorial/tutorial-1/level.json @@ -1,4 +1,4 @@ { - "enu_version": "v0.1.99-200-gaf9f01a9", + "enu_version": "v0.1.99-207-g2ba00e00", "format_version": "v0.9.2" } \ No newline at end of file diff --git a/vmlib/worlds/tutorial/tutorial-1/scripts/build_rpkti27gyvuwi.nim b/vmlib/worlds/tutorial/tutorial-1/scripts/build_rpkti27gyvuwi.nim new file mode 100644 index 00000000..8d8e02fb --- /dev/null +++ b/vmlib/worlds/tutorial/tutorial-1/scripts/build_rpkti27gyvuwi.nim @@ -0,0 +1 @@ +player.god = true \ No newline at end of file diff --git a/vmlib/worlds/tutorial/tutorial-1/scripts/build_x7imlkqz4ux9l.nim b/vmlib/worlds/tutorial/tutorial-1/scripts/build_x7imlkqz4ux9l.nim index b26bc991..dcc1cec3 100644 --- a/vmlib/worlds/tutorial/tutorial-1/scripts/build_x7imlkqz4ux9l.nim +++ b/vmlib/worlds/tutorial/tutorial-1/scripts/build_x7imlkqz4ux9l.nim @@ -27,7 +27,9 @@ If you're not new, here are some other things to do: - [Help](https://ē.nu/docs/intro.html). Help! -- [Load Inky: Isolation](). `Inky: Isolation` is +- [Load Examples](). See some other things you can build with Enu. + +- [Load Inky: Isolation](). `Inky: Isolation` is a simple game made with Enu. You can see how it was built in [this video](https://youtu.be/9e9sLsmsu_o). diff --git a/vmlib/worlds/tutorial/tutorial-3/data/bot_oy8kjgw7cmn5x/bot_oy8kjgw7cmn5x.json b/vmlib/worlds/tutorial/tutorial-2/data/bot_oy8kjgw7cmn5x/bot_oy8kjgw7cmn5x.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-3/data/bot_oy8kjgw7cmn5x/bot_oy8kjgw7cmn5x.json rename to vmlib/worlds/tutorial/tutorial-2/data/bot_oy8kjgw7cmn5x/bot_oy8kjgw7cmn5x.json diff --git a/vmlib/worlds/tutorial/tutorial-3/data/build_1keccg2mvge2d/build_1keccg2mvge2d.json b/vmlib/worlds/tutorial/tutorial-2/data/build_1keccg2mvge2d/build_1keccg2mvge2d.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-3/data/build_1keccg2mvge2d/build_1keccg2mvge2d.json rename to vmlib/worlds/tutorial/tutorial-2/data/build_1keccg2mvge2d/build_1keccg2mvge2d.json diff --git a/vmlib/worlds/tutorial/tutorial-3/data/build_232lnaswahww5/build_232lnaswahww5.json b/vmlib/worlds/tutorial/tutorial-2/data/build_232lnaswahww5/build_232lnaswahww5.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-3/data/build_232lnaswahww5/build_232lnaswahww5.json rename to vmlib/worlds/tutorial/tutorial-2/data/build_232lnaswahww5/build_232lnaswahww5.json diff --git a/vmlib/worlds/tutorial/tutorial-3/data/build_5q7bsxjamil5g/build_5q7bsxjamil5g.json b/vmlib/worlds/tutorial/tutorial-2/data/build_5q7bsxjamil5g/build_5q7bsxjamil5g.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-3/data/build_5q7bsxjamil5g/build_5q7bsxjamil5g.json rename to vmlib/worlds/tutorial/tutorial-2/data/build_5q7bsxjamil5g/build_5q7bsxjamil5g.json diff --git a/vmlib/worlds/tutorial/tutorial-3/data/build_p3o8fhe1l8q3t/build_p3o8fhe1l8q3t.json b/vmlib/worlds/tutorial/tutorial-2/data/build_p3o8fhe1l8q3t/build_p3o8fhe1l8q3t.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-3/data/build_p3o8fhe1l8q3t/build_p3o8fhe1l8q3t.json rename to vmlib/worlds/tutorial/tutorial-2/data/build_p3o8fhe1l8q3t/build_p3o8fhe1l8q3t.json diff --git a/vmlib/worlds/tutorial/tutorial-3/data/build_q44ng8hzm25a5/build_q44ng8hzm25a5.json b/vmlib/worlds/tutorial/tutorial-2/data/build_q44ng8hzm25a5/build_q44ng8hzm25a5.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-3/data/build_q44ng8hzm25a5/build_q44ng8hzm25a5.json rename to vmlib/worlds/tutorial/tutorial-2/data/build_q44ng8hzm25a5/build_q44ng8hzm25a5.json diff --git a/vmlib/worlds/tutorial/tutorial-3/data/build_wbvc3ofglbenr/build_wbvc3ofglbenr.json b/vmlib/worlds/tutorial/tutorial-2/data/build_wbvc3ofglbenr/build_wbvc3ofglbenr.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-3/data/build_wbvc3ofglbenr/build_wbvc3ofglbenr.json rename to vmlib/worlds/tutorial/tutorial-2/data/build_wbvc3ofglbenr/build_wbvc3ofglbenr.json diff --git a/vmlib/worlds/tutorial/tutorial-3/data/build_z4u2d6n7c4bur/build_z4u2d6n7c4bur.json b/vmlib/worlds/tutorial/tutorial-2/data/build_z4u2d6n7c4bur/build_z4u2d6n7c4bur.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-3/data/build_z4u2d6n7c4bur/build_z4u2d6n7c4bur.json rename to vmlib/worlds/tutorial/tutorial-2/data/build_z4u2d6n7c4bur/build_z4u2d6n7c4bur.json diff --git a/vmlib/worlds/tutorial/tutorial-2/level.json b/vmlib/worlds/tutorial/tutorial-2/level.json index 358a07d8..b177e772 100644 --- a/vmlib/worlds/tutorial/tutorial-2/level.json +++ b/vmlib/worlds/tutorial/tutorial-2/level.json @@ -1,4 +1,4 @@ { - "enu_version": "v0.1.99-201-g2c6fd644", + "enu_version": "v0.1.99-205-g6f51bcb6", "format_version": "v0.9.2" } \ No newline at end of file diff --git a/vmlib/worlds/tutorial/tutorial-3/scripts/bot_oy8kjgw7cmn5x.nim b/vmlib/worlds/tutorial/tutorial-2/scripts/bot_oy8kjgw7cmn5x.nim similarity index 100% rename from vmlib/worlds/tutorial/tutorial-3/scripts/bot_oy8kjgw7cmn5x.nim rename to vmlib/worlds/tutorial/tutorial-2/scripts/bot_oy8kjgw7cmn5x.nim diff --git a/vmlib/worlds/tutorial/tutorial-3/scripts/build_1keccg2mvge2d.nim b/vmlib/worlds/tutorial/tutorial-2/scripts/build_1keccg2mvge2d.nim similarity index 100% rename from vmlib/worlds/tutorial/tutorial-3/scripts/build_1keccg2mvge2d.nim rename to vmlib/worlds/tutorial/tutorial-2/scripts/build_1keccg2mvge2d.nim diff --git a/vmlib/worlds/tutorial/tutorial-3/scripts/build_232lnaswahww5.nim b/vmlib/worlds/tutorial/tutorial-2/scripts/build_232lnaswahww5.nim similarity index 100% rename from vmlib/worlds/tutorial/tutorial-3/scripts/build_232lnaswahww5.nim rename to vmlib/worlds/tutorial/tutorial-2/scripts/build_232lnaswahww5.nim diff --git a/vmlib/worlds/tutorial/tutorial-3/scripts/build_5q7bsxjamil5g.nim b/vmlib/worlds/tutorial/tutorial-2/scripts/build_5q7bsxjamil5g.nim similarity index 100% rename from vmlib/worlds/tutorial/tutorial-3/scripts/build_5q7bsxjamil5g.nim rename to vmlib/worlds/tutorial/tutorial-2/scripts/build_5q7bsxjamil5g.nim diff --git a/vmlib/worlds/tutorial/tutorial-3/scripts/build_p3o8fhe1l8q3t.nim b/vmlib/worlds/tutorial/tutorial-2/scripts/build_p3o8fhe1l8q3t.nim similarity index 100% rename from vmlib/worlds/tutorial/tutorial-3/scripts/build_p3o8fhe1l8q3t.nim rename to vmlib/worlds/tutorial/tutorial-2/scripts/build_p3o8fhe1l8q3t.nim diff --git a/vmlib/worlds/tutorial/tutorial-3/scripts/build_q44ng8hzm25a5.nim b/vmlib/worlds/tutorial/tutorial-2/scripts/build_q44ng8hzm25a5.nim similarity index 100% rename from vmlib/worlds/tutorial/tutorial-3/scripts/build_q44ng8hzm25a5.nim rename to vmlib/worlds/tutorial/tutorial-2/scripts/build_q44ng8hzm25a5.nim diff --git a/vmlib/worlds/tutorial/tutorial-3/scripts/build_wbvc3ofglbenr.nim b/vmlib/worlds/tutorial/tutorial-2/scripts/build_wbvc3ofglbenr.nim similarity index 100% rename from vmlib/worlds/tutorial/tutorial-3/scripts/build_wbvc3ofglbenr.nim rename to vmlib/worlds/tutorial/tutorial-2/scripts/build_wbvc3ofglbenr.nim diff --git a/vmlib/worlds/tutorial/tutorial-3/scripts/build_z4u2d6n7c4bur.nim b/vmlib/worlds/tutorial/tutorial-2/scripts/build_z4u2d6n7c4bur.nim similarity index 78% rename from vmlib/worlds/tutorial/tutorial-3/scripts/build_z4u2d6n7c4bur.nim rename to vmlib/worlds/tutorial/tutorial-2/scripts/build_z4u2d6n7c4bur.nim index 4bd6b8ba..3098c2cc 100644 --- a/vmlib/worlds/tutorial/tutorial-3/scripts/build_z4u2d6n7c4bur.nim +++ b/vmlib/worlds/tutorial/tutorial-2/scripts/build_z4u2d6n7c4bur.nim @@ -5,9 +5,9 @@ let blurb = "Here are some things you can build with Enu. Play with their code, let menu = """ -- [Load Tutorial]() - Leave this level and load the Enu tutorial. +- [Load Tutorial]() - Leave this level and load the Enu tutorial. -- [Load Inky: Isolation]() - Load `Inky: Isolation`, a simple game made with Enu. +- [Load Inky: Isolation]() - Load `Inky: Isolation`, a simple game made with Enu. - [Clear Changes and Reset Examples]() - Reset and reload this level. Be careful, all of your changes will be lost. diff --git a/vmlib/worlds/tutorial/tutorial-3.bak/data/bot_oy8kjgw7cmn5x/bot_oy8kjgw7cmn5x.json b/vmlib/worlds/tutorial/tutorial-3.bak/data/bot_oy8kjgw7cmn5x/bot_oy8kjgw7cmn5x.json new file mode 100644 index 00000000..bc9861c2 --- /dev/null +++ b/vmlib/worlds/tutorial/tutorial-3.bak/data/bot_oy8kjgw7cmn5x/bot_oy8kjgw7cmn5x.json @@ -0,0 +1,15 @@ +{ + "id": "bot_oy8kjgw7cmn5x", + "start_transform": { + "basis": [ + [1.0, 0.0, 0.0], + [0.0, 1.0, 0.0], + [0.0, 0.0, 1.0] + ], + "origin": [41.5, 0.0, -1.5] + }, + "start_color": "black", + "edits": { + + } +} diff --git a/vmlib/worlds/tutorial/tutorial-3.bak/data/build_5q7bsxjamil5g/build_5q7bsxjamil5g.json b/vmlib/worlds/tutorial/tutorial-3.bak/data/build_5q7bsxjamil5g/build_5q7bsxjamil5g.json new file mode 100644 index 00000000..0bba913a --- /dev/null +++ b/vmlib/worlds/tutorial/tutorial-3.bak/data/build_5q7bsxjamil5g/build_5q7bsxjamil5g.json @@ -0,0 +1,23 @@ +{ + "id": "build_5q7bsxjamil5g", + "start_transform": { + "basis": [ + [1.0, 0.0, 0.0], + [0.0, 1.0, 0.0], + [0.0, 0.0, 1.0] + ], + "origin": [10.0, 0.0, -4.0] + }, + "start_color": "black", + "edits": { + "build_5q7bsxjamil5g": [ + [[0.0, 3.0, 0.0], [1, "black"]], + [[0.0, 0.0, 1.0], [1, "black"]], + [[0.0, 2.0, 1.0], [1, "black"]], + [[0.0, 1.0, 0.0], [1, "black"]], + [[0.0, 3.0, 1.0], [1, "black"]], + [[0.0, 1.0, 1.0], [1, "black"]], + [[0.0, 2.0, 0.0], [1, "black"]] + ] + } +} diff --git a/vmlib/worlds/tutorial/tutorial-3.bak/data/build_wtj28vqvn7x1p/build_wtj28vqvn7x1p.json b/vmlib/worlds/tutorial/tutorial-3.bak/data/build_wtj28vqvn7x1p/build_wtj28vqvn7x1p.json new file mode 100644 index 00000000..c0c25e19 --- /dev/null +++ b/vmlib/worlds/tutorial/tutorial-3.bak/data/build_wtj28vqvn7x1p/build_wtj28vqvn7x1p.json @@ -0,0 +1,30 @@ +{ + "id": "build_wtj28vqvn7x1p", + "start_transform": { + "basis": [ + [1.0, 0.0, 0.0], + [0.0, 1.0, 0.0], + [0.0, 0.0, 1.0] + ], + "origin": [-2.0, 0.0, -9.0] + }, + "start_color": "black", + "edits": { + "build_wtj28vqvn7x1p": [ + [[3.0, 2.0, 0.0], [1, "black"]], + [[2.0, 1.0, 0.0], [1, "black"]], + [[1.0, 2.0, 0.0], [1, "black"]], + [[4.0, 0.0, 0.0], [1, "black"]], + [[3.0, 0.0, 0.0], [1, "black"]], + [[2.0, 2.0, 0.0], [1, "black"]], + [[1.0, 1.0, 0.0], [1, "black"]], + [[1.0, 0.0, 0.0], [1, "black"]], + [[0.0, 1.0, 0.0], [1, "black"]], + [[3.0, 1.0, 0.0], [1, "black"]], + [[4.0, 1.0, 0.0], [1, "black"]], + [[4.0, 2.0, 0.0], [1, "black"]], + [[2.0, 0.0, 0.0], [1, "black"]], + [[0.0, 2.0, 0.0], [1, "black"]] + ] + } +} diff --git a/vmlib/worlds/tutorial/tutorial-3.bak/level.json b/vmlib/worlds/tutorial/tutorial-3.bak/level.json new file mode 100644 index 00000000..bae15381 --- /dev/null +++ b/vmlib/worlds/tutorial/tutorial-3.bak/level.json @@ -0,0 +1,4 @@ +{ + "enu_version": "v0.1.99-203-ge463afdf", + "format_version": "v0.9.2" +} \ No newline at end of file diff --git a/vmlib/worlds/tutorial/tutorial-3.bak/scripts/bot_oy8kjgw7cmn5x.nim b/vmlib/worlds/tutorial/tutorial-3.bak/scripts/bot_oy8kjgw7cmn5x.nim new file mode 100644 index 00000000..be1a9d3d --- /dev/null +++ b/vmlib/worlds/tutorial/tutorial-3.bak/scripts/bot_oy8kjgw7cmn5x.nim @@ -0,0 +1,39 @@ +let sayings = [ + "Stop! You've been pre-selected for an exclusive timeshare offer!", + "Wait! I want to talk to you about the first rule of Fight Club!", + "Excuse me! Do you have a moment to talk about the Flying Spaghetti Monster?", + "Leeeroooooy Jeeeenkins!" +] + +- wander: + speed = 3 + forward 2..10 + turn -45..45 + +- chase: + speed = 10 + turn player + forward 5 + +- caught: + say "" + sleep 2 + say "Never mind. You probably wouldn't understand." + sleep 2 + +loop: + nil -> wander + go_home -> wander + caught -> go_home + if start_position.far(20): + wander -> go_home + if player.near(10): + # chase if the player is near and we're not too far from home base + (wander, go_home) ==> chase: + # this will be called once the command switches + say cycle(sayings) + if player.far(20): + chase -> go_home + if player.near(1.5): + chase -> caught + \ No newline at end of file diff --git a/vmlib/worlds/tutorial/tutorial-3.bak/scripts/build_5q7bsxjamil5g.nim b/vmlib/worlds/tutorial/tutorial-3.bak/scripts/build_5q7bsxjamil5g.nim new file mode 100644 index 00000000..34f59d85 --- /dev/null +++ b/vmlib/worlds/tutorial/tutorial-3.bak/scripts/build_5q7bsxjamil5g.nim @@ -0,0 +1,14 @@ +lock = true +turn left + +let text = """ + +# Annoying Robot + +Annoying Robot offers words of wisdom while trying to chase you down. + +This is an example of a [Command Loop](https://ē.nu/docs/command_loops.html). + +""" + +say text, text, height = 4 \ No newline at end of file diff --git a/vmlib/worlds/tutorial/tutorial-3.bak/scripts/build_wtj28vqvn7x1p.nim b/vmlib/worlds/tutorial/tutorial-3.bak/scripts/build_wtj28vqvn7x1p.nim new file mode 100644 index 00000000..732acb3d --- /dev/null +++ b/vmlib/worlds/tutorial/tutorial-3.bak/scripts/build_wtj28vqvn7x1p.nim @@ -0,0 +1,2 @@ +turn 180 +say "# SIGN", height = 3, width = 5 \ No newline at end of file diff --git a/vmlib/worlds/tutorial/tutorial-2/data/build_0kqsf4kugz22b/build_0kqsf4kugz22b.json b/vmlib/worlds/tutorial/tutorial-3/data/build_0kqsf4kugz22b/build_0kqsf4kugz22b.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/data/build_0kqsf4kugz22b/build_0kqsf4kugz22b.json rename to vmlib/worlds/tutorial/tutorial-3/data/build_0kqsf4kugz22b/build_0kqsf4kugz22b.json diff --git a/vmlib/worlds/tutorial/tutorial-2/data/build_2evt18x9goyxs/build_2evt18x9goyxs.json b/vmlib/worlds/tutorial/tutorial-3/data/build_2evt18x9goyxs/build_2evt18x9goyxs.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/data/build_2evt18x9goyxs/build_2evt18x9goyxs.json rename to vmlib/worlds/tutorial/tutorial-3/data/build_2evt18x9goyxs/build_2evt18x9goyxs.json diff --git a/vmlib/worlds/tutorial/tutorial-2/data/build_3npxfmddql9kx/build_3npxfmddql9kx.json b/vmlib/worlds/tutorial/tutorial-3/data/build_3npxfmddql9kx/build_3npxfmddql9kx.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/data/build_3npxfmddql9kx/build_3npxfmddql9kx.json rename to vmlib/worlds/tutorial/tutorial-3/data/build_3npxfmddql9kx/build_3npxfmddql9kx.json diff --git a/vmlib/worlds/tutorial/tutorial-2/data/build_7acqeexn0l7r2/build_7acqeexn0l7r2.json b/vmlib/worlds/tutorial/tutorial-3/data/build_7acqeexn0l7r2/build_7acqeexn0l7r2.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/data/build_7acqeexn0l7r2/build_7acqeexn0l7r2.json rename to vmlib/worlds/tutorial/tutorial-3/data/build_7acqeexn0l7r2/build_7acqeexn0l7r2.json diff --git a/vmlib/worlds/tutorial/tutorial-2/data/build_8lap32sqeqlok/build_8lap32sqeqlok.json b/vmlib/worlds/tutorial/tutorial-3/data/build_8lap32sqeqlok/build_8lap32sqeqlok.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/data/build_8lap32sqeqlok/build_8lap32sqeqlok.json rename to vmlib/worlds/tutorial/tutorial-3/data/build_8lap32sqeqlok/build_8lap32sqeqlok.json diff --git a/vmlib/worlds/tutorial/tutorial-2/data/build_9mcxd85a34ph6/build_9mcxd85a34ph6.json b/vmlib/worlds/tutorial/tutorial-3/data/build_9mcxd85a34ph6/build_9mcxd85a34ph6.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/data/build_9mcxd85a34ph6/build_9mcxd85a34ph6.json rename to vmlib/worlds/tutorial/tutorial-3/data/build_9mcxd85a34ph6/build_9mcxd85a34ph6.json diff --git a/vmlib/worlds/tutorial/tutorial-2/data/build_em5344si3j457/build_em5344si3j457.json b/vmlib/worlds/tutorial/tutorial-3/data/build_em5344si3j457/build_em5344si3j457.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/data/build_em5344si3j457/build_em5344si3j457.json rename to vmlib/worlds/tutorial/tutorial-3/data/build_em5344si3j457/build_em5344si3j457.json diff --git a/vmlib/worlds/tutorial/tutorial-2/data/build_f4qf20mu45gj8/build_f4qf20mu45gj8.json b/vmlib/worlds/tutorial/tutorial-3/data/build_f4qf20mu45gj8/build_f4qf20mu45gj8.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/data/build_f4qf20mu45gj8/build_f4qf20mu45gj8.json rename to vmlib/worlds/tutorial/tutorial-3/data/build_f4qf20mu45gj8/build_f4qf20mu45gj8.json diff --git a/vmlib/worlds/tutorial/tutorial-2/data/build_fsued2iao7tij/build_fsued2iao7tij.json b/vmlib/worlds/tutorial/tutorial-3/data/build_fsued2iao7tij/build_fsued2iao7tij.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/data/build_fsued2iao7tij/build_fsued2iao7tij.json rename to vmlib/worlds/tutorial/tutorial-3/data/build_fsued2iao7tij/build_fsued2iao7tij.json diff --git a/vmlib/worlds/tutorial/tutorial-2/data/build_hiywqqyzha3r9/build_hiywqqyzha3r9.json b/vmlib/worlds/tutorial/tutorial-3/data/build_hiywqqyzha3r9/build_hiywqqyzha3r9.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/data/build_hiywqqyzha3r9/build_hiywqqyzha3r9.json rename to vmlib/worlds/tutorial/tutorial-3/data/build_hiywqqyzha3r9/build_hiywqqyzha3r9.json diff --git a/vmlib/worlds/tutorial/tutorial-2/data/build_inajs92yvpeo2/build_inajs92yvpeo2.json b/vmlib/worlds/tutorial/tutorial-3/data/build_inajs92yvpeo2/build_inajs92yvpeo2.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/data/build_inajs92yvpeo2/build_inajs92yvpeo2.json rename to vmlib/worlds/tutorial/tutorial-3/data/build_inajs92yvpeo2/build_inajs92yvpeo2.json diff --git a/vmlib/worlds/tutorial/tutorial-2/data/build_jmvscwyy2ltg5/build_jmvscwyy2ltg5.json b/vmlib/worlds/tutorial/tutorial-3/data/build_jmvscwyy2ltg5/build_jmvscwyy2ltg5.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/data/build_jmvscwyy2ltg5/build_jmvscwyy2ltg5.json rename to vmlib/worlds/tutorial/tutorial-3/data/build_jmvscwyy2ltg5/build_jmvscwyy2ltg5.json diff --git a/vmlib/worlds/tutorial/tutorial-2/data/build_m64zp4mnhqib3/build_m64zp4mnhqib3.json b/vmlib/worlds/tutorial/tutorial-3/data/build_m64zp4mnhqib3/build_m64zp4mnhqib3.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/data/build_m64zp4mnhqib3/build_m64zp4mnhqib3.json rename to vmlib/worlds/tutorial/tutorial-3/data/build_m64zp4mnhqib3/build_m64zp4mnhqib3.json diff --git a/vmlib/worlds/tutorial/tutorial-2/data/build_m6d84ocmrei97/build_m6d84ocmrei97.json b/vmlib/worlds/tutorial/tutorial-3/data/build_m6d84ocmrei97/build_m6d84ocmrei97.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/data/build_m6d84ocmrei97/build_m6d84ocmrei97.json rename to vmlib/worlds/tutorial/tutorial-3/data/build_m6d84ocmrei97/build_m6d84ocmrei97.json diff --git a/vmlib/worlds/tutorial/tutorial-2/data/build_mlsxf11t2oaz6/build_mlsxf11t2oaz6.json b/vmlib/worlds/tutorial/tutorial-3/data/build_mlsxf11t2oaz6/build_mlsxf11t2oaz6.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/data/build_mlsxf11t2oaz6/build_mlsxf11t2oaz6.json rename to vmlib/worlds/tutorial/tutorial-3/data/build_mlsxf11t2oaz6/build_mlsxf11t2oaz6.json diff --git a/vmlib/worlds/tutorial/tutorial-2/data/build_p3pwvry0wznqb/build_p3pwvry0wznqb.json b/vmlib/worlds/tutorial/tutorial-3/data/build_p3pwvry0wznqb/build_p3pwvry0wznqb.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/data/build_p3pwvry0wznqb/build_p3pwvry0wznqb.json rename to vmlib/worlds/tutorial/tutorial-3/data/build_p3pwvry0wznqb/build_p3pwvry0wznqb.json diff --git a/vmlib/worlds/tutorial/tutorial-2/data/build_p3rokg2vii39x/build_p3rokg2vii39x.json b/vmlib/worlds/tutorial/tutorial-3/data/build_p3rokg2vii39x/build_p3rokg2vii39x.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/data/build_p3rokg2vii39x/build_p3rokg2vii39x.json rename to vmlib/worlds/tutorial/tutorial-3/data/build_p3rokg2vii39x/build_p3rokg2vii39x.json diff --git a/vmlib/worlds/tutorial/tutorial-2/data/build_qmjxkhcjwnbhb/build_qmjxkhcjwnbhb.json b/vmlib/worlds/tutorial/tutorial-3/data/build_qmjxkhcjwnbhb/build_qmjxkhcjwnbhb.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/data/build_qmjxkhcjwnbhb/build_qmjxkhcjwnbhb.json rename to vmlib/worlds/tutorial/tutorial-3/data/build_qmjxkhcjwnbhb/build_qmjxkhcjwnbhb.json diff --git a/vmlib/worlds/tutorial/tutorial-2/data/build_r7e4b8cvf0hk7/build_r7e4b8cvf0hk7.json b/vmlib/worlds/tutorial/tutorial-3/data/build_r7e4b8cvf0hk7/build_r7e4b8cvf0hk7.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/data/build_r7e4b8cvf0hk7/build_r7e4b8cvf0hk7.json rename to vmlib/worlds/tutorial/tutorial-3/data/build_r7e4b8cvf0hk7/build_r7e4b8cvf0hk7.json diff --git a/vmlib/worlds/tutorial/tutorial-2/data/build_uu8u87ua76wp0/build_uu8u87ua76wp0.json b/vmlib/worlds/tutorial/tutorial-3/data/build_uu8u87ua76wp0/build_uu8u87ua76wp0.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/data/build_uu8u87ua76wp0/build_uu8u87ua76wp0.json rename to vmlib/worlds/tutorial/tutorial-3/data/build_uu8u87ua76wp0/build_uu8u87ua76wp0.json diff --git a/vmlib/worlds/tutorial/tutorial-2/data/build_wevpat48mxjhe/build_wevpat48mxjhe.json b/vmlib/worlds/tutorial/tutorial-3/data/build_wevpat48mxjhe/build_wevpat48mxjhe.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/data/build_wevpat48mxjhe/build_wevpat48mxjhe.json rename to vmlib/worlds/tutorial/tutorial-3/data/build_wevpat48mxjhe/build_wevpat48mxjhe.json diff --git a/vmlib/worlds/tutorial/tutorial-2/data/build_zdvcvo11pyd20/build_zdvcvo11pyd20.json b/vmlib/worlds/tutorial/tutorial-3/data/build_zdvcvo11pyd20/build_zdvcvo11pyd20.json similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/data/build_zdvcvo11pyd20/build_zdvcvo11pyd20.json rename to vmlib/worlds/tutorial/tutorial-3/data/build_zdvcvo11pyd20/build_zdvcvo11pyd20.json diff --git a/vmlib/worlds/tutorial/tutorial-3/level.json b/vmlib/worlds/tutorial/tutorial-3/level.json index b177e772..358a07d8 100644 --- a/vmlib/worlds/tutorial/tutorial-3/level.json +++ b/vmlib/worlds/tutorial/tutorial-3/level.json @@ -1,4 +1,4 @@ { - "enu_version": "v0.1.99-205-g6f51bcb6", + "enu_version": "v0.1.99-201-g2c6fd644", "format_version": "v0.9.2" } \ No newline at end of file diff --git a/vmlib/worlds/tutorial/tutorial-2/scripts/build_0kqsf4kugz22b.nim b/vmlib/worlds/tutorial/tutorial-3/scripts/build_0kqsf4kugz22b.nim similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/scripts/build_0kqsf4kugz22b.nim rename to vmlib/worlds/tutorial/tutorial-3/scripts/build_0kqsf4kugz22b.nim diff --git a/vmlib/worlds/tutorial/tutorial-2/scripts/build_2evt18x9goyxs.nim b/vmlib/worlds/tutorial/tutorial-3/scripts/build_2evt18x9goyxs.nim similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/scripts/build_2evt18x9goyxs.nim rename to vmlib/worlds/tutorial/tutorial-3/scripts/build_2evt18x9goyxs.nim diff --git a/vmlib/worlds/tutorial/tutorial-2/scripts/build_7acqeexn0l7r2.nim b/vmlib/worlds/tutorial/tutorial-3/scripts/build_7acqeexn0l7r2.nim similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/scripts/build_7acqeexn0l7r2.nim rename to vmlib/worlds/tutorial/tutorial-3/scripts/build_7acqeexn0l7r2.nim diff --git a/vmlib/worlds/tutorial/tutorial-2/scripts/build_8lap32sqeqlok.nim b/vmlib/worlds/tutorial/tutorial-3/scripts/build_8lap32sqeqlok.nim similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/scripts/build_8lap32sqeqlok.nim rename to vmlib/worlds/tutorial/tutorial-3/scripts/build_8lap32sqeqlok.nim diff --git a/vmlib/worlds/tutorial/tutorial-2/scripts/build_9mcxd85a34ph6.nim b/vmlib/worlds/tutorial/tutorial-3/scripts/build_9mcxd85a34ph6.nim similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/scripts/build_9mcxd85a34ph6.nim rename to vmlib/worlds/tutorial/tutorial-3/scripts/build_9mcxd85a34ph6.nim diff --git a/vmlib/worlds/tutorial/tutorial-2/scripts/build_em5344si3j457.nim b/vmlib/worlds/tutorial/tutorial-3/scripts/build_em5344si3j457.nim similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/scripts/build_em5344si3j457.nim rename to vmlib/worlds/tutorial/tutorial-3/scripts/build_em5344si3j457.nim diff --git a/vmlib/worlds/tutorial/tutorial-2/scripts/build_f4qf20mu45gj8.nim b/vmlib/worlds/tutorial/tutorial-3/scripts/build_f4qf20mu45gj8.nim similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/scripts/build_f4qf20mu45gj8.nim rename to vmlib/worlds/tutorial/tutorial-3/scripts/build_f4qf20mu45gj8.nim diff --git a/vmlib/worlds/tutorial/tutorial-2/scripts/build_fsued2iao7tij.nim b/vmlib/worlds/tutorial/tutorial-3/scripts/build_fsued2iao7tij.nim similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/scripts/build_fsued2iao7tij.nim rename to vmlib/worlds/tutorial/tutorial-3/scripts/build_fsued2iao7tij.nim diff --git a/vmlib/worlds/tutorial/tutorial-2/scripts/build_hiywqqyzha3r9.nim b/vmlib/worlds/tutorial/tutorial-3/scripts/build_hiywqqyzha3r9.nim similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/scripts/build_hiywqqyzha3r9.nim rename to vmlib/worlds/tutorial/tutorial-3/scripts/build_hiywqqyzha3r9.nim diff --git a/vmlib/worlds/tutorial/tutorial-2/scripts/build_inajs92yvpeo2.nim b/vmlib/worlds/tutorial/tutorial-3/scripts/build_inajs92yvpeo2.nim similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/scripts/build_inajs92yvpeo2.nim rename to vmlib/worlds/tutorial/tutorial-3/scripts/build_inajs92yvpeo2.nim diff --git a/vmlib/worlds/tutorial/tutorial-2/scripts/build_m64zp4mnhqib3.nim b/vmlib/worlds/tutorial/tutorial-3/scripts/build_m64zp4mnhqib3.nim similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/scripts/build_m64zp4mnhqib3.nim rename to vmlib/worlds/tutorial/tutorial-3/scripts/build_m64zp4mnhqib3.nim diff --git a/vmlib/worlds/tutorial/tutorial-2/scripts/build_m6d84ocmrei97.nim b/vmlib/worlds/tutorial/tutorial-3/scripts/build_m6d84ocmrei97.nim similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/scripts/build_m6d84ocmrei97.nim rename to vmlib/worlds/tutorial/tutorial-3/scripts/build_m6d84ocmrei97.nim diff --git a/vmlib/worlds/tutorial/tutorial-2/scripts/build_p3pwvry0wznqb.nim b/vmlib/worlds/tutorial/tutorial-3/scripts/build_p3pwvry0wznqb.nim similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/scripts/build_p3pwvry0wznqb.nim rename to vmlib/worlds/tutorial/tutorial-3/scripts/build_p3pwvry0wznqb.nim diff --git a/vmlib/worlds/tutorial/tutorial-2/scripts/build_p3rokg2vii39x.nim b/vmlib/worlds/tutorial/tutorial-3/scripts/build_p3rokg2vii39x.nim similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/scripts/build_p3rokg2vii39x.nim rename to vmlib/worlds/tutorial/tutorial-3/scripts/build_p3rokg2vii39x.nim diff --git a/vmlib/worlds/tutorial/tutorial-2/scripts/build_qmjxkhcjwnbhb.nim b/vmlib/worlds/tutorial/tutorial-3/scripts/build_qmjxkhcjwnbhb.nim similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/scripts/build_qmjxkhcjwnbhb.nim rename to vmlib/worlds/tutorial/tutorial-3/scripts/build_qmjxkhcjwnbhb.nim diff --git a/vmlib/worlds/tutorial/tutorial-2/scripts/build_r7e4b8cvf0hk7.nim b/vmlib/worlds/tutorial/tutorial-3/scripts/build_r7e4b8cvf0hk7.nim similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/scripts/build_r7e4b8cvf0hk7.nim rename to vmlib/worlds/tutorial/tutorial-3/scripts/build_r7e4b8cvf0hk7.nim diff --git a/vmlib/worlds/tutorial/tutorial-2/scripts/build_uu8u87ua76wp0.nim b/vmlib/worlds/tutorial/tutorial-3/scripts/build_uu8u87ua76wp0.nim similarity index 100% rename from vmlib/worlds/tutorial/tutorial-2/scripts/build_uu8u87ua76wp0.nim rename to vmlib/worlds/tutorial/tutorial-3/scripts/build_uu8u87ua76wp0.nim diff --git a/vmlib/worlds/tutorial/tutorial-2/scripts/build_zdvcvo11pyd20.nim b/vmlib/worlds/tutorial/tutorial-3/scripts/build_zdvcvo11pyd20.nim similarity index 85% rename from vmlib/worlds/tutorial/tutorial-2/scripts/build_zdvcvo11pyd20.nim rename to vmlib/worlds/tutorial/tutorial-3/scripts/build_zdvcvo11pyd20.nim index 95ab9593..748c24cc 100644 --- a/vmlib/worlds/tutorial/tutorial-2/scripts/build_zdvcvo11pyd20.nim +++ b/vmlib/worlds/tutorial/tutorial-3/scripts/build_zdvcvo11pyd20.nim @@ -3,14 +3,14 @@ proc restart* = player.open_sign = nil player.position = start_spot player.rotation = 180 - + proc stop_playing* = player.playing = false player.running = false proc level_menu*(me: Build, show_restart = true) = let blurb = "`Inky: Isolation` is a simple survivial game created in Enu. You can see how it was made in the video [Inky: Isolation. A 90 minute game built with Enu and Nim](https://youtu.be/9e9sLsmsu_o)" - + let copy = \""" # Inky: Isolation @@ -20,7 +20,7 @@ proc level_menu*(me: Build, show_restart = true) = - CLICK TO OPEN MENU """ - + me.right 3 let sign1 = me.say(copy, width = 4, height = 2, size = 200) @@ -31,20 +31,20 @@ proc level_menu*(me: Build, show_restart = true) = let sign2 = me.say(copy, width = 4, height = 2, size = 200) me.left 3 - + forever: - let return_action = if show_restart: - "- [RETURN TO START]()" + let return_action = if show_restart: + "- [RETURN TO START]()" else: "" - + let toolbar_action = if player.playing: "- [SHOW TOOLBAR AND STOP PLAYING]()" else: "" - + let more = \""" - + # Menu {blurb} @@ -53,7 +53,9 @@ proc level_menu*(me: Build, show_restart = true) = {return_action} -- [LOAD TUTORIAL]() +- [LOAD TUTORIAL]() + +- [LOAD EXAMPLES]() - [CLEAR CHANGES AND RESET LEVEL]() @@ -61,6 +63,6 @@ proc level_menu*(me: Build, show_restart = true) = sign1.more = more sign2.more = more sleep 1 - + level_menu(me)