@lute-lang/player-web 0.41.0 → 0.42.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/README.md +3 -3
- package/dist/index.js +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# @lute-lang/player-web
|
|
2
2
|
|
|
3
|
-
The Lute 0.
|
|
3
|
+
The Lute 0.42 browser visual-novel player. It supplies PixiJS 8 rendering, Web Audio, screens, and keyboard/mouse/touch/gamepad input for the renderer-free `@lute-lang/player` core.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
bun add @lute-lang/player-web@0.
|
|
9
|
-
# npm install @lute-lang/player-web@0.
|
|
8
|
+
bun add @lute-lang/player-web@0.42.0 @lute-lang/player@0.42.0 @lute-lang/runtime@0.42.0 effect@4.0.2 @effect/platform-browser@4.0.2 pixi.js@8.22.0 @pixi/sound@6.0.1
|
|
9
|
+
# npm install @lute-lang/player-web@0.42.0 @lute-lang/player@0.42.0 @lute-lang/runtime@0.42.0 effect@4.0.2 @effect/platform-browser@4.0.2 pixi.js@8.22.0 @pixi/sound@6.0.1
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
The package requires exact `effect@4.0.2` and `@effect/platform-browser@4.0.2` peers. Runtime and player packages are released in lockstep.
|
package/dist/index.js
CHANGED
|
@@ -799,7 +799,7 @@ class BacklogScreen extends ScreenView {
|
|
|
799
799
|
text.position.set(0, 25);
|
|
800
800
|
row.addChild(name, text);
|
|
801
801
|
if (entry.hasVoice) {
|
|
802
|
-
const voice = new Button("Voice", theme, () => emit({ type: "replayVoice", lineId: entry.lineId }));
|
|
802
|
+
const voice = new Button("Voice", theme, () => emit({ type: "replayVoice", lineId: entry.lineId, voiceKey: entry.voiceKey }));
|
|
803
803
|
voice.position.set(720, 14);
|
|
804
804
|
row.addChild(voice);
|
|
805
805
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lute-lang/player-web",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.42.0",
|
|
4
4
|
"description": "The Lute web visual-novel player: PixiJS 8 renderer, Web Audio, screens and input over @lute-lang/player.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
],
|
|
22
22
|
"scripts": {
|
|
23
23
|
"build": "bun scripts/build.ts",
|
|
24
|
-
"typecheck": "
|
|
24
|
+
"typecheck": "bun check",
|
|
25
25
|
"test": "bunx --bun vitest run",
|
|
26
26
|
"test:browser": "bunx --bun vitest run --config vitest.browser.config.ts",
|
|
27
27
|
"test:e2e": "bunx --bun playwright test --config playwright.config.ts",
|
|
28
28
|
"demo": "bun scripts/demo.ts"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@lute-lang/player": "0.
|
|
32
|
-
"@lute-lang/runtime": "0.
|
|
31
|
+
"@lute-lang/player": "0.42.0",
|
|
32
|
+
"@lute-lang/runtime": "0.42.0",
|
|
33
33
|
"pixi.js": "8.22.0",
|
|
34
34
|
"@pixi/sound": "6.0.1"
|
|
35
35
|
},
|