create-pixifact 0.18.0 → 0.19.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.
Files changed (45) hide show
  1. package/README.md +11 -0
  2. package/dist/createPixifactProject.d.ts +3 -2
  3. package/dist/index.js +33 -13
  4. package/dist/skills/pixifact/SKILL.md +27 -4
  5. package/dist/skills/pixifact/agents/openai.yaml +2 -2
  6. package/dist/skills/pixifact/references/scene-authoring-decisions.md +2 -0
  7. package/dist/skills/pixifact/references/scene-hierarchy-patterns.md +38 -0
  8. package/dist/skills/pixifact/references/scene-objects.md +40 -2
  9. package/package.json +5 -2
  10. package/templates/game/.env +1 -0
  11. package/templates/game/README.md +119 -0
  12. package/templates/game/assets/ui/button.png +0 -0
  13. package/templates/game/assets/ui/panel.png +0 -0
  14. package/templates/game/bunfig.toml +1 -0
  15. package/templates/game/index.html +12 -0
  16. package/templates/game/package.json +24 -0
  17. package/templates/game/pixifact.project.json +11 -0
  18. package/templates/game/src/GameApp.ts +118 -0
  19. package/templates/game/src/core/GameSession.ts +43 -0
  20. package/templates/game/src/core/ScreenManager.ts +26 -0
  21. package/templates/game/src/core/WebRecordStore.ts +14 -0
  22. package/templates/game/src/main.ts +64 -0
  23. package/templates/game/src/screens/MainMenu.scene +57 -0
  24. package/templates/game/src/screens/MainMenu.ts +101 -0
  25. package/templates/game/src/screens/PlayScreen.scene +13 -0
  26. package/templates/game/src/screens/PlayScreen.ts +31 -0
  27. package/templates/game/src/screens/ResultScreen.scene +13 -0
  28. package/templates/game/src/screens/ResultScreen.ts +25 -0
  29. package/templates/game/src/styles.css +21 -0
  30. package/templates/game/src/ui/Button.scene +10 -0
  31. package/templates/game/src/ui/Button.ts +84 -0
  32. package/templates/game/src/ui/Dialog.scene +10 -0
  33. package/templates/game/src/ui/Dialog.ts +31 -0
  34. package/templates/game/src/ui/Panel.scene +7 -0
  35. package/templates/game/src/ui/Panel.ts +11 -0
  36. package/templates/game/src/ui/ProgressBar.scene +4 -0
  37. package/templates/game/src/ui/ProgressBar.ts +25 -0
  38. package/templates/game/src/ui/nine/ButtonBackground.scene +3 -0
  39. package/templates/game/src/ui/nine/ButtonBackground.ts +5 -0
  40. package/templates/game/src/ui/nine/PanelBackground.scene +3 -0
  41. package/templates/game/src/ui/nine/PanelBackground.ts +5 -0
  42. package/templates/game/src/vite-env.d.ts +2 -0
  43. package/templates/game/tsconfig.json +15 -0
  44. package/templates/game/vite.config.ts +9 -0
  45. package/templates/minimal/package.json +2 -2
@@ -0,0 +1,15 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ESNext",
4
+ "module": "ESNext",
5
+ "moduleResolution": "Bundler",
6
+ "strict": true,
7
+ "experimentalDecorators": true,
8
+ "useDefineForClassFields": true,
9
+ "resolveJsonModule": true,
10
+ "allowSyntheticDefaultImports": true,
11
+ "lib": ["ESNext", "DOM"],
12
+ "skipLibCheck": true
13
+ },
14
+ "include": ["src/**/*.ts"]
15
+ }
@@ -0,0 +1,9 @@
1
+ import { defineConfig } from 'vite';
2
+ import { pixifact, pixifactRuntimePlugin } from 'pixifact/compiler-node';
3
+
4
+ export default defineConfig({
5
+ plugins: [
6
+ pixifact(),
7
+ pixifactRuntimePlugin(),
8
+ ],
9
+ });
@@ -12,10 +12,10 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "pixi.js": "8.18.1",
15
- "pixifact": "^0.18.0"
15
+ "pixifact": "^0.19.0"
16
16
  },
17
17
  "devDependencies": {
18
- "pixifact-cli": "^0.18.0",
18
+ "pixifact-cli": "^0.19.0",
19
19
  "typescript": "^5.3.3",
20
20
  "vite": "^8.0.10"
21
21
  }