create-pixi-vn 2.0.9 → 2.0.11
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/package.json +1 -1
- package/template-react-vite-muijoy/.vscode/launch.json +9 -2
- package/template-react-vite-muijoy/.vscode/tasks.json +20 -4
- package/template-react-vite-muijoy/package-lock.json +100 -81
- package/template-react-vite-muijoy/package.json +3 -2
- package/template-react-vite-muijoy/src/components/loading.tsx +5 -44
- package/template-react-vite-muijoy/src/components/menus/settings/about.tsx +1 -1
- package/template-react-vite-muijoy/src/components/quick-tools.tsx +1 -1
- package/template-react-vite-muijoy/src/components/screens/narration/narration-cards.tsx +2 -3
- package/template-react-vite-muijoy/src/lib/query/narration-query.ts +5 -1
- package/template-react-vite-muijoy/src/lib/utils/assets-utility.ts +1 -1
- package/template-react-vite-muijoy-ink/.vscode/extensions.json +1 -2
- package/template-react-vite-muijoy-ink/.vscode/launch.json +9 -2
- package/template-react-vite-muijoy-ink/.vscode/settings.json +1 -6
- package/template-react-vite-muijoy-ink/.vscode/tasks.json +20 -4
- package/template-react-vite-muijoy-ink/_gitignore +0 -1
- package/template-react-vite-muijoy-ink/package-lock.json +104 -311
- package/template-react-vite-muijoy-ink/package.json +4 -5
- package/template-react-vite-muijoy-ink/src/App.tsx +25 -25
- package/template-react-vite-muijoy-ink/src/assets/index.ts +4 -2
- package/template-react-vite-muijoy-ink/src/assets/ink-manifest.gen.json +1 -4
- package/template-react-vite-muijoy-ink/src/components/loading.tsx +5 -44
- package/template-react-vite-muijoy-ink/src/components/menus/settings/about.tsx +1 -1
- package/template-react-vite-muijoy-ink/src/components/quick-tools.tsx +1 -1
- package/template-react-vite-muijoy-ink/src/components/screens/narration/narration-cards.tsx +2 -3
- package/template-react-vite-muijoy-ink/src/content/labels/second.label.ts +1207 -0
- package/template-react-vite-muijoy-ink/src/content/labels/start.label.ts +566 -0
- package/template-react-vite-muijoy-ink/src/lib/i18n.ts +1 -22
- package/template-react-vite-muijoy-ink/src/lib/query/narration-query.ts +5 -1
- package/template-react-vite-muijoy-ink/src/lib/utils/assets-utility.ts +1 -1
- package/template-react-vite-muijoy-ink/src/pixi-vn-keys.gen.d.ts +0 -2
- package/template-react-vite-muijoy-ink/src/routes/__root.tsx +0 -4
- package/template-react-vite-muijoy-ink/vite.config.ts +0 -6
- package/template-react-vite-muijoy-ink-tauri/.assetpack.ts +0 -9
- package/template-react-vite-muijoy-ink-tauri/.vscode/extensions.json +1 -5
- package/template-react-vite-muijoy-ink-tauri/.vscode/launch.json +6 -10
- package/template-react-vite-muijoy-ink-tauri/.vscode/settings.json +1 -6
- package/template-react-vite-muijoy-ink-tauri/.vscode/tasks.json +17 -48
- package/template-react-vite-muijoy-ink-tauri/README.md +3 -3
- package/template-react-vite-muijoy-ink-tauri/_gitignore +0 -11
- package/template-react-vite-muijoy-ink-tauri/package-lock.json +100 -557
- package/template-react-vite-muijoy-ink-tauri/package.json +5 -15
- package/template-react-vite-muijoy-ink-tauri/src/App.tsx +25 -25
- package/template-react-vite-muijoy-ink-tauri/src/assets/index.ts +4 -2
- package/template-react-vite-muijoy-ink-tauri/src/assets/ink-manifest.gen.json +1 -4
- package/template-react-vite-muijoy-ink-tauri/src/components/loading.tsx +5 -44
- package/template-react-vite-muijoy-ink-tauri/src/components/menus/main-menu.tsx +1 -16
- package/template-react-vite-muijoy-ink-tauri/src/components/menus/settings/about.tsx +1 -1
- package/template-react-vite-muijoy-ink-tauri/src/components/menus/settings/quick-menus.tsx +1 -17
- package/template-react-vite-muijoy-ink-tauri/src/components/menus/settings/system-controls.tsx +1 -11
- package/template-react-vite-muijoy-ink-tauri/src/components/quick-tools.tsx +1 -1
- package/template-react-vite-muijoy-ink-tauri/src/components/screens/narration/narration-cards.tsx +2 -3
- package/template-react-vite-muijoy-ink-tauri/src/content/labels/second.label.ts +1207 -0
- package/template-react-vite-muijoy-ink-tauri/src/content/labels/start.label.ts +566 -0
- package/template-react-vite-muijoy-ink-tauri/src/lib/i18n.ts +1 -22
- package/template-react-vite-muijoy-ink-tauri/src/lib/query/narration-query.ts +5 -1
- package/template-react-vite-muijoy-ink-tauri/src/lib/query/settings-query.ts +1 -7
- package/template-react-vite-muijoy-ink-tauri/src/lib/utils/assets-utility.ts +1 -1
- package/template-react-vite-muijoy-ink-tauri/src/pixi-vn-keys.gen.d.ts +0 -2
- package/template-react-vite-muijoy-ink-tauri/src/routes/__root.tsx +0 -4
- package/template-react-vite-muijoy-ink-tauri/vite.config.ts +0 -30
- package/template-react-vite-muijoy-tauri/.assetpack.ts +0 -9
- package/template-react-vite-muijoy-tauri/.vscode/extensions.json +1 -4
- package/template-react-vite-muijoy-tauri/.vscode/launch.json +6 -10
- package/template-react-vite-muijoy-tauri/.vscode/tasks.json +17 -48
- package/template-react-vite-muijoy-tauri/README.md +3 -3
- package/template-react-vite-muijoy-tauri/_gitignore +0 -10
- package/template-react-vite-muijoy-tauri/package-lock.json +100 -331
- package/template-react-vite-muijoy-tauri/package.json +4 -12
- package/template-react-vite-muijoy-tauri/src/components/loading.tsx +5 -44
- package/template-react-vite-muijoy-tauri/src/components/menus/main-menu.tsx +1 -16
- package/template-react-vite-muijoy-tauri/src/components/menus/settings/about.tsx +1 -1
- package/template-react-vite-muijoy-tauri/src/components/menus/settings/quick-menus.tsx +1 -17
- package/template-react-vite-muijoy-tauri/src/components/menus/settings/system-controls.tsx +1 -11
- package/template-react-vite-muijoy-tauri/src/components/quick-tools.tsx +1 -1
- package/template-react-vite-muijoy-tauri/src/components/screens/narration/narration-cards.tsx +2 -3
- package/template-react-vite-muijoy-tauri/src/lib/query/narration-query.ts +5 -1
- package/template-react-vite-muijoy-tauri/src/lib/query/settings-query.ts +1 -7
- package/template-react-vite-muijoy-tauri/src/lib/utils/assets-utility.ts +1 -1
- package/template-react-vite-muijoy-tauri/vite.config.ts +0 -24
- package/template-react-vite-muijoy-ink/ink/second_part.ink +0 -571
- package/template-react-vite-muijoy-ink/ink/start.ink +0 -214
- package/template-react-vite-muijoy-ink/src/content/ink/hashtag-commands.ts +0 -38
- package/template-react-vite-muijoy-ink/src/content/ink/text-replaces.ts +0 -19
- package/template-react-vite-muijoy-ink/src/lib/hooks/ink-hooks.tsx +0 -12
- package/template-react-vite-muijoy-ink-tauri/_github/workflows/desktop.yml +0 -188
- package/template-react-vite-muijoy-ink-tauri/_github/workflows/mobile.yml +0 -270
- package/template-react-vite-muijoy-ink-tauri/ink/second_part.ink +0 -571
- package/template-react-vite-muijoy-ink-tauri/ink/start.ink +0 -214
- package/template-react-vite-muijoy-ink-tauri/src/content/ink/hashtag-commands.ts +0 -55
- package/template-react-vite-muijoy-ink-tauri/src/content/ink/text-replaces.ts +0 -19
- package/template-react-vite-muijoy-ink-tauri/src/lib/hooks/ink-hooks.tsx +0 -12
- package/template-react-vite-muijoy-ink-tauri/src/lib/hooks/quit-hooks.ts +0 -24
- package/template-react-vite-muijoy-ink-tauri/src/lib/steam.ts +0 -143
- package/template-react-vite-muijoy-ink-tauri/src-tauri/Cargo.toml +0 -50
- package/template-react-vite-muijoy-ink-tauri/src-tauri/build.rs +0 -46
- package/template-react-vite-muijoy-ink-tauri/src-tauri/capabilities/default.json +0 -21
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/128x128.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/128x128@2x.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/32x32.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/Square107x107Logo.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/Square142x142Logo.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/Square150x150Logo.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/Square284x284Logo.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/Square30x30Logo.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/Square310x310Logo.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/Square44x44Logo.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/Square71x71Logo.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/Square89x89Logo.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/StoreLogo.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/icon.icns +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/icon.ico +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/icon.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/src/lib.rs +0 -64
- package/template-react-vite-muijoy-ink-tauri/src-tauri/src/main.rs +0 -6
- package/template-react-vite-muijoy-ink-tauri/src-tauri/src/steam.rs +0 -238
- package/template-react-vite-muijoy-ink-tauri/src-tauri/tauri.conf.json +0 -50
- package/template-react-vite-muijoy-tauri/_github/workflows/desktop.yml +0 -188
- package/template-react-vite-muijoy-tauri/_github/workflows/mobile.yml +0 -270
- package/template-react-vite-muijoy-tauri/src/lib/hooks/quit-hooks.ts +0 -24
- package/template-react-vite-muijoy-tauri/src/lib/steam.ts +0 -143
- package/template-react-vite-muijoy-tauri/src-tauri/Cargo.toml +0 -50
- package/template-react-vite-muijoy-tauri/src-tauri/build.rs +0 -46
- package/template-react-vite-muijoy-tauri/src-tauri/capabilities/default.json +0 -21
- package/template-react-vite-muijoy-tauri/src-tauri/icons/128x128.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/128x128@2x.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/32x32.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/Square107x107Logo.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/Square142x142Logo.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/Square150x150Logo.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/Square284x284Logo.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/Square30x30Logo.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/Square310x310Logo.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/Square44x44Logo.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/Square71x71Logo.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/Square89x89Logo.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/StoreLogo.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/icon.icns +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/icon.ico +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/icon.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/src/lib.rs +0 -64
- package/template-react-vite-muijoy-tauri/src-tauri/src/main.rs +0 -6
- package/template-react-vite-muijoy-tauri/src-tauri/src/steam.rs +0 -238
- package/template-react-vite-muijoy-tauri/src-tauri/tauri.conf.json +0 -50
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@base-ui/react": "^1.5.0",
|
|
22
22
|
"@drincs/pixi-vn": "^1.8.13",
|
|
23
|
-
"@drincs/pixi-vn-ink": "^1.0.5",
|
|
24
23
|
"@drincs/pixi-vn-spine": "^0.2.1",
|
|
25
24
|
"@tailwindcss/vite": "^4.3.0",
|
|
25
|
+
"@tanstack/hotkeys": "^0.8.0",
|
|
26
26
|
"@tanstack/react-devtools": "^0.10.5",
|
|
27
27
|
"@tanstack/react-hotkeys": "^0.10.0",
|
|
28
28
|
"@tanstack/react-hotkeys-devtools": "^0.7.0",
|
|
@@ -61,8 +61,7 @@
|
|
|
61
61
|
"tailwind-merge": "^3.6.0",
|
|
62
62
|
"tailwindcss": "^4.3.0",
|
|
63
63
|
"tw-animate-css": "^1.4.0",
|
|
64
|
-
"vaul": "^1.1.2"
|
|
65
|
-
"zod": "^4.4.3"
|
|
64
|
+
"vaul": "^1.1.2"
|
|
66
65
|
},
|
|
67
66
|
"devDependencies": {
|
|
68
67
|
"@assetpack/core": "^1.7.0",
|
|
@@ -76,8 +75,8 @@
|
|
|
76
75
|
"@vitejs/plugin-react": "^6.0.2",
|
|
77
76
|
"globals": "^17.6.0",
|
|
78
77
|
"typescript": "~6.0.3",
|
|
79
|
-
"vite": "^8.0.
|
|
80
|
-
"vite-plugin-checker": "
|
|
78
|
+
"vite": "^8.0.16",
|
|
79
|
+
"vite-plugin-checker": "0.14.1",
|
|
81
80
|
"vite-plugin-pwa": "^1.3.0"
|
|
82
81
|
},
|
|
83
82
|
"keywords": [
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { routeTree } from "@/routeTree.gen";
|
|
2
|
-
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
|
3
|
-
import { createRouter, RouterProvider } from "@tanstack/react-router";
|
|
4
|
-
|
|
5
|
-
const queryClient = new QueryClient();
|
|
6
|
-
const router = createRouter({
|
|
7
|
-
routeTree,
|
|
8
|
-
defaultPreload: "intent",
|
|
9
|
-
scrollRestoration: true,
|
|
10
|
-
context: { queryClient },
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
declare module "@tanstack/react-router" {
|
|
14
|
-
interface Register {
|
|
15
|
-
router: typeof router;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export default function App() {
|
|
20
|
-
return (
|
|
21
|
-
<QueryClientProvider client={queryClient}>
|
|
22
|
-
<RouterProvider router={router} />
|
|
23
|
-
</QueryClientProvider>
|
|
24
|
-
);
|
|
25
|
-
}
|
|
1
|
+
import { routeTree } from "@/routeTree.gen";
|
|
2
|
+
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
|
3
|
+
import { createRouter, RouterProvider } from "@tanstack/react-router";
|
|
4
|
+
|
|
5
|
+
const queryClient = new QueryClient();
|
|
6
|
+
const router = createRouter({
|
|
7
|
+
routeTree,
|
|
8
|
+
defaultPreload: "intent",
|
|
9
|
+
scrollRestoration: true,
|
|
10
|
+
context: { queryClient },
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
declare module "@tanstack/react-router" {
|
|
14
|
+
interface Register {
|
|
15
|
+
router: typeof router;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export default function App() {
|
|
20
|
+
return (
|
|
21
|
+
<QueryClientProvider client={queryClient}>
|
|
22
|
+
<RouterProvider router={router} />
|
|
23
|
+
</QueryClientProvider>
|
|
24
|
+
);
|
|
25
|
+
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import generatedManifestJson from "@/assets/manifest.gen.json";
|
|
2
2
|
import { AUDIO_BUNDLE_NAME } from "@/constants";
|
|
3
|
+
import { secondPart } from "@/content/labels/second.label";
|
|
4
|
+
import { startLabel } from "@/content/labels/start.label";
|
|
3
5
|
import type { FileRouteTypes } from "@/routeTree.gen";
|
|
4
6
|
import type { AssetsManifest } from "@drincs/pixi-vn";
|
|
5
7
|
|
|
@@ -35,7 +37,7 @@ export const manifest: AssetsManifest = {
|
|
|
35
37
|
},
|
|
36
38
|
// labels
|
|
37
39
|
{
|
|
38
|
-
name:
|
|
40
|
+
name: startLabel.id,
|
|
39
41
|
assets: [
|
|
40
42
|
{
|
|
41
43
|
alias: "bg01-hallway",
|
|
@@ -44,7 +46,7 @@ export const manifest: AssetsManifest = {
|
|
|
44
46
|
],
|
|
45
47
|
},
|
|
46
48
|
{
|
|
47
|
-
name:
|
|
49
|
+
name: secondPart.id,
|
|
48
50
|
assets: [
|
|
49
51
|
{
|
|
50
52
|
alias: "bg02-dorm",
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Spinner } from "@/components/ui/spinner";
|
|
2
|
-
import { motion } from "motion/react";
|
|
3
2
|
|
|
4
3
|
export function PendingComponent() {
|
|
5
4
|
return (
|
|
@@ -12,49 +11,11 @@ export function PendingComponent() {
|
|
|
12
11
|
}
|
|
13
12
|
|
|
14
13
|
export function AnimatedDots() {
|
|
15
|
-
const dots = [
|
|
16
|
-
{ id: "dot-1", char: "." },
|
|
17
|
-
{ id: "dot-2", char: "." },
|
|
18
|
-
{ id: "dot-3", char: "." },
|
|
19
|
-
]; // I caratteri da animare
|
|
20
|
-
|
|
21
14
|
return (
|
|
22
|
-
<
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
initial="closed"
|
|
28
|
-
animate="open"
|
|
29
|
-
>
|
|
30
|
-
{dots.map((dot) => (
|
|
31
|
-
<motion.span
|
|
32
|
-
key={dot.id}
|
|
33
|
-
initial={{ y: 0 }}
|
|
34
|
-
variants={{
|
|
35
|
-
open: {
|
|
36
|
-
y: 5,
|
|
37
|
-
transition: {
|
|
38
|
-
repeat: Infinity,
|
|
39
|
-
duration: 0.5,
|
|
40
|
-
ease: "easeInOut",
|
|
41
|
-
repeatType: "reverse",
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
closed: {
|
|
45
|
-
y: 0,
|
|
46
|
-
transition: {
|
|
47
|
-
repeat: Infinity,
|
|
48
|
-
duration: 0.5,
|
|
49
|
-
ease: "easeInOut",
|
|
50
|
-
repeatType: "reverse",
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
}}
|
|
54
|
-
>
|
|
55
|
-
{dot.char}
|
|
56
|
-
</motion.span>
|
|
57
|
-
))}
|
|
58
|
-
</motion.span>
|
|
15
|
+
<span className="flex pointer-events-none select-none">
|
|
16
|
+
<span className="animate-bounce [animation-delay:0s]">.</span>
|
|
17
|
+
<span className="animate-bounce [animation-delay:0.2s]">.</span>
|
|
18
|
+
<span className="animate-bounce [animation-delay:0.4s]">.</span>
|
|
19
|
+
</span>
|
|
59
20
|
);
|
|
60
21
|
}
|
|
@@ -19,7 +19,7 @@ export function About() {
|
|
|
19
19
|
<span className="font-medium text-muted-foreground">
|
|
20
20
|
{t("powered_by")}{" "}
|
|
21
21
|
<a
|
|
22
|
-
href="https://pixi-vn.
|
|
22
|
+
href="https://pixi-vn.com"
|
|
23
23
|
target="_blank"
|
|
24
24
|
rel="noopener noreferrer"
|
|
25
25
|
className="underline hover:text-foreground"
|
|
@@ -27,7 +27,7 @@ export function QuickTools() {
|
|
|
27
27
|
const autoEnabled = useSelector(AutoSettings.store, (state) => state.enabled);
|
|
28
28
|
const queryClient = useQueryClient();
|
|
29
29
|
const { data: lastSave = null } = useQueryLastSave();
|
|
30
|
-
const { data: canGoBack =
|
|
30
|
+
const { data: canGoBack = false } = useQueryCanGoBack();
|
|
31
31
|
const nextStepLoading = useSelector(GameStatus.store, (state) => state.loading);
|
|
32
32
|
const { goBack } = useNarrationFunctions();
|
|
33
33
|
const { openAlertDialog } = useAlertDialog();
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AnimatedDots } from "@/components/loading";
|
|
2
2
|
import { QuickTools } from "@/components/quick-tools";
|
|
3
|
-
import { AspectRatio } from "@/components/ui/aspect-ratio";
|
|
4
3
|
import { Card, CardContent } from "@/components/ui/card";
|
|
5
4
|
import { Image } from "@/components/ui/image";
|
|
6
5
|
import { ResizableHandle, ResizablePanel, ResizablePanelGroup } from "@/components/ui/resizable";
|
|
@@ -127,8 +126,8 @@ export function Text({ paragraphRef }: { paragraphRef: RefObject<HTMLDivElement
|
|
|
127
126
|
|
|
128
127
|
export function CharacterIcon({ alt, icon }: { icon: string; alt: string }) {
|
|
129
128
|
return (
|
|
130
|
-
<
|
|
129
|
+
<div className="h-full w-full">
|
|
131
130
|
<Image src={icon} layout="fullWidth" alt={alt} className="h-full w-full object-cover" />
|
|
132
|
-
</
|
|
131
|
+
</div>
|
|
133
132
|
);
|
|
134
133
|
}
|