@react-three/viverse 0.1.8 → 0.1.10
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/character.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<h1 align="center">@react-three/viverse</h1>
|
|
2
|
-
<h3 align="center">Toolkit for building Three.js and React Three Fiber Apps for
|
|
2
|
+
<h3 align="center">Toolkit for building Three.js and React Three Fiber Apps for VIVERSE and beyond.</h3>
|
|
3
3
|
<br/>
|
|
4
4
|
|
|
5
5
|
<p align="center">
|
|
@@ -60,7 +60,7 @@ Get started with **[building a simple game](https://pmndrs.github.io/viverse/tut
|
|
|
60
60
|
- [Equipping the character with items](https://pmndrs.github.io/viverse/tutorials/equipping-items)
|
|
61
61
|
- [Using custom animations and models](https://pmndrs.github.io/viverse/tutorials/custom-models-and-animations)
|
|
62
62
|
- [How to remove the viverse integrations](https://pmndrs.github.io/viverse/tutorials/remove-viverse-integrations)
|
|
63
|
-
- [Publish to
|
|
63
|
+
- [Publish to VIVERSE](https://pmndrs.github.io/viverse/tutorials/publish-to-viverse)
|
|
64
64
|
- Building your own character controller - _Coming Soon_
|
|
65
65
|
|
|
66
66
|
## Not into react?
|
|
@@ -71,4 +71,4 @@ Check out how to build games using @pmndrs/viverse and only [vanilla three.js](h
|
|
|
71
71
|
|
|
72
72
|
## Acknowledgments
|
|
73
73
|
|
|
74
|
-
This project would not be possible without the default model and default animations made by [Quaternius](https://quaternius.com/), the prototype texture from
|
|
74
|
+
This project would not be possible without the default model and default animations made by [Quaternius](https://quaternius.com/), the prototype texture from [kenney.nl](https://www.kenney.nl/), the [three-vrm project](https://github.com/pixiv/three-vrm) from the [pixiv team](https://github.com/pixiv), [three-mesh-bvh](https://github.com/gkjohnson/three-mesh-bvh) from [Garrett Johnson](https://github.com/gkjohnson) and is based on prior work from [Felix Zhang](https://github.com/felixtrz) and [Erdong Chen](https://github.com/ErdongChen-Andrew)!
|
package/dist/character.js
CHANGED
|
@@ -39,8 +39,8 @@ export const SimpleCharacter = forwardRef(({ children, input, useViverseAvatar =
|
|
|
39
39
|
: options.model,
|
|
40
40
|
};
|
|
41
41
|
const preloadSimpleCharacterAssetsKeys = [
|
|
42
|
-
JSON.stringify(
|
|
43
|
-
...simpleCharacterAnimationNames.map((name) => JSON.stringify(
|
|
42
|
+
JSON.stringify(newOptions.model),
|
|
43
|
+
...simpleCharacterAnimationNames.map((name) => JSON.stringify(newOptions.animation?.[name])),
|
|
44
44
|
];
|
|
45
45
|
suspend(async () => {
|
|
46
46
|
const result = await preloadSimpleCharacterAssets(newOptions);
|
package/package.json
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@pixiv/three-vrm": "^3.4.2",
|
|
29
29
|
"zustand": "^5.0.6",
|
|
30
30
|
"@react-three/xr": "^6.6.20",
|
|
31
|
-
"@pmndrs/viverse": "^0.1.
|
|
31
|
+
"@pmndrs/viverse": "^0.1.10"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"@react-three/fiber": "*"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@types/react": "^19.1.8",
|
|
40
40
|
"react": "^19.1.0"
|
|
41
41
|
},
|
|
42
|
-
"version": "0.1.
|
|
42
|
+
"version": "0.1.10",
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "tsc",
|
|
45
45
|
"check:prettier": "prettier --check src",
|