@drincs/pixi-vn 0.1.2 → 0.1.4
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 +20 -16
- package/dist/index.d.mts +1510 -0
- package/dist/index.d.ts +1510 -0
- package/dist/index.js +2419 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +2343 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Pixi'VN
|
|
1
|
+
# Pixi'VN - Pixi Visual Novel Engine
|
|
2
2
|
|
|
3
3
|
Pixi'VN is a npm package that provides various features for creating visual novels.
|
|
4
4
|
|
|
@@ -35,22 +35,22 @@ if (!body) {
|
|
|
35
35
|
throw new Error('body element not found')
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
GameWindowManager.initialize(body, 1920, 1080, {
|
|
39
39
|
backgroundColor: "#303030"
|
|
40
|
+
}).then(() => {
|
|
41
|
+
// React setup with ReactDOM
|
|
42
|
+
const root = document.getElementById('root')
|
|
43
|
+
if (!root) {
|
|
44
|
+
throw new Error('root element not found')
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
GameWindowManager.initializeHTMLLayout(root)
|
|
48
|
+
const reactRoot = createRoot(GameWindowManager.htmlLayout)
|
|
49
|
+
|
|
50
|
+
reactRoot.render(
|
|
51
|
+
<App />
|
|
52
|
+
)
|
|
40
53
|
})
|
|
41
|
-
|
|
42
|
-
// React setup with ReactDOM
|
|
43
|
-
const root = document.getElementById('root')
|
|
44
|
-
if (!root) {
|
|
45
|
-
throw new Error('root element not found')
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
GameWindowManager.initializeHTMLLayout(root)
|
|
49
|
-
const reactRoot = createRoot(GameWindowManager.htmlLayout)
|
|
50
|
-
|
|
51
|
-
reactRoot.render(
|
|
52
|
-
<App />
|
|
53
|
-
)
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
This is the HTML file that will be used to load the application.
|
|
@@ -86,4 +86,8 @@ body {
|
|
|
86
86
|
|
|
87
87
|
## Wiki
|
|
88
88
|
|
|
89
|
-
For more information, visit the [Wiki](https://
|
|
89
|
+
For more information, visit the [Wiki](https://pixivn.readthedocs.io/)
|
|
90
|
+
|
|
91
|
+
## Why Pixi'VN?
|
|
92
|
+
|
|
93
|
+
The reason why Pixi'VN was born is that current systems for creating a visual novel are based on dated systems and have many shortcomings.
|