Skip to content

Commit e6eb10e

Browse files
committed
Normalize prefixed animation maps
- Prefix animationScales and animationOrigins aliases during config normalization - Apply formatter updates in AdventureScene and character docs - Regenerate mod.d.ts from current sources
1 parent 697c7e7 commit e6eb10e

4 files changed

Lines changed: 3303 additions & 3328 deletions

File tree

docs/characters.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,17 @@ When more than one playable character is registered, the engine automatically of
7878

7979
## Wanderers (Inactive Characters)
8080

81-
When multiple playable characters are registered, the currently unselected (inactive) characters can autonomously wander around the scene. The engine manages these characters through `engineScene.idleCharacters`.
81+
When multiple playable characters are registered, the currently unselected (inactive) characters can autonomously wander
82+
around the scene. The engine manages these characters through `engineScene.idleCharacters`.
8283

8384
To enable wandering, you must opt-in:
84-
- **Registry Opt-in:** Set `wanderer: true` when registering the character. They will automatically wander whenever they are inactive.
85-
- **Explicit Override:** Pass a `wanderers` array to the spawn method in your scene's `create()`: `this.spawnIdleCharacters({ wanderers: ["sister"] })`.
86-
- **Suppressing:** Set `disableIdleCharacter: true` in your `AdventureSceneConfig` to completely disable wanderers for that scene.
85+
86+
- **Registry Opt-in:** Set `wanderer: true` when registering the character. They will automatically wander whenever they
87+
are inactive.
88+
- **Explicit Override:** Pass a `wanderers` array to the spawn method in your scene's `create()`:
89+
`this.spawnIdleCharacters({ wanderers: ["sister"] })`.
90+
- **Suppressing:** Set `disableIdleCharacter: true` in your `AdventureSceneConfig` to completely disable wanderers for
91+
that scene.
8792

8893
You can also provide a `greeting` callback to `spawnIdleCharacters` to give them click-to-speak dialogue lines.
8994

0 commit comments

Comments
 (0)