incanto 0.70.0 → 0.71.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/bin/incanto-verify.mjs +36 -98
  2. package/dist/2d.d.ts +18 -3
  3. package/dist/2d.js +3 -3
  4. package/dist/3d.d.ts +3 -3
  5. package/dist/3d.js +6 -6
  6. package/dist/{agent8-CmNF01gA.js → agent8-Cfmd3ar_.js} +1 -1
  7. package/dist/{audio-player-DaMxqfNE.d.ts → audio-player-L8yccdMP.d.ts} +1 -1
  8. package/dist/{behavior-DZExDn9o.d.ts → behavior-Dcz0fr1S.d.ts} +11 -0
  9. package/dist/{create-game-Bwvh6q8A.js → create-game-CH4kt78v.js} +7 -7
  10. package/dist/{create-game-C7ffQWW7.js → create-game-LCHBLfA4.js} +7 -7
  11. package/dist/debug.d.ts +1 -1
  12. package/dist/editor.js +29 -25
  13. package/dist/{environment-presets-D6Q5BxeE.js → environment-presets-99BzP_L-.js} +3 -3
  14. package/dist/{frame-report-Dlq13Gyj.js → frame-report-D-_7YF2G.js} +1 -1
  15. package/dist/{gameplay-BfHkuzVb.js → gameplay-CNULJvwh.js} +108 -6
  16. package/dist/gameplay.d.ts +68 -4
  17. package/dist/gameplay.js +2 -2
  18. package/dist/index.d.ts +27 -4
  19. package/dist/index.js +4 -4
  20. package/dist/{loader-Cff09LMm.d.ts → loader-8-IHvbKD.d.ts} +1 -1
  21. package/dist/net.d.ts +2 -2
  22. package/dist/net.js +2 -2
  23. package/dist/{physics-2d-CE0Qvy3V.js → physics-2d-FhrXUc6B.js} +2 -2
  24. package/dist/{physics-3d-CpH-2gn5.js → physics-3d-CFEGxBXZ.js} +3 -3
  25. package/dist/{picking-CQJ_PJKh.js → picking-DVo7fI13.js} +3 -3
  26. package/dist/react.d.ts +1 -1
  27. package/dist/react.js +1 -1
  28. package/dist/{register-Bkk0wSDB.js → register-BYQCBySi.js} +100 -8
  29. package/dist/{register-6DYnKZcy.js → register-DuVdzxbq.js} +49 -15
  30. package/dist/{replay-DjAkAzMq.js → replay-DEvp3kyV.js} +2 -2
  31. package/dist/{replay-Dmw-PKQu.d.ts → replay-F7IZHdFR.d.ts} +1 -1
  32. package/dist/{save-slots-BXVg148r.js → save-slots-Bvuh2p_r.js} +56 -3
  33. package/dist/{split-screen--k-XpBjr.d.ts → split-screen-CIYf1zSf.d.ts} +2 -2
  34. package/dist/{split-screen-PL78oVXP.js → split-screen-eULetcg-.js} +3 -3
  35. package/dist/{src-Cxfiv1Hg.js → src-_jk0qLsS.js} +1 -1
  36. package/dist/{test-iHYVUcDK.js → test-CmN54kWv.js} +252 -24
  37. package/dist/test.d.ts +113 -5
  38. package/dist/test.js +3 -3
  39. package/dist/vite.js +3 -3
  40. package/editor/assets/{agent8-D0MS174y.js → agent8-yLIEYHbd.js} +1 -1
  41. package/editor/assets/{debug-BnXkKuYu.js → debug-u31w_yhq.js} +1 -1
  42. package/editor/assets/{index-CIu3uc3l.js → index-DK9xMGpW.js} +94 -94
  43. package/editor/index.html +1 -1
  44. package/package.json +1 -1
  45. package/schemas/scene.schema.json +4 -0
  46. package/skills/incanto-behaviors-and-scripts.md +30 -9
  47. package/skills/incanto-building-2d-games.md +20 -2
  48. package/skills/incanto-gameplay-behaviors.md +63 -1
  49. package/skills/incanto-hud.md +14 -0
  50. package/skills/incanto-node-reference.md +18 -2
  51. package/skills/incanto-playtesting.md +34 -0
  52. package/skills/incanto-save-slots.md +56 -1
  53. package/skills/incanto-verifying-your-game.md +11 -0
  54. package/templates-app/beacon-isle-3d/package.json +1 -1
  55. package/templates-app/beacon-isle-3d/src/game.scene.json +44 -226
  56. package/templates-app/molehill-2d/package.json +1 -1
  57. package/templates-app/molehill-2d/src/game.scene.json +10 -60
  58. package/templates-app/platformer-2d/package.json +1 -1
  59. package/templates-app/platformer-2d/src/game.scene.json +80 -416
  60. package/templates-app/star-survivor/package.json +1 -1
  61. package/templates-app/star-survivor/src/game.scene.json +5 -24
  62. package/templates-app/tps-3d/package.json +1 -1
  63. package/templates-app/tps-3d/src/game.scene.json +13 -71
  64. package/templates-app/village-quest-3d/package.json +1 -1
  65. package/templates-app/village-quest-3d/src/behaviors.ts +21 -4
  66. package/templates-app/village-quest-3d/src/grove.scene.json +16 -87
  67. package/templates-app/village-quest-3d/src/village.scene.json +5 -27
@@ -83,12 +83,7 @@
83
83
  {
84
84
  "name": "Surface",
85
85
  "type": "Terrain3D",
86
- "props": {
87
- "size": [240, 240],
88
- "maxHeight": 2.66,
89
- "seed": 7411,
90
- "theme": "island"
91
- }
86
+ "props": { "size": [240, 240], "maxHeight": 2.66, "seed": 7411, "theme": "island" }
92
87
  }
93
88
  ]
94
89
  },
@@ -1234,83 +1229,47 @@
1234
1229
  {
1235
1230
  "name": "Flowers1",
1236
1231
  "type": "Flowers3D",
1237
- "props": {
1238
- "position": [33.23, 14.62, 36.95],
1239
- "area": [12, 12],
1240
- "seed": 357653252
1241
- }
1232
+ "props": { "position": [33.23, 14.62, 36.95], "area": [12, 12], "seed": 357653252 }
1242
1233
  },
1243
1234
  {
1244
1235
  "name": "Flowers2",
1245
1236
  "type": "Flowers3D",
1246
- "props": {
1247
- "position": [-82.3, 19.31, -38.23],
1248
- "area": [12, 12],
1249
- "seed": 398696966
1250
- }
1237
+ "props": { "position": [-82.3, 19.31, -38.23], "area": [12, 12], "seed": 398696966 }
1251
1238
  },
1252
1239
  {
1253
1240
  "name": "Flowers3",
1254
1241
  "type": "Flowers3D",
1255
- "props": {
1256
- "position": [-33.36, 18.6, 50.95],
1257
- "area": [12, 12],
1258
- "seed": 400708434
1259
- }
1242
+ "props": { "position": [-33.36, 18.6, 50.95], "area": [12, 12], "seed": 400708434 }
1260
1243
  },
1261
1244
  {
1262
1245
  "name": "Flowers4",
1263
1246
  "type": "Flowers3D",
1264
- "props": {
1265
- "position": [-9.78, 17.14, 45.89],
1266
- "area": [12, 12],
1267
- "seed": 575315232
1268
- }
1247
+ "props": { "position": [-9.78, 17.14, 45.89], "area": [12, 12], "seed": 575315232 }
1269
1248
  },
1270
1249
  {
1271
1250
  "name": "Flowers5",
1272
1251
  "type": "Flowers3D",
1273
- "props": {
1274
- "position": [55.02, 13.26, 39.6],
1275
- "area": [12, 12],
1276
- "seed": 73428741
1277
- }
1252
+ "props": { "position": [55.02, 13.26, 39.6], "area": [12, 12], "seed": 73428741 }
1278
1253
  },
1279
1254
  {
1280
1255
  "name": "Flowers6",
1281
1256
  "type": "Flowers3D",
1282
- "props": {
1283
- "position": [-49.05, 16.91, -30.14],
1284
- "area": [12, 12],
1285
- "seed": 258165764
1286
- }
1257
+ "props": { "position": [-49.05, 16.91, -30.14], "area": [12, 12], "seed": 258165764 }
1287
1258
  },
1288
1259
  {
1289
1260
  "name": "Flowers7",
1290
1261
  "type": "Flowers3D",
1291
- "props": {
1292
- "position": [17.86, 16.44, 76.99],
1293
- "area": [12, 12],
1294
- "seed": 22178236
1295
- }
1262
+ "props": { "position": [17.86, 16.44, 76.99], "area": [12, 12], "seed": 22178236 }
1296
1263
  },
1297
1264
  {
1298
1265
  "name": "Flowers8",
1299
1266
  "type": "Flowers3D",
1300
- "props": {
1301
- "position": [-5.95, 13.7, -35.97],
1302
- "area": [12, 12],
1303
- "seed": 359604670
1304
- }
1267
+ "props": { "position": [-5.95, 13.7, -35.97], "area": [12, 12], "seed": 359604670 }
1305
1268
  },
1306
1269
  {
1307
1270
  "name": "Flowers9",
1308
1271
  "type": "Flowers3D",
1309
- "props": {
1310
- "position": [-51.11, 18.29, -4.34],
1311
- "area": [12, 12],
1312
- "seed": 723951523
1313
- }
1272
+ "props": { "position": [-51.11, 18.29, -4.34], "area": [12, 12], "seed": 723951523 }
1314
1273
  },
1315
1274
  {
1316
1275
  "name": "ShoreRocks",
@@ -1421,11 +1380,7 @@
1421
1380
  "mesh": "gem",
1422
1381
  "size": [0.9, 1.4, 0.9],
1423
1382
  "position": [0, 11.6, 0],
1424
- "material": {
1425
- "color": "#fff2c4",
1426
- "emissive": "#ffd982",
1427
- "emissiveIntensity": 2.2
1428
- }
1383
+ "material": { "color": "#fff2c4", "emissive": "#ffd982", "emissiveIntensity": 2.2 }
1429
1384
  }
1430
1385
  },
1431
1386
  {
@@ -1444,10 +1399,7 @@
1444
1399
  "name": "Keeper",
1445
1400
  "type": "Node3D",
1446
1401
  "props": { "position": [-16.5, 17.85, 61.5], "snapToGround": false },
1447
- "script": {
1448
- "name": "Interactable",
1449
- "props": { "action": "interact", "range": 3 }
1450
- },
1402
+ "script": { "name": "Interactable", "props": { "action": "interact", "range": 3 } },
1451
1403
  "children": [
1452
1404
  {
1453
1405
  "name": "Body",
@@ -1549,12 +1501,7 @@
1549
1501
  {
1550
1502
  "name": "Glow",
1551
1503
  "type": "OmniLight3D",
1552
- "props": {
1553
- "position": [0, 2, 0],
1554
- "color": "#7fe3ff",
1555
- "intensity": 0,
1556
- "range": 16
1557
- }
1504
+ "props": { "position": [0, 2, 0], "color": "#7fe3ff", "intensity": 0, "range": 16 }
1558
1505
  },
1559
1506
  {
1560
1507
  "name": "LitFx",
@@ -1629,12 +1576,7 @@
1629
1576
  {
1630
1577
  "name": "Glow",
1631
1578
  "type": "OmniLight3D",
1632
- "props": {
1633
- "position": [0, 2, 0],
1634
- "color": "#7fe3ff",
1635
- "intensity": 0,
1636
- "range": 16
1637
- }
1579
+ "props": { "position": [0, 2, 0], "color": "#7fe3ff", "intensity": 0, "range": 16 }
1638
1580
  },
1639
1581
  {
1640
1582
  "name": "LitFx",
@@ -1709,12 +1651,7 @@
1709
1651
  {
1710
1652
  "name": "Glow",
1711
1653
  "type": "OmniLight3D",
1712
- "props": {
1713
- "position": [0, 2, 0],
1714
- "color": "#7fe3ff",
1715
- "intensity": 0,
1716
- "range": 16
1717
- }
1654
+ "props": { "position": [0, 2, 0], "color": "#7fe3ff", "intensity": 0, "range": 16 }
1718
1655
  },
1719
1656
  {
1720
1657
  "name": "LitFx",
@@ -1772,11 +1709,7 @@
1772
1709
  "mesh": "gem",
1773
1710
  "size": [0.3, 0.46, 0.3],
1774
1711
  "position": [0, 0.58, 0],
1775
- "material": {
1776
- "color": "#0e0e1e",
1777
- "emissive": "#241a5e",
1778
- "emissiveIntensity": 0.4
1779
- }
1712
+ "material": { "color": "#0e0e1e", "emissive": "#241a5e", "emissiveIntensity": 0.4 }
1780
1713
  }
1781
1714
  },
1782
1715
  {
@@ -1786,11 +1719,7 @@
1786
1719
  "mesh": "sphere",
1787
1720
  "size": [0.05, 0.05, 0.05],
1788
1721
  "position": [-0.09, 0.6, 0.24],
1789
- "material": {
1790
- "color": "#ff4466",
1791
- "emissive": "#ff4466",
1792
- "emissiveIntensity": 2.4
1793
- }
1722
+ "material": { "color": "#ff4466", "emissive": "#ff4466", "emissiveIntensity": 2.4 }
1794
1723
  }
1795
1724
  },
1796
1725
  {
@@ -1800,11 +1729,7 @@
1800
1729
  "mesh": "sphere",
1801
1730
  "size": [0.05, 0.05, 0.05],
1802
1731
  "position": [0.09, 0.6, 0.24],
1803
- "material": {
1804
- "color": "#ff4466",
1805
- "emissive": "#ff4466",
1806
- "emissiveIntensity": 2.4
1807
- }
1732
+ "material": { "color": "#ff4466", "emissive": "#ff4466", "emissiveIntensity": 2.4 }
1808
1733
  }
1809
1734
  },
1810
1735
  {
@@ -1881,11 +1806,7 @@
1881
1806
  "mesh": "gem",
1882
1807
  "size": [0.3, 0.46, 0.3],
1883
1808
  "position": [0, 0.58, 0],
1884
- "material": {
1885
- "color": "#0e0e1e",
1886
- "emissive": "#241a5e",
1887
- "emissiveIntensity": 0.4
1888
- }
1809
+ "material": { "color": "#0e0e1e", "emissive": "#241a5e", "emissiveIntensity": 0.4 }
1889
1810
  }
1890
1811
  },
1891
1812
  {
@@ -1895,11 +1816,7 @@
1895
1816
  "mesh": "sphere",
1896
1817
  "size": [0.05, 0.05, 0.05],
1897
1818
  "position": [-0.09, 0.6, 0.24],
1898
- "material": {
1899
- "color": "#ff4466",
1900
- "emissive": "#ff4466",
1901
- "emissiveIntensity": 2.4
1902
- }
1819
+ "material": { "color": "#ff4466", "emissive": "#ff4466", "emissiveIntensity": 2.4 }
1903
1820
  }
1904
1821
  },
1905
1822
  {
@@ -1909,11 +1826,7 @@
1909
1826
  "mesh": "sphere",
1910
1827
  "size": [0.05, 0.05, 0.05],
1911
1828
  "position": [0.09, 0.6, 0.24],
1912
- "material": {
1913
- "color": "#ff4466",
1914
- "emissive": "#ff4466",
1915
- "emissiveIntensity": 2.4
1916
- }
1829
+ "material": { "color": "#ff4466", "emissive": "#ff4466", "emissiveIntensity": 2.4 }
1917
1830
  }
1918
1831
  },
1919
1832
  {
@@ -1990,11 +1903,7 @@
1990
1903
  "mesh": "gem",
1991
1904
  "size": [0.3, 0.46, 0.3],
1992
1905
  "position": [0, 0.58, 0],
1993
- "material": {
1994
- "color": "#0e0e1e",
1995
- "emissive": "#241a5e",
1996
- "emissiveIntensity": 0.4
1997
- }
1906
+ "material": { "color": "#0e0e1e", "emissive": "#241a5e", "emissiveIntensity": 0.4 }
1998
1907
  }
1999
1908
  },
2000
1909
  {
@@ -2004,11 +1913,7 @@
2004
1913
  "mesh": "sphere",
2005
1914
  "size": [0.05, 0.05, 0.05],
2006
1915
  "position": [-0.09, 0.6, 0.24],
2007
- "material": {
2008
- "color": "#ff4466",
2009
- "emissive": "#ff4466",
2010
- "emissiveIntensity": 2.4
2011
- }
1916
+ "material": { "color": "#ff4466", "emissive": "#ff4466", "emissiveIntensity": 2.4 }
2012
1917
  }
2013
1918
  },
2014
1919
  {
@@ -2018,11 +1923,7 @@
2018
1923
  "mesh": "sphere",
2019
1924
  "size": [0.05, 0.05, 0.05],
2020
1925
  "position": [0.09, 0.6, 0.24],
2021
- "material": {
2022
- "color": "#ff4466",
2023
- "emissive": "#ff4466",
2024
- "emissiveIntensity": 2.4
2025
- }
1926
+ "material": { "color": "#ff4466", "emissive": "#ff4466", "emissiveIntensity": 2.4 }
2026
1927
  }
2027
1928
  },
2028
1929
  {
@@ -2099,11 +2000,7 @@
2099
2000
  "mesh": "gem",
2100
2001
  "size": [0.3, 0.46, 0.3],
2101
2002
  "position": [0, 0.58, 0],
2102
- "material": {
2103
- "color": "#0e0e1e",
2104
- "emissive": "#241a5e",
2105
- "emissiveIntensity": 0.4
2106
- }
2003
+ "material": { "color": "#0e0e1e", "emissive": "#241a5e", "emissiveIntensity": 0.4 }
2107
2004
  }
2108
2005
  },
2109
2006
  {
@@ -2113,11 +2010,7 @@
2113
2010
  "mesh": "sphere",
2114
2011
  "size": [0.05, 0.05, 0.05],
2115
2012
  "position": [-0.09, 0.6, 0.24],
2116
- "material": {
2117
- "color": "#ff4466",
2118
- "emissive": "#ff4466",
2119
- "emissiveIntensity": 2.4
2120
- }
2013
+ "material": { "color": "#ff4466", "emissive": "#ff4466", "emissiveIntensity": 2.4 }
2121
2014
  }
2122
2015
  },
2123
2016
  {
@@ -2127,11 +2020,7 @@
2127
2020
  "mesh": "sphere",
2128
2021
  "size": [0.05, 0.05, 0.05],
2129
2022
  "position": [0.09, 0.6, 0.24],
2130
- "material": {
2131
- "color": "#ff4466",
2132
- "emissive": "#ff4466",
2133
- "emissiveIntensity": 2.4
2134
- }
2023
+ "material": { "color": "#ff4466", "emissive": "#ff4466", "emissiveIntensity": 2.4 }
2135
2024
  }
2136
2025
  },
2137
2026
  {
@@ -2208,11 +2097,7 @@
2208
2097
  "mesh": "gem",
2209
2098
  "size": [0.3, 0.46, 0.3],
2210
2099
  "position": [0, 0.58, 0],
2211
- "material": {
2212
- "color": "#0e0e1e",
2213
- "emissive": "#241a5e",
2214
- "emissiveIntensity": 0.4
2215
- }
2100
+ "material": { "color": "#0e0e1e", "emissive": "#241a5e", "emissiveIntensity": 0.4 }
2216
2101
  }
2217
2102
  },
2218
2103
  {
@@ -2222,11 +2107,7 @@
2222
2107
  "mesh": "sphere",
2223
2108
  "size": [0.05, 0.05, 0.05],
2224
2109
  "position": [-0.09, 0.6, 0.24],
2225
- "material": {
2226
- "color": "#ff4466",
2227
- "emissive": "#ff4466",
2228
- "emissiveIntensity": 2.4
2229
- }
2110
+ "material": { "color": "#ff4466", "emissive": "#ff4466", "emissiveIntensity": 2.4 }
2230
2111
  }
2231
2112
  },
2232
2113
  {
@@ -2236,11 +2117,7 @@
2236
2117
  "mesh": "sphere",
2237
2118
  "size": [0.05, 0.05, 0.05],
2238
2119
  "position": [0.09, 0.6, 0.24],
2239
- "material": {
2240
- "color": "#ff4466",
2241
- "emissive": "#ff4466",
2242
- "emissiveIntensity": 2.4
2243
- }
2120
+ "material": { "color": "#ff4466", "emissive": "#ff4466", "emissiveIntensity": 2.4 }
2244
2121
  }
2245
2122
  },
2246
2123
  {
@@ -2317,11 +2194,7 @@
2317
2194
  "mesh": "gem",
2318
2195
  "size": [0.3, 0.46, 0.3],
2319
2196
  "position": [0, 0.58, 0],
2320
- "material": {
2321
- "color": "#0e0e1e",
2322
- "emissive": "#241a5e",
2323
- "emissiveIntensity": 0.4
2324
- }
2197
+ "material": { "color": "#0e0e1e", "emissive": "#241a5e", "emissiveIntensity": 0.4 }
2325
2198
  }
2326
2199
  },
2327
2200
  {
@@ -2331,11 +2204,7 @@
2331
2204
  "mesh": "sphere",
2332
2205
  "size": [0.05, 0.05, 0.05],
2333
2206
  "position": [-0.09, 0.6, 0.24],
2334
- "material": {
2335
- "color": "#ff4466",
2336
- "emissive": "#ff4466",
2337
- "emissiveIntensity": 2.4
2338
- }
2207
+ "material": { "color": "#ff4466", "emissive": "#ff4466", "emissiveIntensity": 2.4 }
2339
2208
  }
2340
2209
  },
2341
2210
  {
@@ -2345,11 +2214,7 @@
2345
2214
  "mesh": "sphere",
2346
2215
  "size": [0.05, 0.05, 0.05],
2347
2216
  "position": [0.09, 0.6, 0.24],
2348
- "material": {
2349
- "color": "#ff4466",
2350
- "emissive": "#ff4466",
2351
- "emissiveIntensity": 2.4
2352
- }
2217
+ "material": { "color": "#ff4466", "emissive": "#ff4466", "emissiveIntensity": 2.4 }
2353
2218
  }
2354
2219
  },
2355
2220
  {
@@ -2499,11 +2364,7 @@
2499
2364
  "type": "AudioPlayer",
2500
2365
  "props": { "preset": "shoot", "volume": 0.35, "pitch": 0.55 }
2501
2366
  },
2502
- {
2503
- "name": "HitSfx",
2504
- "type": "AudioPlayer",
2505
- "props": { "preset": "hit", "volume": 0.6 }
2506
- }
2367
+ { "name": "HitSfx", "type": "AudioPlayer", "props": { "preset": "hit", "volume": 0.6 } }
2507
2368
  ]
2508
2369
  },
2509
2370
  {
@@ -2524,11 +2385,7 @@
2524
2385
  "name": "Boss",
2525
2386
  "type": "Node3D",
2526
2387
  "groups": ["boss"],
2527
- "props": {
2528
- "visible": false,
2529
- "snapToGround": false,
2530
- "position": [-0.5, 16.87, 47.5]
2531
- },
2388
+ "props": { "visible": false, "snapToGround": false, "position": [-0.5, 16.87, 47.5] },
2532
2389
  "script": { "name": "PathFollow", "props": { "speed": 2, "loop": false } },
2533
2390
  "children": [
2534
2391
  {
@@ -2570,11 +2427,7 @@
2570
2427
  "mesh": "sphere",
2571
2428
  "size": [0.16, 0.16, 0.16],
2572
2429
  "position": [-0.34, 4.4, 0.8],
2573
- "material": {
2574
- "color": "#ff2f6b",
2575
- "emissive": "#ff2f6b",
2576
- "emissiveIntensity": 4
2577
- }
2430
+ "material": { "color": "#ff2f6b", "emissive": "#ff2f6b", "emissiveIntensity": 4 }
2578
2431
  }
2579
2432
  },
2580
2433
  {
@@ -2584,11 +2437,7 @@
2584
2437
  "mesh": "sphere",
2585
2438
  "size": [0.16, 0.16, 0.16],
2586
2439
  "position": [0.34, 4.4, 0.8],
2587
- "material": {
2588
- "color": "#ff2f6b",
2589
- "emissive": "#ff2f6b",
2590
- "emissiveIntensity": 4
2591
- }
2440
+ "material": { "color": "#ff2f6b", "emissive": "#ff2f6b", "emissiveIntensity": 4 }
2592
2441
  }
2593
2442
  },
2594
2443
  {
@@ -2599,11 +2448,7 @@
2599
2448
  "size": [0.4, 2, 0.4],
2600
2449
  "position": [-1.5, 2.6, 0],
2601
2450
  "rotation": [0, 0, 18],
2602
- "material": {
2603
- "color": "#171130",
2604
- "emissive": "#41288f",
2605
- "emissiveIntensity": 0.5
2606
- },
2451
+ "material": { "color": "#171130", "emissive": "#41288f", "emissiveIntensity": 0.5 },
2607
2452
  "castShadow": true
2608
2453
  }
2609
2454
  },
@@ -2615,23 +2460,14 @@
2615
2460
  "size": [0.4, 2, 0.4],
2616
2461
  "position": [1.5, 2.6, 0],
2617
2462
  "rotation": [0, 0, -18],
2618
- "material": {
2619
- "color": "#171130",
2620
- "emissive": "#41288f",
2621
- "emissiveIntensity": 0.5
2622
- },
2463
+ "material": { "color": "#171130", "emissive": "#41288f", "emissiveIntensity": 0.5 },
2623
2464
  "castShadow": true
2624
2465
  }
2625
2466
  },
2626
2467
  {
2627
2468
  "name": "EyeGlow",
2628
2469
  "type": "OmniLight3D",
2629
- "props": {
2630
- "position": [0, 4.2, 0.6],
2631
- "color": "#b46bff",
2632
- "intensity": 0,
2633
- "range": 26
2634
- }
2470
+ "props": { "position": [0, 4.2, 0.6], "color": "#b46bff", "intensity": 0, "range": 26 }
2635
2471
  },
2636
2472
  {
2637
2473
  "name": "Dread",
@@ -2682,17 +2518,9 @@
2682
2518
  {
2683
2519
  "name": "Camera",
2684
2520
  "type": "Camera3D",
2685
- "props": {
2686
- "current": true,
2687
- "far": 900,
2688
- "position": [-16.5, 23.85266860961914, 75.5]
2689
- }
2690
- },
2691
- {
2692
- "name": "WinSfx",
2693
- "type": "AudioPlayer",
2694
- "props": { "preset": "win", "volume": 0.7 }
2521
+ "props": { "current": true, "far": 900, "position": [-16.5, 23.85266860961914, 75.5] }
2695
2522
  },
2523
+ { "name": "WinSfx", "type": "AudioPlayer", "props": { "preset": "win", "volume": 0.7 } },
2696
2524
  {
2697
2525
  "name": "HUD",
2698
2526
  "type": "HudLayer",
@@ -2744,17 +2572,7 @@
2744
2572
  "uid": "n_nxftk1ep8wbi1bn9"
2745
2573
  },
2746
2574
  "connections": [
2747
- {
2748
- "signal": "interacted",
2749
- "from": "Keeper",
2750
- "to": "/root",
2751
- "handler": "onTalk"
2752
- },
2753
- {
2754
- "signal": "died",
2755
- "from": "Player",
2756
- "to": "/root",
2757
- "handler": "onPlayerDown"
2758
- }
2575
+ { "signal": "interacted", "from": "Keeper", "to": "/root", "handler": "onTalk" },
2576
+ { "signal": "died", "from": "Player", "to": "/root", "handler": "onPlayerDown" }
2759
2577
  ]
2760
2578
  }
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "@dimforge/rapier2d-compat": "0.19.3",
14
- "incanto": "^0.70.0",
14
+ "incanto": "^0.71.0",
15
15
  "three": "^0.184.0"
16
16
  },
17
17
  "devDependencies": {
@@ -1181,60 +1181,15 @@
1181
1181
  ]
1182
1182
  },
1183
1183
  "connections": [
1184
- {
1185
- "signal": "clicked",
1186
- "from": "Field/Hole00/Mole",
1187
- "to": "Field",
1188
- "handler": "onMoleClicked"
1189
- },
1190
- {
1191
- "signal": "clicked",
1192
- "from": "Field/Hole01/Mole",
1193
- "to": "Field",
1194
- "handler": "onMoleClicked"
1195
- },
1196
- {
1197
- "signal": "clicked",
1198
- "from": "Field/Hole02/Mole",
1199
- "to": "Field",
1200
- "handler": "onMoleClicked"
1201
- },
1202
- {
1203
- "signal": "clicked",
1204
- "from": "Field/Hole10/Mole",
1205
- "to": "Field",
1206
- "handler": "onMoleClicked"
1207
- },
1208
- {
1209
- "signal": "clicked",
1210
- "from": "Field/Hole11/Mole",
1211
- "to": "Field",
1212
- "handler": "onMoleClicked"
1213
- },
1214
- {
1215
- "signal": "clicked",
1216
- "from": "Field/Hole12/Mole",
1217
- "to": "Field",
1218
- "handler": "onMoleClicked"
1219
- },
1220
- {
1221
- "signal": "clicked",
1222
- "from": "Field/Hole20/Mole",
1223
- "to": "Field",
1224
- "handler": "onMoleClicked"
1225
- },
1226
- {
1227
- "signal": "clicked",
1228
- "from": "Field/Hole21/Mole",
1229
- "to": "Field",
1230
- "handler": "onMoleClicked"
1231
- },
1232
- {
1233
- "signal": "clicked",
1234
- "from": "Field/Hole22/Mole",
1235
- "to": "Field",
1236
- "handler": "onMoleClicked"
1237
- },
1184
+ { "signal": "clicked", "from": "Field/Hole00/Mole", "to": "Field", "handler": "onMoleClicked" },
1185
+ { "signal": "clicked", "from": "Field/Hole01/Mole", "to": "Field", "handler": "onMoleClicked" },
1186
+ { "signal": "clicked", "from": "Field/Hole02/Mole", "to": "Field", "handler": "onMoleClicked" },
1187
+ { "signal": "clicked", "from": "Field/Hole10/Mole", "to": "Field", "handler": "onMoleClicked" },
1188
+ { "signal": "clicked", "from": "Field/Hole11/Mole", "to": "Field", "handler": "onMoleClicked" },
1189
+ { "signal": "clicked", "from": "Field/Hole12/Mole", "to": "Field", "handler": "onMoleClicked" },
1190
+ { "signal": "clicked", "from": "Field/Hole20/Mole", "to": "Field", "handler": "onMoleClicked" },
1191
+ { "signal": "clicked", "from": "Field/Hole21/Mole", "to": "Field", "handler": "onMoleClicked" },
1192
+ { "signal": "clicked", "from": "Field/Hole22/Mole", "to": "Field", "handler": "onMoleClicked" },
1238
1193
  { "signal": "whacked", "from": "Field", "to": ".", "handler": "addScore" },
1239
1194
  { "signal": "escaped", "from": "Field", "to": ".", "handler": "loseLife" },
1240
1195
  { "signal": "whacked", "from": "Field", "to": "Whack", "handler": "play" },
@@ -1245,11 +1200,6 @@
1245
1200
  { "signal": "lost", "from": ".", "to": "Hud", "handler": "onLost" },
1246
1201
  { "signal": "won", "from": ".", "to": "Field", "handler": "stop" },
1247
1202
  { "signal": "lost", "from": ".", "to": "Field", "handler": "stop" },
1248
- {
1249
- "signal": "pressed",
1250
- "from": "Hud/Again",
1251
- "to": "Hud",
1252
- "handler": "onAgain"
1253
- }
1203
+ { "signal": "pressed", "from": "Hud/Again", "to": "Hud", "handler": "onAgain" }
1254
1204
  ]
1255
1205
  }
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "@dimforge/rapier2d-compat": "0.19.3",
14
- "incanto": "^0.70.0",
14
+ "incanto": "^0.71.0",
15
15
  "three": "^0.184.0"
16
16
  },
17
17
  "devDependencies": {