incanto 0.71.0 → 0.72.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.
- package/bin/incanto-editor.mjs +15 -9
- package/bin/incanto-feel.mjs +11 -1
- package/bin/incanto-play.mjs +11 -1
- package/bin/incanto-playtest.mjs +11 -1
- package/dist/2d.d.ts +3 -3
- package/dist/2d.js +3 -3
- package/dist/3d.d.ts +3 -3
- package/dist/3d.js +5 -5
- package/dist/{agent8-Cfmd3ar_.js → agent8-BqZ0_O1u.js} +1 -1
- package/dist/{audio-player-L8yccdMP.d.ts → audio-player-ioZ7VKC6.d.ts} +1 -1
- package/dist/{behavior-Dcz0fr1S.d.ts → behavior-Bf9P9oB2.d.ts} +1 -1
- package/dist/{create-game-CH4kt78v.js → create-game-C9rWqqAC.js} +36 -12
- package/dist/{create-game-LCHBLfA4.js → create-game-CmFAtLZp.js} +7 -6
- package/dist/debug.d.ts +1 -1
- package/dist/editor.js +1069 -1035
- package/dist/{environment-presets-99BzP_L-.js → environment-presets-BeHoaGhy.js} +3 -3
- package/dist/{gameplay-CNULJvwh.js → gameplay-BlQe-M07.js} +1 -1
- package/dist/gameplay.d.ts +1 -1
- package/dist/gameplay.js +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -4
- package/dist/{loader-8-IHvbKD.d.ts → loader-CBfQzB6S.d.ts} +10 -3
- package/dist/net.d.ts +2 -2
- package/dist/net.js +2 -2
- package/dist/{physics-2d-FhrXUc6B.js → physics-2d-DrIgTlLk.js} +2 -2
- package/dist/{physics-3d-CFEGxBXZ.js → physics-3d-BzOCw1VS.js} +3 -3
- package/dist/{picking-DVo7fI13.js → picking-C9McVJrO.js} +2 -2
- package/dist/react.d.ts +1 -1
- package/dist/react.js +1 -1
- package/dist/{register-DuVdzxbq.js → register-5IYfooAN.js} +1 -1
- package/dist/{register-BYQCBySi.js → register-C8HuRkOf.js} +3 -3
- package/dist/{replay-F7IZHdFR.d.ts → replay-CBEChqXq.d.ts} +2 -2
- package/dist/{replay-DEvp3kyV.js → replay-datiAE-b.js} +15 -8
- package/dist/{save-slots-Bvuh2p_r.js → save-slots-CEuJPUle.js} +46 -1
- package/dist/{split-screen-eULetcg-.js → split-screen-Bm5DTElG.js} +3 -3
- package/dist/{split-screen-CIYf1zSf.d.ts → split-screen-DkqLng6q.d.ts} +2 -2
- package/dist/{src-_jk0qLsS.js → src-DRSsRleD.js} +1 -1
- package/dist/{test-CmN54kWv.js → test-Djuq3Vhq.js} +13 -13
- package/dist/test.d.ts +4 -4
- package/dist/test.js +2 -2
- package/dist/vite.d.ts +8 -1
- package/dist/vite.js +22 -5
- package/editor/assets/{agent8-yLIEYHbd.js → agent8-CMKz2cax.js} +1 -1
- package/editor/assets/{debug-u31w_yhq.js → debug-DLrQm-az.js} +1 -1
- package/editor/assets/{index-DK9xMGpW.js → index-BEKuxYcE.js} +92 -92
- package/editor/index.html +1 -1
- package/package.json +1 -1
- package/skills/incanto-building-2d-games.md +6 -0
- package/skills/incanto-editor.md +4 -0
- package/skills/incanto-scene-json-authoring.md +30 -0
- package/templates-app/beacon-isle-3d/package.json +1 -1
- package/templates-app/beacon-isle-3d/src/game.scene.json +377 -185
- package/templates-app/molehill-2d/package.json +1 -1
- package/templates-app/platformer-2d/package.json +1 -1
- package/templates-app/platformer-2d/src/game.scene.json +193 -93
- package/templates-app/star-survivor/package.json +1 -1
- package/templates-app/star-survivor/src/game.scene.json +18 -9
- package/templates-app/tps-3d/package.json +1 -1
- package/templates-app/tps-3d/src/game.scene.json +82 -39
- package/templates-app/village-quest-3d/package.json +1 -1
- package/templates-app/village-quest-3d/src/grove.scene.json +98 -46
- package/templates-app/village-quest-3d/src/village.scene.json +449 -223
|
@@ -95,11 +95,13 @@
|
|
|
95
95
|
"size": [40, 0.1, 32],
|
|
96
96
|
"material": { "color": "#2f4030", "roughness": 1 },
|
|
97
97
|
"receiveShadow": true
|
|
98
|
-
}
|
|
98
|
+
},
|
|
99
|
+
"uid": "n_59iejmb7tb54ijvb"
|
|
99
100
|
}
|
|
100
|
-
]
|
|
101
|
+
],
|
|
102
|
+
"uid": "n_73otzfefdnae2iun"
|
|
101
103
|
},
|
|
102
|
-
{ "name": "Maze", "type": "Node3D" },
|
|
104
|
+
{ "name": "Maze", "type": "Node3D", "uid": "n_h177tnv2yrbka2el" },
|
|
103
105
|
{
|
|
104
106
|
"name": "Scenery",
|
|
105
107
|
"type": "Node3D",
|
|
@@ -108,22 +110,26 @@
|
|
|
108
110
|
{
|
|
109
111
|
"name": "Pine1",
|
|
110
112
|
"type": "Tree3D",
|
|
111
|
-
"props": { "position": [-18, 0, -13], "type": "conifer", "seed": 7, "height": 9 }
|
|
113
|
+
"props": { "position": [-18, 0, -13], "type": "conifer", "seed": 7, "height": 9 },
|
|
114
|
+
"uid": "n_a90mku2kgqe6o575"
|
|
112
115
|
},
|
|
113
116
|
{
|
|
114
117
|
"name": "Pine2",
|
|
115
118
|
"type": "Tree3D",
|
|
116
|
-
"props": { "position": [18, 0, -12], "type": "conifer", "seed": 13, "height": 8 }
|
|
119
|
+
"props": { "position": [18, 0, -12], "type": "conifer", "seed": 13, "height": 8 },
|
|
120
|
+
"uid": "n_ahe6c82jgxl1rwx0"
|
|
117
121
|
},
|
|
118
122
|
{
|
|
119
123
|
"name": "Pine3",
|
|
120
124
|
"type": "Tree3D",
|
|
121
|
-
"props": { "position": [-17, 0, 12], "type": "dead", "seed": 29, "height": 7 }
|
|
125
|
+
"props": { "position": [-17, 0, 12], "type": "dead", "seed": 29, "height": 7 },
|
|
126
|
+
"uid": "n_33lcyrwclvj8fvr6"
|
|
122
127
|
},
|
|
123
128
|
{
|
|
124
129
|
"name": "Pine4",
|
|
125
130
|
"type": "Tree3D",
|
|
126
|
-
"props": { "position": [17, 0, 13], "type": "conifer", "seed": 41, "height": 10 }
|
|
131
|
+
"props": { "position": [17, 0, 13], "type": "conifer", "seed": 41, "height": 10 },
|
|
132
|
+
"uid": "n_a5r1vzqmd33vfg6u"
|
|
127
133
|
},
|
|
128
134
|
{
|
|
129
135
|
"name": "Moon",
|
|
@@ -134,9 +140,11 @@
|
|
|
134
140
|
"color": "#aebaff",
|
|
135
141
|
"castShadow": true,
|
|
136
142
|
"shadowArea": 36
|
|
137
|
-
}
|
|
143
|
+
},
|
|
144
|
+
"uid": "n_t5xhyypjq9p9wo1v"
|
|
138
145
|
}
|
|
139
|
-
]
|
|
146
|
+
],
|
|
147
|
+
"uid": "n_56bk6abnoirti11a"
|
|
140
148
|
},
|
|
141
149
|
{
|
|
142
150
|
"name": "Wolves",
|
|
@@ -157,7 +165,8 @@
|
|
|
157
165
|
"position": [0, 0, 0],
|
|
158
166
|
"material": { "color": "#3b3b44", "roughness": 0.9 },
|
|
159
167
|
"castShadow": true
|
|
160
|
-
}
|
|
168
|
+
},
|
|
169
|
+
"uid": "n_hvh19izw042ftf2m"
|
|
161
170
|
},
|
|
162
171
|
{
|
|
163
172
|
"name": "Head",
|
|
@@ -168,7 +177,8 @@
|
|
|
168
177
|
"position": [0, 0.18, 0.75],
|
|
169
178
|
"material": { "color": "#46464f", "roughness": 0.9 },
|
|
170
179
|
"castShadow": true
|
|
171
|
-
}
|
|
180
|
+
},
|
|
181
|
+
"uid": "n_anixrvdunyg5ig7c"
|
|
172
182
|
},
|
|
173
183
|
{
|
|
174
184
|
"name": "EyeL",
|
|
@@ -178,7 +188,8 @@
|
|
|
178
188
|
"size": [0.07, 0.07, 0.07],
|
|
179
189
|
"position": [-0.1, 0.24, 1],
|
|
180
190
|
"material": { "color": "#ff3030", "emissive": "#ff3030", "emissiveIntensity": 2 }
|
|
181
|
-
}
|
|
191
|
+
},
|
|
192
|
+
"uid": "n_u4tnj3uob17ap973"
|
|
182
193
|
},
|
|
183
194
|
{
|
|
184
195
|
"name": "EyeR",
|
|
@@ -188,7 +199,8 @@
|
|
|
188
199
|
"size": [0.07, 0.07, 0.07],
|
|
189
200
|
"position": [0.1, 0.24, 1],
|
|
190
201
|
"material": { "color": "#ff3030", "emissive": "#ff3030", "emissiveIntensity": 2 }
|
|
191
|
-
}
|
|
202
|
+
},
|
|
203
|
+
"uid": "n_mrv3i73dzv87j2yt"
|
|
192
204
|
},
|
|
193
205
|
{
|
|
194
206
|
"name": "Tail",
|
|
@@ -200,7 +212,8 @@
|
|
|
200
212
|
"rotation": [-20, 0, 0],
|
|
201
213
|
"material": { "color": "#33333b", "roughness": 0.9 },
|
|
202
214
|
"castShadow": true
|
|
203
|
-
}
|
|
215
|
+
},
|
|
216
|
+
"uid": "n_bv1oq0stbwxsk9nx"
|
|
204
217
|
},
|
|
205
218
|
{
|
|
206
219
|
"name": "GrowlSfx",
|
|
@@ -212,7 +225,8 @@
|
|
|
212
225
|
"spatial": true,
|
|
213
226
|
"refDistance": 3,
|
|
214
227
|
"maxDistance": 24
|
|
215
|
-
}
|
|
228
|
+
},
|
|
229
|
+
"uid": "n_7pidlrhnsw3irdcq"
|
|
216
230
|
},
|
|
217
231
|
{
|
|
218
232
|
"name": "Fang",
|
|
@@ -250,7 +264,8 @@
|
|
|
250
264
|
"position": [0, 0, 0],
|
|
251
265
|
"material": { "color": "#3b3b44", "roughness": 0.9 },
|
|
252
266
|
"castShadow": true
|
|
253
|
-
}
|
|
267
|
+
},
|
|
268
|
+
"uid": "n_huh53r5qqbwpplfc"
|
|
254
269
|
},
|
|
255
270
|
{
|
|
256
271
|
"name": "Head",
|
|
@@ -261,7 +276,8 @@
|
|
|
261
276
|
"position": [0, 0.18, 0.75],
|
|
262
277
|
"material": { "color": "#46464f", "roughness": 0.9 },
|
|
263
278
|
"castShadow": true
|
|
264
|
-
}
|
|
279
|
+
},
|
|
280
|
+
"uid": "n_jcylseta88wz18vo"
|
|
265
281
|
},
|
|
266
282
|
{
|
|
267
283
|
"name": "EyeL",
|
|
@@ -271,7 +287,8 @@
|
|
|
271
287
|
"size": [0.07, 0.07, 0.07],
|
|
272
288
|
"position": [-0.1, 0.24, 1],
|
|
273
289
|
"material": { "color": "#ff3030", "emissive": "#ff3030", "emissiveIntensity": 2 }
|
|
274
|
-
}
|
|
290
|
+
},
|
|
291
|
+
"uid": "n_q2zj3obgeju2679y"
|
|
275
292
|
},
|
|
276
293
|
{
|
|
277
294
|
"name": "EyeR",
|
|
@@ -281,7 +298,8 @@
|
|
|
281
298
|
"size": [0.07, 0.07, 0.07],
|
|
282
299
|
"position": [0.1, 0.24, 1],
|
|
283
300
|
"material": { "color": "#ff3030", "emissive": "#ff3030", "emissiveIntensity": 2 }
|
|
284
|
-
}
|
|
301
|
+
},
|
|
302
|
+
"uid": "n_wy1rugrika40wywt"
|
|
285
303
|
},
|
|
286
304
|
{
|
|
287
305
|
"name": "Tail",
|
|
@@ -293,7 +311,8 @@
|
|
|
293
311
|
"rotation": [-20, 0, 0],
|
|
294
312
|
"material": { "color": "#33333b", "roughness": 0.9 },
|
|
295
313
|
"castShadow": true
|
|
296
|
-
}
|
|
314
|
+
},
|
|
315
|
+
"uid": "n_4j08hh7l0fpanx5j"
|
|
297
316
|
},
|
|
298
317
|
{
|
|
299
318
|
"name": "GrowlSfx",
|
|
@@ -305,7 +324,8 @@
|
|
|
305
324
|
"spatial": true,
|
|
306
325
|
"refDistance": 3,
|
|
307
326
|
"maxDistance": 24
|
|
308
|
-
}
|
|
327
|
+
},
|
|
328
|
+
"uid": "n_b41lz424hn6e1jh1"
|
|
309
329
|
},
|
|
310
330
|
{
|
|
311
331
|
"name": "Fang",
|
|
@@ -343,7 +363,8 @@
|
|
|
343
363
|
"position": [0, 0, 0],
|
|
344
364
|
"material": { "color": "#3b3b44", "roughness": 0.9 },
|
|
345
365
|
"castShadow": true
|
|
346
|
-
}
|
|
366
|
+
},
|
|
367
|
+
"uid": "n_mvoin4mls8z8ulg7"
|
|
347
368
|
},
|
|
348
369
|
{
|
|
349
370
|
"name": "Head",
|
|
@@ -354,7 +375,8 @@
|
|
|
354
375
|
"position": [0, 0.18, 0.75],
|
|
355
376
|
"material": { "color": "#46464f", "roughness": 0.9 },
|
|
356
377
|
"castShadow": true
|
|
357
|
-
}
|
|
378
|
+
},
|
|
379
|
+
"uid": "n_1zzgov37kapgd0rn"
|
|
358
380
|
},
|
|
359
381
|
{
|
|
360
382
|
"name": "EyeL",
|
|
@@ -364,7 +386,8 @@
|
|
|
364
386
|
"size": [0.07, 0.07, 0.07],
|
|
365
387
|
"position": [-0.1, 0.24, 1],
|
|
366
388
|
"material": { "color": "#ff3030", "emissive": "#ff3030", "emissiveIntensity": 2 }
|
|
367
|
-
}
|
|
389
|
+
},
|
|
390
|
+
"uid": "n_tfu22qlxlb2becof"
|
|
368
391
|
},
|
|
369
392
|
{
|
|
370
393
|
"name": "EyeR",
|
|
@@ -374,7 +397,8 @@
|
|
|
374
397
|
"size": [0.07, 0.07, 0.07],
|
|
375
398
|
"position": [0.1, 0.24, 1],
|
|
376
399
|
"material": { "color": "#ff3030", "emissive": "#ff3030", "emissiveIntensity": 2 }
|
|
377
|
-
}
|
|
400
|
+
},
|
|
401
|
+
"uid": "n_nhopab1x91nb3562"
|
|
378
402
|
},
|
|
379
403
|
{
|
|
380
404
|
"name": "Tail",
|
|
@@ -386,7 +410,8 @@
|
|
|
386
410
|
"rotation": [-20, 0, 0],
|
|
387
411
|
"material": { "color": "#33333b", "roughness": 0.9 },
|
|
388
412
|
"castShadow": true
|
|
389
|
-
}
|
|
413
|
+
},
|
|
414
|
+
"uid": "n_k4o3v4lkw7evrgfz"
|
|
390
415
|
},
|
|
391
416
|
{
|
|
392
417
|
"name": "GrowlSfx",
|
|
@@ -398,7 +423,8 @@
|
|
|
398
423
|
"spatial": true,
|
|
399
424
|
"refDistance": 3,
|
|
400
425
|
"maxDistance": 24
|
|
401
|
-
}
|
|
426
|
+
},
|
|
427
|
+
"uid": "n_2ph84bwixda1kbuf"
|
|
402
428
|
},
|
|
403
429
|
{
|
|
404
430
|
"name": "Fang",
|
|
@@ -421,7 +447,8 @@
|
|
|
421
447
|
],
|
|
422
448
|
"uid": "n_i8a3jrpoexdellnx"
|
|
423
449
|
}
|
|
424
|
-
]
|
|
450
|
+
],
|
|
451
|
+
"uid": "n_jcf0jbmnvgb2z0f0"
|
|
425
452
|
},
|
|
426
453
|
{
|
|
427
454
|
"name": "ReturnPortal",
|
|
@@ -440,7 +467,8 @@
|
|
|
440
467
|
"position": [0, 0.2, 0.6],
|
|
441
468
|
"material": { "color": "#5c4632", "roughness": 0.9 },
|
|
442
469
|
"castShadow": true
|
|
443
|
-
}
|
|
470
|
+
},
|
|
471
|
+
"uid": "n_b71ljsug9hl7vk4o"
|
|
444
472
|
},
|
|
445
473
|
{
|
|
446
474
|
"name": "Glow",
|
|
@@ -455,9 +483,11 @@
|
|
|
455
483
|
"emissiveIntensity": 1.4,
|
|
456
484
|
"opacity": 0.55
|
|
457
485
|
}
|
|
458
|
-
}
|
|
486
|
+
},
|
|
487
|
+
"uid": "n_lb720og0afhf0fyu"
|
|
459
488
|
}
|
|
460
|
-
]
|
|
489
|
+
],
|
|
490
|
+
"uid": "n_5n9vc6wfvxq5n57j"
|
|
461
491
|
},
|
|
462
492
|
{
|
|
463
493
|
"name": "Player",
|
|
@@ -503,7 +533,8 @@
|
|
|
503
533
|
"animation": "$anims/idle",
|
|
504
534
|
"castShadow": true,
|
|
505
535
|
"position": [0, -0.85, 0]
|
|
506
|
-
}
|
|
536
|
+
},
|
|
537
|
+
"uid": "n_qo6gca2mjspved45"
|
|
507
538
|
},
|
|
508
539
|
{
|
|
509
540
|
"name": "SwordMount",
|
|
@@ -519,7 +550,8 @@
|
|
|
519
550
|
"position": [0, 0.42, 0],
|
|
520
551
|
"material": { "color": "#d8dde8", "metalness": 0.9, "roughness": 0.25 },
|
|
521
552
|
"castShadow": true
|
|
522
|
-
}
|
|
553
|
+
},
|
|
554
|
+
"uid": "n_3g9kff8833vo3cz3"
|
|
523
555
|
},
|
|
524
556
|
{
|
|
525
557
|
"name": "Guard",
|
|
@@ -529,7 +561,8 @@
|
|
|
529
561
|
"size": [0.16, 0.04, 0.06],
|
|
530
562
|
"position": [0, 0.09, 0],
|
|
531
563
|
"material": { "color": "#8a6d3a", "metalness": 0.7, "roughness": 0.4 }
|
|
532
|
-
}
|
|
564
|
+
},
|
|
565
|
+
"uid": "n_xf7bmy20wf32orm9"
|
|
533
566
|
},
|
|
534
567
|
{
|
|
535
568
|
"name": "SwordTip",
|
|
@@ -547,19 +580,28 @@
|
|
|
547
580
|
"additive": true,
|
|
548
581
|
"emitting": false,
|
|
549
582
|
"minDistance": 0.02
|
|
550
|
-
}
|
|
583
|
+
},
|
|
584
|
+
"uid": "n_y0o189tyn7n7hwxn"
|
|
551
585
|
}
|
|
552
|
-
]
|
|
586
|
+
],
|
|
587
|
+
"uid": "n_zxht6p8wrr3vkqne"
|
|
553
588
|
}
|
|
554
|
-
]
|
|
589
|
+
],
|
|
590
|
+
"uid": "n_3bacwfb6wcybdag6"
|
|
555
591
|
},
|
|
556
592
|
{
|
|
557
593
|
"name": "SwingSfx",
|
|
558
594
|
"type": "AudioPlayer",
|
|
559
|
-
"props": { "preset": "shoot", "volume": 0.35, "pitch": 0.55 }
|
|
595
|
+
"props": { "preset": "shoot", "volume": 0.35, "pitch": 0.55 },
|
|
596
|
+
"uid": "n_t75cjece3e6vj1hu"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"name": "HitSfx",
|
|
600
|
+
"type": "AudioPlayer",
|
|
601
|
+
"props": { "preset": "hit", "volume": 0.6 },
|
|
602
|
+
"uid": "n_yzaa0j2dsxx5rbt8"
|
|
560
603
|
},
|
|
561
|
-
{ "name": "
|
|
562
|
-
{ "name": "Catch", "type": "Respawn" }
|
|
604
|
+
{ "name": "Catch", "type": "Respawn", "uid": "n_ozby55trbh9ch4gf" }
|
|
563
605
|
],
|
|
564
606
|
"script": { "name": "Health", "props": { "max": 100, "invulnerableFor": 0.8 } },
|
|
565
607
|
"uid": "n_3hp4w1vicxhqr375"
|
|
@@ -567,9 +609,15 @@
|
|
|
567
609
|
{
|
|
568
610
|
"name": "Camera",
|
|
569
611
|
"type": "Camera3D",
|
|
570
|
-
"props": { "current": true, "position": [0, 4, 19] }
|
|
612
|
+
"props": { "current": true, "position": [0, 4, 19] },
|
|
613
|
+
"uid": "n_qrf8b8vsd38eor5b"
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"name": "WinSfx",
|
|
617
|
+
"type": "AudioPlayer",
|
|
618
|
+
"props": { "preset": "win", "volume": 0.6 },
|
|
619
|
+
"uid": "n_9tzn60tx1kwgrhl3"
|
|
571
620
|
},
|
|
572
|
-
{ "name": "WinSfx", "type": "AudioPlayer", "props": { "preset": "win", "volume": 0.6 } },
|
|
573
621
|
{
|
|
574
622
|
"name": "HUD",
|
|
575
623
|
"type": "HudLayer",
|
|
@@ -612,16 +660,20 @@
|
|
|
612
660
|
{
|
|
613
661
|
"name": "PausedTitle",
|
|
614
662
|
"type": "UiText",
|
|
615
|
-
"props": { "text": "Paused", "size": 24 }
|
|
663
|
+
"props": { "text": "Paused", "size": 24 },
|
|
664
|
+
"uid": "n_ucyuyojea32g6zm4"
|
|
616
665
|
},
|
|
617
666
|
{
|
|
618
667
|
"name": "ResumeHint",
|
|
619
668
|
"type": "UiText",
|
|
620
|
-
"props": { "text": "Esc to resume · R to restart", "size": 13, "color": "#c9d2dd" }
|
|
669
|
+
"props": { "text": "Esc to resume · R to restart", "size": 13, "color": "#c9d2dd" },
|
|
670
|
+
"uid": "n_rs5w00p3m62rmoy6"
|
|
621
671
|
}
|
|
622
|
-
]
|
|
672
|
+
],
|
|
673
|
+
"uid": "n_5wfhk1dbgyv25gxl"
|
|
623
674
|
}
|
|
624
|
-
]
|
|
675
|
+
],
|
|
676
|
+
"uid": "n_wwhwnwye7olskfer"
|
|
625
677
|
}
|
|
626
678
|
],
|
|
627
679
|
"uid": "n_tq2dy6amirvyfhlg"
|