genshin-world 3.7.0 → 3.8.1
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 -2
- package/dist/index.d.ts +377 -95
- package/dist/index.js +13629 -492
- package/dist/style.css +231 -99
- package/package.json +10 -9
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Genshin Impact's world, rebuilt as an unofficial, non-commercial fan work on [`g
|
|
|
10
10
|
- the catalogue of regions, areas and subareas;
|
|
11
11
|
- each region's authored data: its heights, colours, look and landmarks;
|
|
12
12
|
- the TresJS components and composables that build all of it;
|
|
13
|
-
- the game's
|
|
13
|
+
- the game's screens — its opening's splashes, login screen and startup loading — built from [`genshin-interface`](https://github.com/Esposter/Esposter/tree/main/packages/genshin-interface)'s pieces.
|
|
14
14
|
|
|
15
15
|
It ships no image, model or sound from the game: every mesh, texture and shader is generated by code, and each mark on a screen is a vector path traced from the game's own or taken from a published vector of it.
|
|
16
16
|
|
|
@@ -25,7 +25,7 @@ It ships no image, model or sound from the game: every mesh, texture and shader
|
|
|
25
25
|
## <a name="getting-started">🚀 Getting Started</a>
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
|
-
pnpm i genshin-world genshin-engine @esposter/shared @tresjs/cientos @tresjs/core @vueuse/core three vue zod
|
|
28
|
+
pnpm i genshin-world genshin-engine genshin-interface @esposter/shared @tresjs/cientos @tresjs/core @vueuse/core three vue zod
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
Mount `GenshinWorld` inside your own `TresCanvas` and pass in only what your bundler and server decide, and load the screens' styles once:
|
|
@@ -34,6 +34,7 @@ Mount `GenshinWorld` inside your own `TresCanvas` and pass in only what your bun
|
|
|
34
34
|
<script setup lang="ts">
|
|
35
35
|
import { GenshinWorld } from "genshin-world";
|
|
36
36
|
import TerrainTileWorker from "genshin-world/terrainTileWorker?worker";
|
|
37
|
+
import "genshin-interface/style.css";
|
|
37
38
|
import "genshin-world/style.css";
|
|
38
39
|
</script>
|
|
39
40
|
|