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
|
@@ -78,7 +78,8 @@
|
|
|
78
78
|
"idle": { "frames": [0, 5], "fps": 10, "loop": true },
|
|
79
79
|
"move": { "frames": [6, 11], "fps": 14, "loop": true }
|
|
80
80
|
}
|
|
81
|
-
}
|
|
81
|
+
},
|
|
82
|
+
"uid": "n_yll7rl1d6l5iq4c0"
|
|
82
83
|
},
|
|
83
84
|
{
|
|
84
85
|
"name": "Vitals",
|
|
@@ -121,7 +122,8 @@
|
|
|
121
122
|
"idle": { "frames": [0, 6], "fps": 9, "loop": true },
|
|
122
123
|
"move": { "frames": [7, 12], "fps": 12, "loop": true }
|
|
123
124
|
}
|
|
124
|
-
}
|
|
125
|
+
},
|
|
126
|
+
"uid": "n_9062s2tszonwgz8t"
|
|
125
127
|
},
|
|
126
128
|
{
|
|
127
129
|
"name": "AI",
|
|
@@ -198,7 +200,8 @@
|
|
|
198
200
|
"idle": { "frames": [0, 5], "fps": 9, "loop": true },
|
|
199
201
|
"move": { "frames": [6, 11], "fps": 12, "loop": true }
|
|
200
202
|
}
|
|
201
|
-
}
|
|
203
|
+
},
|
|
204
|
+
"uid": "n_l6q192h44anj9bhr"
|
|
202
205
|
},
|
|
203
206
|
{
|
|
204
207
|
"name": "AI",
|
|
@@ -268,32 +271,38 @@
|
|
|
268
271
|
{
|
|
269
272
|
"name": "SfxShoot",
|
|
270
273
|
"type": "AudioPlayer",
|
|
271
|
-
"props": { "preset": "shoot", "bus": "sfx", "volume": 0.28 }
|
|
274
|
+
"props": { "preset": "shoot", "bus": "sfx", "volume": 0.28 },
|
|
275
|
+
"uid": "n_d0ejl6328op4o5zo"
|
|
272
276
|
},
|
|
273
277
|
{
|
|
274
278
|
"name": "SfxXp",
|
|
275
279
|
"type": "AudioPlayer",
|
|
276
|
-
"props": { "preset": "coin", "bus": "sfx", "volume": 0.4 }
|
|
280
|
+
"props": { "preset": "coin", "bus": "sfx", "volume": 0.4 },
|
|
281
|
+
"uid": "n_v82hfmgahhqd7qyw"
|
|
277
282
|
},
|
|
278
283
|
{
|
|
279
284
|
"name": "SfxKill",
|
|
280
285
|
"type": "AudioPlayer",
|
|
281
|
-
"props": { "preset": "hit", "bus": "sfx", "volume": 0.3 }
|
|
286
|
+
"props": { "preset": "hit", "bus": "sfx", "volume": 0.3 },
|
|
287
|
+
"uid": "n_7cwqf3w8q2avgnll"
|
|
282
288
|
},
|
|
283
289
|
{
|
|
284
290
|
"name": "SfxHurt",
|
|
285
291
|
"type": "AudioPlayer",
|
|
286
|
-
"props": { "preset": "hurt", "bus": "sfx", "volume": 0.55 }
|
|
292
|
+
"props": { "preset": "hurt", "bus": "sfx", "volume": 0.55 },
|
|
293
|
+
"uid": "n_xgtwcz56c0kmh2mr"
|
|
287
294
|
},
|
|
288
295
|
{
|
|
289
296
|
"name": "SfxWin",
|
|
290
297
|
"type": "AudioPlayer",
|
|
291
|
-
"props": { "preset": "win", "bus": "sfx", "volume": 0.8 }
|
|
298
|
+
"props": { "preset": "win", "bus": "sfx", "volume": 0.8 },
|
|
299
|
+
"uid": "n_ylglu2j9xvu80el3"
|
|
292
300
|
},
|
|
293
301
|
{
|
|
294
302
|
"name": "SfxLose",
|
|
295
303
|
"type": "AudioPlayer",
|
|
296
|
-
"props": { "preset": "lose", "bus": "sfx", "volume": 0.8 }
|
|
304
|
+
"props": { "preset": "lose", "bus": "sfx", "volume": 0.8 },
|
|
305
|
+
"uid": "n_9c48ixvudwh3egqc"
|
|
297
306
|
}
|
|
298
307
|
],
|
|
299
308
|
"uid": "n_tlqu945vs98khzn8"
|
|
@@ -93,9 +93,11 @@
|
|
|
93
93
|
"size": [48, 0.1, 48],
|
|
94
94
|
"material": { "color": "#3a4253", "roughness": 1 },
|
|
95
95
|
"receiveShadow": true
|
|
96
|
-
}
|
|
96
|
+
},
|
|
97
|
+
"uid": "n_fhrx2w1swdg4aouk"
|
|
97
98
|
}
|
|
98
|
-
]
|
|
99
|
+
],
|
|
100
|
+
"uid": "n_a9g237qshrv6q3zr"
|
|
99
101
|
},
|
|
100
102
|
{
|
|
101
103
|
"name": "Wall1",
|
|
@@ -113,9 +115,11 @@
|
|
|
113
115
|
"size": [49, 3, 0.5],
|
|
114
116
|
"material": { "color": "#4a5468", "roughness": 0.9 },
|
|
115
117
|
"receiveShadow": true
|
|
116
|
-
}
|
|
118
|
+
},
|
|
119
|
+
"uid": "n_7zgr4tm46gypk29z"
|
|
117
120
|
}
|
|
118
|
-
]
|
|
121
|
+
],
|
|
122
|
+
"uid": "n_dva41ykintj4ckoz"
|
|
119
123
|
},
|
|
120
124
|
{
|
|
121
125
|
"name": "Wall2",
|
|
@@ -133,9 +137,11 @@
|
|
|
133
137
|
"size": [49, 3, 0.5],
|
|
134
138
|
"material": { "color": "#4a5468", "roughness": 0.9 },
|
|
135
139
|
"receiveShadow": true
|
|
136
|
-
}
|
|
140
|
+
},
|
|
141
|
+
"uid": "n_m70mrkagrg1igwdk"
|
|
137
142
|
}
|
|
138
|
-
]
|
|
143
|
+
],
|
|
144
|
+
"uid": "n_9gan2h8arfads6nj"
|
|
139
145
|
},
|
|
140
146
|
{
|
|
141
147
|
"name": "Wall3",
|
|
@@ -153,9 +159,11 @@
|
|
|
153
159
|
"size": [0.5, 3, 48],
|
|
154
160
|
"material": { "color": "#4a5468", "roughness": 0.9 },
|
|
155
161
|
"receiveShadow": true
|
|
156
|
-
}
|
|
162
|
+
},
|
|
163
|
+
"uid": "n_i5eorlm18c6o3x10"
|
|
157
164
|
}
|
|
158
|
-
]
|
|
165
|
+
],
|
|
166
|
+
"uid": "n_pibc3l5f1peblsvr"
|
|
159
167
|
},
|
|
160
168
|
{
|
|
161
169
|
"name": "Wall4",
|
|
@@ -173,9 +181,11 @@
|
|
|
173
181
|
"size": [0.5, 3, 48],
|
|
174
182
|
"material": { "color": "#4a5468", "roughness": 0.9 },
|
|
175
183
|
"receiveShadow": true
|
|
176
|
-
}
|
|
184
|
+
},
|
|
185
|
+
"uid": "n_w7s4c7cv69pfnbk7"
|
|
177
186
|
}
|
|
178
|
-
]
|
|
187
|
+
],
|
|
188
|
+
"uid": "n_4lh2uesc09jprpaf"
|
|
179
189
|
},
|
|
180
190
|
{
|
|
181
191
|
"name": "Cover1",
|
|
@@ -194,9 +204,11 @@
|
|
|
194
204
|
"material": { "color": "#5b6678", "roughness": 0.85, "metalness": 0.1 },
|
|
195
205
|
"castShadow": true,
|
|
196
206
|
"receiveShadow": true
|
|
197
|
-
}
|
|
207
|
+
},
|
|
208
|
+
"uid": "n_hsy2c0ukmioj0611"
|
|
198
209
|
}
|
|
199
|
-
]
|
|
210
|
+
],
|
|
211
|
+
"uid": "n_wrzlr0jqbyxh7m11"
|
|
200
212
|
},
|
|
201
213
|
{
|
|
202
214
|
"name": "Cover2",
|
|
@@ -215,9 +227,11 @@
|
|
|
215
227
|
"material": { "color": "#5b6678", "roughness": 0.85, "metalness": 0.1 },
|
|
216
228
|
"castShadow": true,
|
|
217
229
|
"receiveShadow": true
|
|
218
|
-
}
|
|
230
|
+
},
|
|
231
|
+
"uid": "n_jap0t9ofeggpl03j"
|
|
219
232
|
}
|
|
220
|
-
]
|
|
233
|
+
],
|
|
234
|
+
"uid": "n_6ailumev172o037a"
|
|
221
235
|
},
|
|
222
236
|
{
|
|
223
237
|
"name": "Pillar1",
|
|
@@ -235,9 +249,11 @@
|
|
|
235
249
|
"size": [1.1, 4, 1.1],
|
|
236
250
|
"material": { "color": "#454f61", "roughness": 0.95 },
|
|
237
251
|
"castShadow": true
|
|
238
|
-
}
|
|
252
|
+
},
|
|
253
|
+
"uid": "n_0pm93he7baqzdk5d"
|
|
239
254
|
}
|
|
240
|
-
]
|
|
255
|
+
],
|
|
256
|
+
"uid": "n_xeh6r9631usk2i6w"
|
|
241
257
|
},
|
|
242
258
|
{
|
|
243
259
|
"name": "Pillar2",
|
|
@@ -255,9 +271,11 @@
|
|
|
255
271
|
"size": [1.1, 4, 1.1],
|
|
256
272
|
"material": { "color": "#454f61", "roughness": 0.95 },
|
|
257
273
|
"castShadow": true
|
|
258
|
-
}
|
|
274
|
+
},
|
|
275
|
+
"uid": "n_mkfowx2du427b74v"
|
|
259
276
|
}
|
|
260
|
-
]
|
|
277
|
+
],
|
|
278
|
+
"uid": "n_7ksm42z50jbh13np"
|
|
261
279
|
},
|
|
262
280
|
{
|
|
263
281
|
"name": "Ramp",
|
|
@@ -276,9 +294,11 @@
|
|
|
276
294
|
"material": { "color": "#5b6678", "roughness": 0.85 },
|
|
277
295
|
"castShadow": true,
|
|
278
296
|
"receiveShadow": true
|
|
279
|
-
}
|
|
297
|
+
},
|
|
298
|
+
"uid": "n_fgwyll0y26mldnum"
|
|
280
299
|
}
|
|
281
|
-
]
|
|
300
|
+
],
|
|
301
|
+
"uid": "n_3jp7mtbnbx0rhv29"
|
|
282
302
|
},
|
|
283
303
|
{
|
|
284
304
|
"name": "Sun",
|
|
@@ -289,14 +309,17 @@
|
|
|
289
309
|
"castShadow": true,
|
|
290
310
|
"shadowArea": 58,
|
|
291
311
|
"shadowMapSize": 2048
|
|
292
|
-
}
|
|
312
|
+
},
|
|
313
|
+
"uid": "n_23zij3jcjcb72y70"
|
|
293
314
|
},
|
|
294
315
|
{
|
|
295
316
|
"name": "FillLight",
|
|
296
317
|
"type": "DirectionalLight3D",
|
|
297
|
-
"props": { "position": [-38, 36, -28], "intensity": 0.4, "color": "#b9d4ff" }
|
|
318
|
+
"props": { "position": [-38, 36, -28], "intensity": 0.4, "color": "#b9d4ff" },
|
|
319
|
+
"uid": "n_28u31t86eb8xnyjc"
|
|
298
320
|
}
|
|
299
|
-
]
|
|
321
|
+
],
|
|
322
|
+
"uid": "n_9yavlr08c9026im9"
|
|
300
323
|
},
|
|
301
324
|
{
|
|
302
325
|
"name": "Player",
|
|
@@ -336,7 +359,8 @@
|
|
|
336
359
|
"animation": "$anims/idle",
|
|
337
360
|
"castShadow": true,
|
|
338
361
|
"position": [0, -0.85, 0]
|
|
339
|
-
}
|
|
362
|
+
},
|
|
363
|
+
"uid": "n_sirva2bpp1i01f1u"
|
|
340
364
|
},
|
|
341
365
|
{
|
|
342
366
|
"name": "Muzzle",
|
|
@@ -352,7 +376,8 @@
|
|
|
352
376
|
"spatial": true,
|
|
353
377
|
"refDistance": 3,
|
|
354
378
|
"maxDistance": 50
|
|
355
|
-
}
|
|
379
|
+
},
|
|
380
|
+
"uid": "n_r6cpq75vhtxu4q18"
|
|
356
381
|
},
|
|
357
382
|
{
|
|
358
383
|
"name": "KillSfx",
|
|
@@ -363,19 +388,23 @@
|
|
|
363
388
|
"spatial": true,
|
|
364
389
|
"refDistance": 4,
|
|
365
390
|
"maxDistance": 60
|
|
366
|
-
}
|
|
391
|
+
},
|
|
392
|
+
"uid": "n_fw07t0wpfd7wwtrb"
|
|
367
393
|
},
|
|
368
394
|
{
|
|
369
395
|
"name": "EmptySfx",
|
|
370
396
|
"type": "AudioPlayer",
|
|
371
|
-
"props": { "preset": "blip", "volume": 0.4, "pitch": 0.7 }
|
|
397
|
+
"props": { "preset": "blip", "volume": 0.4, "pitch": 0.7 },
|
|
398
|
+
"uid": "n_0vtkipp7h0so4mx2"
|
|
372
399
|
},
|
|
373
400
|
{
|
|
374
401
|
"name": "Flash",
|
|
375
402
|
"type": "OmniLight3D",
|
|
376
|
-
"props": { "color": "#ffd27f", "intensity": 0, "range": 7 }
|
|
403
|
+
"props": { "color": "#ffd27f", "intensity": 0, "range": 7 },
|
|
404
|
+
"uid": "n_s3033w4bwtacojs1"
|
|
377
405
|
}
|
|
378
|
-
]
|
|
406
|
+
],
|
|
407
|
+
"uid": "n_jstha9c29p0dlioy"
|
|
379
408
|
}
|
|
380
409
|
],
|
|
381
410
|
"uid": "n_nx7dsn65lts2arru"
|
|
@@ -383,9 +412,15 @@
|
|
|
383
412
|
{
|
|
384
413
|
"name": "Camera",
|
|
385
414
|
"type": "Camera3D",
|
|
386
|
-
"props": { "position": [0, 2.6, 23], "fov": 70, "current": true, "far": 400 }
|
|
415
|
+
"props": { "position": [0, 2.6, 23], "fov": 70, "current": true, "far": 400 },
|
|
416
|
+
"uid": "n_fldx3xcpdr27y1a3"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"name": "HurtSfx",
|
|
420
|
+
"type": "AudioPlayer",
|
|
421
|
+
"props": { "preset": "hurt", "volume": 0.6 },
|
|
422
|
+
"uid": "n_oz5kawq52q4wmece"
|
|
387
423
|
},
|
|
388
|
-
{ "name": "HurtSfx", "type": "AudioPlayer", "props": { "preset": "hurt", "volume": 0.6 } },
|
|
389
424
|
{
|
|
390
425
|
"name": "Spawner",
|
|
391
426
|
"type": "Node3D",
|
|
@@ -425,7 +460,8 @@
|
|
|
425
460
|
"emissiveIntensity": 0.4
|
|
426
461
|
},
|
|
427
462
|
"castShadow": true
|
|
428
|
-
}
|
|
463
|
+
},
|
|
464
|
+
"uid": "n_cn4tjqgi2tk2t724"
|
|
429
465
|
},
|
|
430
466
|
{
|
|
431
467
|
"name": "Eye",
|
|
@@ -435,7 +471,8 @@
|
|
|
435
471
|
"size": [0.12, 0.12, 0.12],
|
|
436
472
|
"position": [0, 0.55, 0.32],
|
|
437
473
|
"material": { "color": "#ffec5c", "emissive": "#ffd000", "emissiveIntensity": 2 }
|
|
438
|
-
}
|
|
474
|
+
},
|
|
475
|
+
"uid": "n_xjsfyhxuxp0wkse1"
|
|
439
476
|
},
|
|
440
477
|
{
|
|
441
478
|
"name": "AI",
|
|
@@ -479,7 +516,8 @@
|
|
|
479
516
|
"maxDistance": 35,
|
|
480
517
|
"rolloff": "inverse",
|
|
481
518
|
"pitch": 0.6
|
|
482
|
-
}
|
|
519
|
+
},
|
|
520
|
+
"uid": "n_jznb5aprs78r1qs0"
|
|
483
521
|
}
|
|
484
522
|
],
|
|
485
523
|
"uid": "n_17sotvbult7pgelw"
|
|
@@ -497,7 +535,8 @@
|
|
|
497
535
|
"area": [44, 44],
|
|
498
536
|
"seed": 17,
|
|
499
537
|
"height": 6
|
|
500
|
-
}
|
|
538
|
+
},
|
|
539
|
+
"uid": "n_ttfovkru8078togk"
|
|
501
540
|
},
|
|
502
541
|
{
|
|
503
542
|
"name": "Hud",
|
|
@@ -517,7 +556,8 @@
|
|
|
517
556
|
{
|
|
518
557
|
"name": "PausedTitle",
|
|
519
558
|
"type": "UiText",
|
|
520
|
-
"props": { "text": "Paused", "size": 24 }
|
|
559
|
+
"props": { "text": "Paused", "size": 24 },
|
|
560
|
+
"uid": "n_ffjlx3r053emjjhc"
|
|
521
561
|
},
|
|
522
562
|
{
|
|
523
563
|
"name": "ResumeHint",
|
|
@@ -526,16 +566,19 @@
|
|
|
526
566
|
"text": "Esc to resume · Enter to restart",
|
|
527
567
|
"size": 13,
|
|
528
568
|
"color": "#c9d2dd"
|
|
529
|
-
}
|
|
569
|
+
},
|
|
570
|
+
"uid": "n_atxlw44pqdn146zj"
|
|
530
571
|
},
|
|
531
572
|
{ "name": "Volume", "type": "UiVolumeSlider", "uid": "n_5p4124fbnjxx8s0c" },
|
|
532
573
|
{ "name": "Mute", "type": "UiMuteToggle", "uid": "n_e1lyn3mvsy3vj2qr" },
|
|
533
574
|
{ "name": "Quality", "type": "UiQualitySelect", "uid": "n_35r1h71i75yft3ex" },
|
|
534
575
|
{ "name": "RenderScale", "type": "UiRenderScaleSelect", "uid": "n_emg840df89fqsriw" },
|
|
535
576
|
{ "name": "FrameCap", "type": "UiFrameCapSelect", "uid": "n_mgqwgghn0bx900ip" }
|
|
536
|
-
]
|
|
577
|
+
],
|
|
578
|
+
"uid": "n_8bcregfz1ajwi03l"
|
|
537
579
|
}
|
|
538
|
-
]
|
|
580
|
+
],
|
|
581
|
+
"uid": "n_dimifr19c9et8cr4"
|
|
539
582
|
}
|
|
540
583
|
],
|
|
541
584
|
"uid": "n_h46qaejxdqadqc1c"
|