@pix3/cli 1.6.0 → 1.6.2
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/LICENSE +201 -201
- package/README.md +788 -754
- package/dist/index.js +208 -203
- package/dist/runtime-types.json +1 -1
- package/dist/smoke/prebuilt/{chunk-J2SJVMDO.mjs → chunk-7MZGPAUK.mjs} +1 -1
- package/dist/smoke/prebuilt/chunk-7WOFGLW3.mjs +239 -0
- package/dist/smoke/prebuilt/runtime.mjs +1 -1
- package/dist/smoke/prebuilt/smoke-worker.mjs +1 -1
- package/dist/smoke/prebuilt/tree-defaults.mjs +1 -1
- package/dist/validate/prebuilt/bundle-main.js +13 -13
- package/dist/validate/prebuilt/chunk-HKG6YI6Y.js +239 -0
- package/dist/validate/prebuilt/runtime.js +1 -1
- package/kit/files/.claude/skills/pix3-nodes/SKILL.md +210 -210
- package/kit/files/.claude/skills/pix3-nodes/reference.md +32 -24
- package/kit/files/.claude/skills/pix3-scene-format/SKILL.md +238 -235
- package/kit/files/.claude/skills/pix3-scene-format/reference.md +28 -28
- package/kit/files/.claude/skills/pix3-scripts/SKILL.md +285 -281
- package/kit/files/.claude/skills/pix3-scripts/reference.md +69 -52
- package/kit/files/.claude/skills/pix3-verify/SKILL.md +298 -256
- package/kit/files/.claude/skills/pix3-verify/reference.md +21 -21
- package/kit/files/AGENTS.md +203 -203
- package/kit/files/CLAUDE.md +1 -1
- package/kit/kit.json +2 -2
- package/package.json +54 -54
- package/templates/empty-2d/files/README.md +20 -20
- package/templates/empty-2d/files/scenes/main.pix3scene +68 -68
- package/templates/empty-2d/template.yaml +7 -7
- package/templates/empty-3d/files/README.md +20 -20
- package/templates/empty-3d/files/scenes/main.pix3scene +108 -108
- package/templates/empty-3d/template.yaml +7 -7
- package/templates/idea-blank/files/README.md +22 -22
- package/templates/idea-blank/files/scenes/main.pix3scene +37 -37
- package/templates/idea-blank/template.yaml +10 -10
- package/templates/minigame-2d/files/README.md +44 -44
- package/templates/minigame-2d/files/design/tests/reachability.json +1 -1
- package/templates/minigame-2d/files/design/tests/routines/mute-music.json +44 -44
- package/templates/minigame-2d/files/scenes/main.pix3scene +84 -84
- package/templates/minigame-2d/files/scenes/menu.pix3scene +118 -118
- package/templates/minigame-2d/files/scenes/ui/settings-window.pix3scene +138 -138
- package/templates/minigame-2d/files/scripts/GameFlow.ts +133 -133
- package/templates/minigame-2d/files/scripts/MenuFlow.ts +217 -217
- package/templates/minigame-2d/files/scripts/SettingsWindow.ts +198 -198
- package/templates/minigame-2d/template.yaml +10 -10
- package/templates/playable-2d/files/README.md +30 -30
- package/templates/playable-2d/files/design/recipe.md +83 -83
- package/templates/playable-2d/files/design/tests/reachability.json +4 -4
- package/templates/playable-2d/files/design/tests/routines/intro-to-cta.json +32 -32
- package/templates/playable-2d/files/scenes/main.pix3scene +111 -111
- package/templates/playable-2d/files/scenes/ui/end-screen.pix3scene +91 -91
- package/templates/playable-2d/files/scenes/ui/intro.pix3scene +65 -65
- package/templates/playable-2d/files/scripts/GameFlow.ts +256 -256
- package/templates/playable-2d/template.yaml +9 -9
- package/templates/playable-3d/files/README.md +32 -32
- package/templates/playable-3d/files/design/recipe.md +127 -127
- package/templates/playable-3d/files/design/tests/reachability.json +4 -4
- package/templates/playable-3d/files/design/tests/routines/intro-to-cta.json +32 -32
- package/templates/playable-3d/files/scenes/main.pix3scene +230 -230
- package/templates/playable-3d/files/scenes/ui/end-screen.pix3scene +91 -91
- package/templates/playable-3d/files/scenes/ui/intro.pix3scene +65 -65
- package/templates/playable-3d/files/scripts/GameFlow.ts +309 -309
- package/templates/playable-3d/files/scripts/GameRules.ts +290 -290
- package/templates/playable-3d/files/scripts/ScoreHud.ts +113 -113
- package/templates/playable-3d/template.yaml +9 -9
- package/templates/recipe-arena-2d/files/README.md +48 -48
- package/templates/recipe-arena-2d/files/design/recipe.md +127 -127
- package/templates/recipe-arena-2d/files/scenes/main.pix3scene +292 -292
- package/templates/recipe-arena-2d/files/scenes/menu.pix3scene +100 -100
- package/templates/recipe-arena-2d/files/scenes/prefabs/hazard.pix3scene +42 -42
- package/templates/recipe-arena-2d/files/scenes/prefabs/pickup.pix3scene +45 -45
- package/templates/recipe-arena-2d/files/scenes/ui/result.pix3scene +85 -85
- package/templates/recipe-arena-2d/files/scripts/GameRules.ts +368 -368
- package/templates/recipe-arena-2d/files/scripts/MenuFlow.ts +106 -106
- package/templates/recipe-arena-2d/files/scripts/PlayerController.ts +151 -151
- package/templates/recipe-arena-2d/files/scripts/ScoreHud.ts +94 -94
- package/templates/recipe-arena-2d/files/scripts/Spawner.ts +214 -214
- package/templates/recipe-arena-2d/files/scripts/TouchRules.ts +174 -174
- package/templates/recipe-arena-2d/template.yaml +10 -10
- package/templates/recipe-blank-2d/files/README.md +61 -61
- package/templates/recipe-blank-2d/files/design/recipe.md +148 -148
- package/templates/recipe-blank-2d/files/design/tests/reachability.json +4 -4
- package/templates/recipe-blank-2d/files/design/tests/routines/restart.json +27 -27
- package/templates/recipe-blank-2d/files/scenes/main.pix3scene +224 -224
- package/templates/recipe-blank-2d/files/scenes/ui/result.pix3scene +85 -85
- package/templates/recipe-blank-2d/files/scripts/GameRules.ts +350 -350
- package/templates/recipe-blank-2d/files/scripts/ScoreHud.ts +110 -110
- package/templates/recipe-blank-2d/template.yaml +10 -10
- package/templates/recipe-bouncer-2d/files/README.md +81 -81
- package/templates/recipe-bouncer-2d/files/design/recipe.md +146 -146
- package/templates/recipe-bouncer-2d/files/scenes/main.pix3scene +615 -615
- package/templates/recipe-bouncer-2d/files/scenes/menu.pix3scene +191 -191
- package/templates/recipe-bouncer-2d/files/scenes/ui/result.pix3scene +87 -87
- package/templates/recipe-bouncer-2d/files/scripts/BallBody.ts +298 -298
- package/templates/recipe-bouncer-2d/files/scripts/GameRules.ts +377 -377
- package/templates/recipe-bouncer-2d/files/scripts/MenuFlow.ts +109 -109
- package/templates/recipe-bouncer-2d/files/scripts/PaddleController.ts +112 -112
- package/templates/recipe-bouncer-2d/files/scripts/ScoreHud.ts +94 -94
- package/templates/recipe-bouncer-2d/files/scripts/TouchRules.ts +263 -263
- package/templates/recipe-bouncer-2d/files/scripts/ball-collision.ts +307 -307
- package/templates/recipe-bouncer-2d/template.yaml +10 -10
- package/templates/recipe-grid-3d/files/README.md +22 -22
- package/templates/recipe-grid-3d/files/design/recipe.md +110 -110
- package/templates/recipe-grid-3d/files/scenes/main.pix3scene +169 -169
- package/templates/recipe-grid-3d/files/scenes/menu.pix3scene +100 -100
- package/templates/recipe-grid-3d/files/scenes/ui/result.pix3scene +105 -105
- package/templates/recipe-grid-3d/files/scripts/GridBoard.ts +319 -319
- package/templates/recipe-grid-3d/files/scripts/GridRules.ts +278 -278
- package/templates/recipe-grid-3d/files/scripts/MenuFlow.ts +106 -106
- package/templates/recipe-grid-3d/files/scripts/ScoreHud.ts +94 -94
- package/templates/recipe-grid-3d/template.yaml +10 -10
- package/templates/recipe-tapper-2d/files/README.md +39 -39
- package/templates/recipe-tapper-2d/files/design/recipe.md +132 -132
- package/templates/recipe-tapper-2d/files/design/tests/reachability.json +4 -4
- package/templates/recipe-tapper-2d/files/design/tests/routines/terminal-retry.json +23 -23
- package/templates/recipe-tapper-2d/files/scenes/main.pix3scene +269 -269
- package/templates/recipe-tapper-2d/files/scenes/menu.pix3scene +100 -100
- package/templates/recipe-tapper-2d/files/scenes/prefabs/hazard.pix3scene +42 -42
- package/templates/recipe-tapper-2d/files/scenes/prefabs/target.pix3scene +45 -45
- package/templates/recipe-tapper-2d/files/scenes/ui/result.pix3scene +85 -85
- package/templates/recipe-tapper-2d/files/scripts/GameRules.ts +368 -368
- package/templates/recipe-tapper-2d/files/scripts/MenuFlow.ts +106 -106
- package/templates/recipe-tapper-2d/files/scripts/ScoreHud.ts +94 -94
- package/templates/recipe-tapper-2d/files/scripts/Spawner.ts +214 -214
- package/templates/recipe-tapper-2d/files/scripts/TouchRules.ts +192 -192
- package/templates/recipe-tapper-2d/template.yaml +10 -10
- package/dist/smoke/prebuilt/chunk-OJXQXIIQ.mjs +0 -239
- package/dist/validate/prebuilt/chunk-BS2OZM7U.js +0 -239
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
# Pix3 Scene File (YAML)
|
|
2
|
-
# Playable 3D — the tap-to-start INTRO overlay, in its own file so the
|
|
3
|
-
# game scene opens clean. `main.pix3scene` carries it as a one-line `instance:`
|
|
4
|
-
# reference marked `visible: false`, which hides it in the EDITOR only.
|
|
5
|
-
# `initiallyVisible: true` below is what play mode reads, so the gate is UP at
|
|
6
|
-
# t=0 — in an ad container that first tap is what unlocks browser audio.
|
|
7
|
-
# `user:GameFlow` hides it on the first tap.
|
|
8
|
-
#
|
|
9
|
-
# Edit it here, full-screen, in its own tab. To preview it composited over the
|
|
10
|
-
# game, tick the eye on `intro-overlay` in main.pix3scene — just do not commit
|
|
11
|
-
# that tick, or every iteration starts behind the dim again.
|
|
12
|
-
#
|
|
13
|
-
# Stable node ids (design/recipe.md is the contract — do not rename these):
|
|
14
|
-
# intro-overlay, intro-dim, intro-label
|
|
15
|
-
version: 1.0.0
|
|
16
|
-
metadata:
|
|
17
|
-
author: Pix3 Template
|
|
18
|
-
description: Intro overlay — dim plus a TAP TO START label
|
|
19
|
-
root:
|
|
20
|
-
- id: intro-overlay
|
|
21
|
-
type: Group2D
|
|
22
|
-
name: Intro Overlay
|
|
23
|
-
properties:
|
|
24
|
-
width: 1080
|
|
25
|
-
height: 1920
|
|
26
|
-
initiallyVisible: true
|
|
27
|
-
layout:
|
|
28
|
-
enabled: true
|
|
29
|
-
horizontalAlign: stretch
|
|
30
|
-
verticalAlign: stretch
|
|
31
|
-
children:
|
|
32
|
-
- id: intro-dim
|
|
33
|
-
type: ColorRect2D
|
|
34
|
-
name: Intro Dim
|
|
35
|
-
properties:
|
|
36
|
-
width: 1080
|
|
37
|
-
height: 1920
|
|
38
|
-
color: "#000000"
|
|
39
|
-
opacity: 0.65
|
|
40
|
-
transform:
|
|
41
|
-
position: [0, 0]
|
|
42
|
-
scale: [1, 1]
|
|
43
|
-
rotation: 0
|
|
44
|
-
layout:
|
|
45
|
-
enabled: true
|
|
46
|
-
horizontalAlign: stretch
|
|
47
|
-
verticalAlign: stretch
|
|
48
|
-
children: []
|
|
49
|
-
- id: intro-label
|
|
50
|
-
type: Label2D
|
|
51
|
-
name: Tap To Start
|
|
52
|
-
properties:
|
|
53
|
-
label: "TAP TO START"
|
|
54
|
-
labelFontSize: 72
|
|
55
|
-
labelColor: "#ffffff"
|
|
56
|
-
labelAlign: center
|
|
57
|
-
transform:
|
|
58
|
-
position: [0, 0]
|
|
59
|
-
scale: [1, 1]
|
|
60
|
-
rotation: 0
|
|
61
|
-
layout:
|
|
62
|
-
enabled: true
|
|
63
|
-
horizontalAlign: center
|
|
64
|
-
verticalAlign: center
|
|
65
|
-
children: []
|
|
1
|
+
# Pix3 Scene File (YAML)
|
|
2
|
+
# Playable 3D — the tap-to-start INTRO overlay, in its own file so the
|
|
3
|
+
# game scene opens clean. `main.pix3scene` carries it as a one-line `instance:`
|
|
4
|
+
# reference marked `visible: false`, which hides it in the EDITOR only.
|
|
5
|
+
# `initiallyVisible: true` below is what play mode reads, so the gate is UP at
|
|
6
|
+
# t=0 — in an ad container that first tap is what unlocks browser audio.
|
|
7
|
+
# `user:GameFlow` hides it on the first tap.
|
|
8
|
+
#
|
|
9
|
+
# Edit it here, full-screen, in its own tab. To preview it composited over the
|
|
10
|
+
# game, tick the eye on `intro-overlay` in main.pix3scene — just do not commit
|
|
11
|
+
# that tick, or every iteration starts behind the dim again.
|
|
12
|
+
#
|
|
13
|
+
# Stable node ids (design/recipe.md is the contract — do not rename these):
|
|
14
|
+
# intro-overlay, intro-dim, intro-label
|
|
15
|
+
version: 1.0.0
|
|
16
|
+
metadata:
|
|
17
|
+
author: Pix3 Template
|
|
18
|
+
description: Intro overlay — dim plus a TAP TO START label
|
|
19
|
+
root:
|
|
20
|
+
- id: intro-overlay
|
|
21
|
+
type: Group2D
|
|
22
|
+
name: Intro Overlay
|
|
23
|
+
properties:
|
|
24
|
+
width: 1080
|
|
25
|
+
height: 1920
|
|
26
|
+
initiallyVisible: true
|
|
27
|
+
layout:
|
|
28
|
+
enabled: true
|
|
29
|
+
horizontalAlign: stretch
|
|
30
|
+
verticalAlign: stretch
|
|
31
|
+
children:
|
|
32
|
+
- id: intro-dim
|
|
33
|
+
type: ColorRect2D
|
|
34
|
+
name: Intro Dim
|
|
35
|
+
properties:
|
|
36
|
+
width: 1080
|
|
37
|
+
height: 1920
|
|
38
|
+
color: "#000000"
|
|
39
|
+
opacity: 0.65
|
|
40
|
+
transform:
|
|
41
|
+
position: [0, 0]
|
|
42
|
+
scale: [1, 1]
|
|
43
|
+
rotation: 0
|
|
44
|
+
layout:
|
|
45
|
+
enabled: true
|
|
46
|
+
horizontalAlign: stretch
|
|
47
|
+
verticalAlign: stretch
|
|
48
|
+
children: []
|
|
49
|
+
- id: intro-label
|
|
50
|
+
type: Label2D
|
|
51
|
+
name: Tap To Start
|
|
52
|
+
properties:
|
|
53
|
+
label: "TAP TO START"
|
|
54
|
+
labelFontSize: 72
|
|
55
|
+
labelColor: "#ffffff"
|
|
56
|
+
labelAlign: center
|
|
57
|
+
transform:
|
|
58
|
+
position: [0, 0]
|
|
59
|
+
scale: [1, 1]
|
|
60
|
+
rotation: 0
|
|
61
|
+
layout:
|
|
62
|
+
enabled: true
|
|
63
|
+
horizontalAlign: center
|
|
64
|
+
verticalAlign: center
|
|
65
|
+
children: []
|