@pix3/cli 1.6.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.
- package/LICENSE +201 -0
- package/README.md +754 -0
- package/dist/index.js +494 -0
- package/dist/runtime-types.json +1 -0
- package/dist/smoke/prebuilt/build-7MIXIMSZ.mjs +948 -0
- package/dist/smoke/prebuilt/chunk-J2SJVMDO.mjs +2 -0
- package/dist/smoke/prebuilt/chunk-OJXQXIIQ.mjs +239 -0
- package/dist/smoke/prebuilt/chunk-P2CBRXPJ.mjs +4050 -0
- package/dist/smoke/prebuilt/runtime.mjs +2 -0
- package/dist/smoke/prebuilt/smoke-worker.mjs +3 -0
- package/dist/smoke/prebuilt/three.mjs +2 -0
- package/dist/smoke/prebuilt/tree-defaults.mjs +2 -0
- package/dist/validate/prebuilt/build-AUGKXER3.js +948 -0
- package/dist/validate/prebuilt/bundle-main.js +24 -0
- package/dist/validate/prebuilt/chunk-6ACT6FNV.js +4050 -0
- package/dist/validate/prebuilt/chunk-BS2OZM7U.js +239 -0
- package/dist/validate/prebuilt/runtime.js +2 -0
- package/dist/validate/prebuilt/three.js +2 -0
- package/kit/files/.claude/skills/pix3-nodes/SKILL.md +210 -0
- package/kit/files/.claude/skills/pix3-nodes/reference.md +1331 -0
- package/kit/files/.claude/skills/pix3-scene-format/SKILL.md +235 -0
- package/kit/files/.claude/skills/pix3-scene-format/reference.md +176 -0
- package/kit/files/.claude/skills/pix3-scripts/SKILL.md +281 -0
- package/kit/files/.claude/skills/pix3-scripts/reference.md +638 -0
- package/kit/files/.claude/skills/pix3-verify/SKILL.md +386 -0
- package/kit/files/.claude/skills/pix3-verify/reference.md +21 -0
- package/kit/files/AGENTS.md +203 -0
- package/kit/files/CLAUDE.md +1 -0
- package/kit/kit.json +24 -0
- package/package.json +54 -0
- package/templates/empty-2d/files/README.md +20 -0
- package/templates/empty-2d/files/scenes/main.pix3scene +68 -0
- package/templates/empty-2d/files/sprites/pix3-logo.png +0 -0
- package/templates/empty-2d/template.yaml +7 -0
- package/templates/empty-3d/files/README.md +20 -0
- package/templates/empty-3d/files/scenes/main.pix3scene +108 -0
- package/templates/empty-3d/files/sprites/pix3-logo.png +0 -0
- package/templates/empty-3d/template.yaml +7 -0
- package/templates/idea-blank/files/README.md +22 -0
- package/templates/idea-blank/files/scenes/main.pix3scene +37 -0
- package/templates/idea-blank/template.yaml +10 -0
- package/templates/minigame-2d/files/README.md +44 -0
- package/templates/minigame-2d/files/design/tests/reachability.json +1 -0
- package/templates/minigame-2d/files/design/tests/routines/mute-music.json +44 -0
- package/templates/minigame-2d/files/scenes/main.pix3scene +84 -0
- package/templates/minigame-2d/files/scenes/menu.pix3scene +118 -0
- package/templates/minigame-2d/files/scenes/ui/settings-window.pix3scene +138 -0
- package/templates/minigame-2d/files/scripts/GameFlow.ts +133 -0
- package/templates/minigame-2d/files/scripts/MenuFlow.ts +217 -0
- package/templates/minigame-2d/files/scripts/SettingsWindow.ts +198 -0
- package/templates/minigame-2d/template.yaml +10 -0
- package/templates/playable-2d/files/README.md +30 -0
- package/templates/playable-2d/files/design/recipe.md +83 -0
- package/templates/playable-2d/files/design/tests/reachability.json +4 -0
- package/templates/playable-2d/files/design/tests/routines/intro-to-cta.json +32 -0
- package/templates/playable-2d/files/scenes/main.pix3scene +111 -0
- package/templates/playable-2d/files/scenes/ui/end-screen.pix3scene +91 -0
- package/templates/playable-2d/files/scenes/ui/intro.pix3scene +65 -0
- package/templates/playable-2d/files/scripts/CtaButton.ts +55 -0
- package/templates/playable-2d/files/scripts/GameFlow.ts +256 -0
- package/templates/playable-2d/files/sprites/pix3-logo.png +0 -0
- package/templates/playable-2d/template.yaml +9 -0
- package/templates/playable-3d/files/README.md +32 -0
- package/templates/playable-3d/files/design/recipe.md +127 -0
- package/templates/playable-3d/files/design/tests/reachability.json +4 -0
- package/templates/playable-3d/files/design/tests/routines/intro-to-cta.json +32 -0
- package/templates/playable-3d/files/scenes/main.pix3scene +230 -0
- package/templates/playable-3d/files/scenes/ui/end-screen.pix3scene +91 -0
- package/templates/playable-3d/files/scenes/ui/intro.pix3scene +65 -0
- package/templates/playable-3d/files/scripts/CtaButton.ts +55 -0
- package/templates/playable-3d/files/scripts/GameFlow.ts +309 -0
- package/templates/playable-3d/files/scripts/GameRules.ts +290 -0
- package/templates/playable-3d/files/scripts/ScoreHud.ts +113 -0
- package/templates/playable-3d/template.yaml +9 -0
- package/templates/recipe-arena-2d/files/README.md +48 -0
- package/templates/recipe-arena-2d/files/design/recipe.md +127 -0
- package/templates/recipe-arena-2d/files/design/tests/reachability.json +4 -0
- package/templates/recipe-arena-2d/files/design/tests/routines/terminal-retry.json +23 -0
- package/templates/recipe-arena-2d/files/scenes/main.pix3scene +292 -0
- package/templates/recipe-arena-2d/files/scenes/menu.pix3scene +100 -0
- package/templates/recipe-arena-2d/files/scenes/prefabs/hazard.pix3scene +42 -0
- package/templates/recipe-arena-2d/files/scenes/prefabs/pickup.pix3scene +45 -0
- package/templates/recipe-arena-2d/files/scenes/ui/result.pix3scene +85 -0
- package/templates/recipe-arena-2d/files/scripts/GameRules.ts +368 -0
- package/templates/recipe-arena-2d/files/scripts/MenuFlow.ts +106 -0
- package/templates/recipe-arena-2d/files/scripts/PlayerController.ts +151 -0
- package/templates/recipe-arena-2d/files/scripts/ScoreHud.ts +94 -0
- package/templates/recipe-arena-2d/files/scripts/Spawner.ts +214 -0
- package/templates/recipe-arena-2d/files/scripts/TouchRules.ts +174 -0
- package/templates/recipe-arena-2d/files/sprites/ph-avatar.png +0 -0
- package/templates/recipe-arena-2d/files/sprites/ph-hazard.png +0 -0
- package/templates/recipe-arena-2d/files/sprites/ph-pickup.png +0 -0
- package/templates/recipe-arena-2d/template.yaml +10 -0
- package/templates/recipe-blank-2d/files/README.md +61 -0
- package/templates/recipe-blank-2d/files/design/recipe.md +148 -0
- package/templates/recipe-blank-2d/files/design/tests/reachability.json +4 -0
- package/templates/recipe-blank-2d/files/design/tests/routines/restart.json +27 -0
- package/templates/recipe-blank-2d/files/design/tests/routines/terminal-retry.json +23 -0
- package/templates/recipe-blank-2d/files/scenes/main.pix3scene +224 -0
- package/templates/recipe-blank-2d/files/scenes/ui/result.pix3scene +85 -0
- package/templates/recipe-blank-2d/files/scripts/GameRules.ts +350 -0
- package/templates/recipe-blank-2d/files/scripts/ScoreHud.ts +110 -0
- package/templates/recipe-blank-2d/files/sprites/ph-bg.png +0 -0
- package/templates/recipe-blank-2d/files/sprites/ph-capsule.png +0 -0
- package/templates/recipe-blank-2d/files/sprites/ph-circle.png +0 -0
- package/templates/recipe-blank-2d/files/sprites/ph-orb.png +0 -0
- package/templates/recipe-blank-2d/files/sprites/ph-ring.png +0 -0
- package/templates/recipe-blank-2d/files/sprites/ph-star.png +0 -0
- package/templates/recipe-blank-2d/template.yaml +10 -0
- package/templates/recipe-bouncer-2d/files/README.md +81 -0
- package/templates/recipe-bouncer-2d/files/design/recipe.md +146 -0
- package/templates/recipe-bouncer-2d/files/design/tests/reachability.json +4 -0
- package/templates/recipe-bouncer-2d/files/design/tests/routines/terminal-retry.json +23 -0
- package/templates/recipe-bouncer-2d/files/scenes/main.pix3scene +615 -0
- package/templates/recipe-bouncer-2d/files/scenes/menu.pix3scene +191 -0
- package/templates/recipe-bouncer-2d/files/scenes/ui/result.pix3scene +87 -0
- package/templates/recipe-bouncer-2d/files/scripts/BallBody.ts +298 -0
- package/templates/recipe-bouncer-2d/files/scripts/GameRules.ts +377 -0
- package/templates/recipe-bouncer-2d/files/scripts/MenuFlow.ts +109 -0
- package/templates/recipe-bouncer-2d/files/scripts/PaddleController.ts +112 -0
- package/templates/recipe-bouncer-2d/files/scripts/ScoreHud.ts +94 -0
- package/templates/recipe-bouncer-2d/files/scripts/TouchRules.ts +263 -0
- package/templates/recipe-bouncer-2d/files/scripts/ball-collision.ts +307 -0
- package/templates/recipe-bouncer-2d/files/sprites/ph-ball.png +0 -0
- package/templates/recipe-bouncer-2d/files/sprites/ph-bg.png +0 -0
- package/templates/recipe-bouncer-2d/files/sprites/ph-bumper.png +0 -0
- package/templates/recipe-bouncer-2d/files/sprites/ph-paddle.png +0 -0
- package/templates/recipe-bouncer-2d/template.yaml +10 -0
- package/templates/recipe-grid-3d/files/README.md +22 -0
- package/templates/recipe-grid-3d/files/design/recipe.md +110 -0
- package/templates/recipe-grid-3d/files/scenes/main.pix3scene +169 -0
- package/templates/recipe-grid-3d/files/scenes/menu.pix3scene +100 -0
- package/templates/recipe-grid-3d/files/scenes/ui/result.pix3scene +105 -0
- package/templates/recipe-grid-3d/files/scripts/GridBoard.ts +319 -0
- package/templates/recipe-grid-3d/files/scripts/GridRules.ts +278 -0
- package/templates/recipe-grid-3d/files/scripts/MenuFlow.ts +106 -0
- package/templates/recipe-grid-3d/files/scripts/ScoreHud.ts +94 -0
- package/templates/recipe-grid-3d/template.yaml +10 -0
- package/templates/recipe-tapper-2d/files/README.md +39 -0
- package/templates/recipe-tapper-2d/files/design/recipe.md +132 -0
- package/templates/recipe-tapper-2d/files/design/tests/reachability.json +4 -0
- package/templates/recipe-tapper-2d/files/design/tests/routines/terminal-retry.json +23 -0
- package/templates/recipe-tapper-2d/files/scenes/main.pix3scene +269 -0
- package/templates/recipe-tapper-2d/files/scenes/menu.pix3scene +100 -0
- package/templates/recipe-tapper-2d/files/scenes/prefabs/hazard.pix3scene +42 -0
- package/templates/recipe-tapper-2d/files/scenes/prefabs/target.pix3scene +45 -0
- package/templates/recipe-tapper-2d/files/scenes/ui/result.pix3scene +85 -0
- package/templates/recipe-tapper-2d/files/scripts/GameRules.ts +368 -0
- package/templates/recipe-tapper-2d/files/scripts/MenuFlow.ts +106 -0
- package/templates/recipe-tapper-2d/files/scripts/ScoreHud.ts +94 -0
- package/templates/recipe-tapper-2d/files/scripts/Spawner.ts +214 -0
- package/templates/recipe-tapper-2d/files/scripts/TouchRules.ts +192 -0
- package/templates/recipe-tapper-2d/files/sprites/ph-hazard.png +0 -0
- package/templates/recipe-tapper-2d/files/sprites/ph-target.png +0 -0
- package/templates/recipe-tapper-2d/template.yaml +10 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire as __pix3CreateRequire } from 'node:module'; const require = __pix3CreateRequire(import.meta.url);
|
|
2
|
+
import{$ as _,$a as $o,$b as $r,$c as $e,$d as om,$e as op,A as z,Aa as Ao,Ab as Ar,Ac as Ae,Ad as Bf,Ae as Bm,Af as Bp,B as A,Ba as Bo,Bb as Br,Bc as Be,Bd as Cf,Be as Cm,Bf as Cp,C as B,Ca as Co,Cb as Cr,Cc as Ce,Cd as Df,Ce as Dm,Cf as Dp,D as C,Da as Do,Db as Dr,Dc as De,Dd as Ef,De as Em,Df as Ep,E as D,Ea as Eo,Eb as Er,Ec as Ee,Ed as Ff,Ee as Fm,Ef as Fp,F as E,Fa as Fo,Fb as Fr,Fc as Fe,Fd as Gf,Fe as Gm,Ff as Gp,G as F,Ga as Go,Gb as Gr,Gc as Ge,Gd as Hf,Ge as Hm,Gf as Hp,H as G,Ha as Ho,Hb as Hr,Hc as He,Hd as If,He as Im,Hf as Ip,I as H,Ia as Io,Ib as Ir,Ic as Ie,Id as Jf,Ie as Jm,If as Jp,J as I,Ja as Jo,Jb as Jr,Jc as Je,Jd as Kf,Je as Km,Jf as Kp,K as J,Ka as Ko,Kb as Kr,Kc as Ke,Kd as Lf,Ke as Lm,Kf as Lp,L as K,La as Lo,Lb as Lr,Lc as Le,Ld as Mf,Le as Mm,Lf as Mp,M as L,Ma as Mo,Mb as Mr,Mc as Me,Md as Nf,Me as Nm,Mf as Np,N as M,Na as No,Nb as Nr,Nc as Ne,Nd as Of,Ne as Om,Nf as Op,O as N,Oa as Oo,Ob as Or,Oc as Oe,Od as Pf,Oe as Pm,Of as Pp,P as O,Pa as Po,Pb as Pr,Pc as Pe,Pd as Qf,Pe as Qm,Pf as Qp,Q as P,Qa as Qo,Qb as Qr,Qc as Qe,Qd as Rf,Qe as Rm,Qf as Rp,R as Q,Ra as Ro,Rb as Rr,Rc as Re,Rd as Sf,Re as Sm,Rf as Sp,S as R,Sa as So,Sb as Sr,Sc as Se,Sd as Tf,Se as Tm,T as S,Ta as To,Tb as Tr,Tc as Te,Td as Uf,Te as Um,U as T,Ua as Uo,Ub as Ur,Uc as Ue,Ud as Vf,Ue as Vm,V as U,Va as Vo,Vb as Vr,Vc as Ve,Vd as Wf,Ve as Wm,W as V,Wa as Wo,Wb as Wr,Wc as We,Wd as Xf,We as Xm,X as W,Xa as Xo,Xb as Xr,Xc as Xe,Xd as Yf,Xe as Ym,Y as X,Ya as Yo,Yb as Yr,Yc as Ye,Yd as Zf,Ye as Zm,Z as Y,Za as Zo,Zb as Zr,Zc as Ze,Zd as _f,Ze as _m,_ as Z,_a as _o,_b as _r,_c as _e,_d as $f,_e as $m,aa as $,ab as or,ac as oe,ad as of,ae as rm,af as rp,b as o,ba as oo,bb as rr,bc as re,bd as rf,be as em,bf as ep,c as r,ca as ro,cb as er,cc as ee,cd as ef,ce as fm,cf as fp,d as e,da as eo,db as fr,dc as fe,dd as ff,de as mm,df as mp,e as f,ea as fo,eb as mr,ec as me,ed as mf,ee as pm,ef as pp,f as m,fa as mo,fb as pr,fc as pe,fd as pf,fe as tm,ff as tp,g as p,ga as po,gb as tr,gc as te,gd as tf,ge as xm,gf as xp,h as t,ha as to,hb as xr,hc as xe,hd as xf,he as am,hf as ap,i as x,ia as xo,ib as ar,ic as ae,id as af,ie as bm,if as bp,j as a,ja as ao,jb as br,jc as be,jd as bf,je as cm,jf as cp,k as b,ka as bo,kb as cr,kc as ce,kd as cf,ke as dm,kf as dp,l as c,la as co,lb as dr,lc as de,ld as df,le as gm,lf as gp,m as d,ma as go,mb as gr,mc as ge,md as gf,me as hm,mf as hp,n as g,na as ho,nb as hr,nc as he,nd as hf,ne as im,nf as ip,o as h,oa as io,ob as ir,oc as ie,od as jf,oe as jm,of as jp,p as i,pa as jo,pb as jr,pc as je,pd as kf,pe as km,pf as kp,q as j,qa as ko,qb as kr,qc as ke,qd as lf,qe as lm,qf as lp,r as k,ra as lo,rb as lr,rc as le,rd as nf,re as nm,rf as np,s as l,sa as no,sb as nr,sc as ne,sd as qf,se as qm,sf as qp,t as n,ta as qo,tb as qr,tc as qe,td as sf,te as sm,tf as sp,u as q,ua as so,ub as sr,uc as se,ud as uf,ue as um,uf as up,v as s,va as uo,vb as ur,vc as ue,vd as vf,ve as vm,vf as vp,w as u,wa as vo,wb as vr,wc as ve,wd as wf,we as wm,wf as wp,x as v,xa as wo,xb as wr,xc as we,xd as yf,xe as ym,xf as yp,y as w,ya as yo,yb as yr,yc as ye,yd as zf,ye as zm,yf as zp,z as y,za as zo,zb as zr,zc as ze,zd as Af,ze as Am,zf as Ap}from"./chunk-BS2OZM7U.js";import"./chunk-6ACT6FNV.js";export{Ke as AO_MODES,up as ATLAS_MANIFEST_PATH,oo as ATLAS_REGION_KEY,vp as ATLAS_SHEET_DIR,$ as ATLAS_SHEET_SCHEME,ro as ATLAS_SIZE_KEY,ko as AUDIO_BUS_NAMES,Hr as AmbientLightNode,hr as AnimatedSprite2D,Qr as AnimatedSprite3D,rp as AnimationPlayerBehavior,jo as AssetLoader,Im as AudioApi,ve as AudioPlayer,lo as AudioService,fr as BATCHABLE_2D_KEY,Jo as BLEND_MODES_2D,Ko as BLEND_MODE_2D_OPTIONS,Vo as BUILTIN_SHADER_EFFECTS,wm as BURST_MAX_PARTICLES,ae as Bar2D,mr as Batch2DSystem,Gp as BurstOnSignalBehavior,te as Button2D,Ar as CAMERA2D_DEFAULTS,Sf as CONTACT_MARGIN,Xe as CURRENT_SCENE_FORMAT_VERSION,Br as Camera2D,Ee as Camera3D,ep as CameraBrainBehavior,Dr as CanvasLayer2D,be as Checkbox2D,Lp as Collider2DBehavior,Rf as Collision2DService,kr as ColorRect2D,fp as CutsceneApi,Vm as DEFAULT_CLIP_DURATION,gp as DEFAULT_FIXED_DELTA_SEC,ye as DEFAULT_GEOMETRY_MATERIAL_TYPE,ip as DEFAULT_RUNTIME_TIME_CONFIG,k as DIRECTION_AXES_ENABLED_KEY,Er as DirectionalLightNode,Fe as EASING_NAMES,bp as ECSService,ff as EMOJI_GUARDED_TEXT_PROPERTIES,Cp as FadeBehavior,zm as FloatText2D,r as GAME_DEBUG_GLOBAL_KEY,ze as GEOMETRY_KINDS,we as GEOMETRY_MATERIAL_TYPES,sm as GameCommandRegistry,qm as GameTime,Ae as GeometryMesh,wr as Group2D,Or as HemisphereLightNode,Jp as Hitbox2DBehavior,ef as INSTANCE_TRANSFORM_KEYS,nf as InputService,Be as InstancedMesh3D,ce as InventorySlot2D,Wr as Joystick2D,Cm as JuiceApi,Ir as KNOWN_SCENE_NODE_TYPES,ie as LABEL_AUTO_SIZE_BLEED,je as LABEL_GLOW_STRENGTH_LIMIT,de as LABEL_H_ALIGN_VALUES,he as LABEL_LINE_HEIGHT_FACTOR,ge as LABEL_V_ALIGN_VALUES,ue as Label2D,mp as LocalizationService,Zf as MAX_NET_KIND,sf as MAX_POLYGON_VERTICES,hp as MAX_TICKS_PER_FRAME,Um as MIN_CLIP_DURATION,qf as MIN_POLYGON_VERTICES,L as MeshInstance,xm as NET_APP_FLAGS_SHIFT,tm as NET_OWNERSHIP_MASK,_f as NetKindTable,im as NetRoomVars,gm as NetworkConnectError,nm as NetworkNodeBinder,jm as NetworkService,dm as NetworkSpawnError,Op as NetworkedNodeBehavior,Po as Node2D,G as Node3D,F as NodeBase,re as OVERLAY_2D_FLAG,h as PHYSICS_DEBUG_ENABLED_KEY,c as PHYSICS_DEBUG_GLOBAL_KEY,Oe as POST_PROCESS_DEFAULTS,Le as PROJECT_AO_MODES,xf as PROJECT_SCRIPT_DIRECTORIES,af as PROJECT_SCRIPT_ENTRY_PATTERN,S as PROJECT_TEXTURE_FILTERING_MODES,ym as ParticleBurst2D,Rr as Particles3D,Xf as Physics2DService,Kp as PhysicsBody2DBehavior,Mp as PhysicsWorld2DBehavior,Bp as PinToNodeBehavior,Ep as PlaySoundBehavior,Fr as PointLightNode,vm as PopInBehavior,Pe as PostProcess,xp as PostProcessingPipeline,um as PunchScaleBehavior,x as RUNTIME_PROPERTY_SINK_GLOBAL_KEY,m as RUNTIME_SCENE_GLOBAL_KEY,Dp as RadialProgressBehavior,Yf as RejectCode,Pp as ReplicatedTransformBehavior,o as ResourceManager,Np as RevoluteJoint2DBehavior,yp as RotateBehavior,sp as RuntimeRenderer,_e as SCENE_COMPONENT_DEFINITION_KEYS,$e as SCENE_DISK_FORMAT_TYPES,Ye as SCENE_DOCUMENT_KEYS,Ze as SCENE_NODE_DEFINITION_KEYS,u as SCRIPT_ERROR_SINK_GLOBAL_KEY,me as SEMANTIC_POINTER_ID,Em as SFX_PRESETS,E as SHARED_UNIT_QUAD_GEOMETRY,y as SIGNAL_EMIT_SINK_GLOBAL_KEY,Te as SceneLoader,lf as SceneManager,qp as SceneRunner,kf as SceneSaver,pp as SceneService,Se as SceneValidationError,qo as Script,no as ScriptRegistry,fe as ScrollContainer2D,Fp as SfxOnSignalBehavior,Hm as SfxSynth,or as ShaderEffectStack,yr as ShakeBehavior,zp as SimpleMoveBehavior,Ap as SineBehavior,xe as Slider2D,jr as SpineSkeleton2D,ir as SpineSkeletonView,Gr as SpotLightNode,ar as Sprite2D,Pr as Sprite3D,Ce as TARGET_DISTANCE,q as TEST_COMPONENT_TYPE_PREFIX,Am as TRAIL_MAX_POINTS,vr as TiledSprite2D,Bm as Trail2D,Dm as TweenApi,pe as UIControl2D,bf as USER_SCRIPT_ID_PREFIX,Ie as VIRTUAL_CAMERA_DEFAULTS,Je as VirtualCamera3D,mm as WS_CLOSE_NORMAL,fm as WS_CLOSE_PROTOCOL_VIOLATION,pm as WsTransport,nr as ZERO_SLICE_BORDER,Oo as Z_INDEX_LIMIT,De as aimCameraNodeAt,Qe as aoModeUsesSSAO,No as applyBlendMode2DToMaterial,Tm as applyClipAtTime,He as applyEasing,ap as applyLocaleToTree,$r as applyTextStyle,Y as applyTextureRegionToTexture,ee as assign2DRenderOrder,K as assignWithoutSchemaRefresh,fo as atlasSizeOf,Ao as attachComponentDefinitions,eo as baseRegionOf,Mo as blendingForMode2D,Ef as boxPolygon,ur as buildSkinGeometry,lr as buildTiledSpriteGeometry,Gf as capsulePolygon,Jf as circleIntersectsPolygon,Ff as circlePolygon,Gm as clampSfxPitch,Af as cleanPolygon,Ym as coerceKeyframeValue,er as coerceTextureResource,Ro as coerceToPropertyType,Mm as collectAudioKeysInRange,P as collectClipPointNames,Co as collectComponentDefinitions,Nm as collectEventKeysInRange,Ue as collectRenderabilityIssues,Lm as collectTimedKeysInRange,Uf as collideCirclePolygon,Tf as collideCircles,Vf as collidePolygons,Zo as composeEffectShaders,Z as composeTextureRegion,W as configure2DTexture,Bf as convexHull,Mf as convexPolygonsIntersect,po as copyAtlasMetadata,to as createAtlasResolver,Sm as createClipBindings,$m as createDefaultClip,_m as createEmptyAnimationSet,Zr as cssFont,Xr as cssFontFamily,Yr as cssFontWeight,lm as decodeSignalPayload,Of as decomposeConvex,So as defineGroup,Qo as defineProperty,uo as describeFontFace,hm as describeRejectCode,D as describeThrown,Nr as describeUnknownNodeType,If as distanceToPolygonBoundary,_r as drawStyledText,Uo as effectSupportsTarget,km as encodeSignalPayload,zf as ensureCounterClockwise,Cr as findActiveCamera2D,R as findAnimationClip,O as findAnimationFramePoint,tf as findEmojiArtInSceneYaml,op as findKeyframeClip,Om as fireEventKey,Qm as fromSchemaValue,Xm as generateTrackId,tr as getActiveLocalization,Yo as getAllShaderEffectTypes,M as getAnimationFrameTexturePath,zo as getComponentSchemaProperties,f as getGameDebug,$f as getNetKindTable,Do as getNodePropertySchema,g as getPhysicsDebugSource,Ne as getProjectAODefault,V as getProjectTextureFiltering,Eo as getPropertiesByGroup,Fo as getPropertyDefinition,Go as getPropertyDisplayValue,b as getRuntimeLivePropertySink,t as getRuntimeSceneRoot,of as getSceneNodeDiskFormat,w as getScriptErrorSink,Xo as getShaderEffectType,A as getSignalEmitSink,wp as installAtlasFromManifest,I as installReactiveSchemaProperties,Jm as interpolateValue,n as isDirectionAxesEnabled,mf as isEmojiOnlyText,wo as isFontFaceRegistered,Re as isHighEndDevice,We as isInertNode,Sr as isInteractive,Ge as isKeyframeEasing,Lr as isKnownSceneNodeType,cm as isNetTeleport,j as isPhysicsDebugEnabled,yf as isPolygonConvex,gf as isProjectScriptEntry,df as isProjectScriptPath,_ as isSameTextureRegion,so as isScriptComponent,hf as isScriptComponentClass,N as isSequenceAnimationFrame,Fm as isSfxPreset,$o as isShaderEffectHost,sr as isSliceBorderEmpty,ao as isSpineModuleAvailable,s as isTestHarnessComponentType,pf as isTextProperty,rr as isTextureResourceRef,Wm as isTrackValueType,ne as labelDecorationPadding,ke as labelGlowBlurPx,le as labelGlowPasses,qe as layoutLabelText,yo as loadProjectFonts,io as loadSpineAsset,bo as loadSpineModule,H as makeSchemaPropertyReactive,To as mergeSchemas,bm as netFlagsByte,am as netOwnershipOf,Q as normalizeAnimationResource,Lo as normalizeBlendMode2D,Zm as normalizeKeyframeAnimationSet,Jr as normalizeNodeTypeName,Hp as normalizePolygonConfig,T as normalizeProjectTextureFiltering,qr as normalizeSliceBorder,se as paintLabelCanvas,br as parseEventArgs,ho as parseSpineAtlasPageNames,np as playable,Hf as pointInPolygon,vf as polygonArea,Cf as polygonBounds,wf as polygonCentroid,uf as polygonSignedArea,Rp as property,Qf as quaternionToRotationZ,J as reactiveSchemaPropertyNames,Ur as readBooleanArg,Tr as readNumberArg,Vr as readStringArg,Pf as readWorldTransform2D,Lf as rectIntersectsConvexPolygon,Kf as rectIntersectsPolygon,Qp as registerBuiltInScripts,e as registerGameDebug,rm as registerNetworkPrefab,d as registerPhysicsDebugSource,jf as registerProjectScriptExports,a as registerRuntimeLivePropertySink,p as registerRuntimeSceneRoot,v as registerScriptErrorSink,Wo as registerShaderEffect,z as registerSignalEmitSink,C as reportScriptError,B as reportSignalEmit,em as resetNetKindTable,vo as resetProjectFontRegistry,cr as resolveAnimatedSpriteFrameLayout,dr as resolveFramePointToLocal,gr as resolveFramePolygonToLocal,xr as resolveLocalizedText,Bo as resolvePendingComponents,jp as resolveRuntimeTimeConfig,rf as resolveSceneDiskKey,Kr as resolveSceneNodeType,go as resolveSpinePagePath,Rm as resolveTrackTarget,Km as sampleTrack,X as sanitizeTextureRegion,Nf as segmentPolygonT,Ip as serializePolygonConfig,pr as setActiveLocalization,lp as setDefaultStoreUrl,l as setDirectionAxesEnabled,om as setNetworkPrefabTable,Io as setNodePropertyValue,i as setPhysicsDebugEnabled,kp as setPlayableAdapter,tp as setPostprocessingModuleLoader,Me as setProjectAODefault,U as setProjectTextureFiltering,xo as setSpineModuleLoader,_o as shaderEffectsCacheKey,zr as shakeNoise,co as spineAssetKey,mo as stampAtlasView,Sp as state,oe as styledTextPadding,Mr as suggestSceneNodeType,Ve as summarizeRenderabilityIssues,Wf as sweepCircleAgainstPolygon,Pm as toSchemaValue,Df as transformPolygon,cf as userScriptComponentId,Ho as validatePropertyValue,cp as worldToCanvasLogical,dp as worldToCanvasThroughCamera};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire as __pix3CreateRequire } from 'node:module'; const require = __pix3CreateRequire(import.meta.url);
|
|
2
|
+
import{$ as X,$a as Yo,$b as Yr,$c as Ye,$d as Zf,$e as Zm,$f as Zp,$g as Zt,A as v,Aa as wo,Ab as wr,Ac as we,Ad as yf,Ae as ym,Af as yp,Ag as yt,B as w,Ba as yo,Bb as yr,Bc as ye,Bd as zf,Be as zm,Bf as zp,Bg as zt,C as y,Ca as zo,Cb as zr,Cc as ze,Cd as Af,Ce as Am,Cf as Ap,Cg as At,D as z,Da as Ao,Db as Ar,Dc as Ae,Dd as Bf,De as Bm,Df as Bp,Dg as Bt,E as A,Ea as Bo,Eb as Br,Ec as Be,Ed as Cf,Ee as Cm,Ef as Cp,Eg as Ct,F as B,Fa as Co,Fb as Cr,Fc as Ce,Fd as Df,Fe as Dm,Ff as Dp,Fg as Dt,G as C,Ga as Do,Gb as Dr,Gc as De,Gd as Ef,Ge as Em,Gf as Ep,Gg as Et,H as D,Ha as Eo,Hb as Er,Hc as Ee,Hd as Ff,He as Fm,Hf as Fp,Hg as Ft,I as E,Ia as Fo,Ib as Fr,Ic as Fe,Id as Gf,Ie as Gm,If as Gp,Ig as Gt,J as F,Ja as Go,Jb as Gr,Jc as Ge,Jd as Hf,Je as Hm,Jf as Hp,Jg as Ht,K as G,Ka as Ho,Kb as Hr,Kc as He,Kd as If,Ke as Im,Kf as Ip,Kg as It,L as H,La as Io,Lb as Ir,Lc as Ie,Ld as Jf,Le as Jm,Lf as Jp,Lg as Jt,M as I,Ma as Jo,Mb as Jr,Mc as Je,Md as Kf,Me as Km,Mf as Kp,Mg as Kt,N as J,Na as Ko,Nb as Kr,Nc as Ke,Nd as Lf,Ne as Lm,Nf as Lp,Ng as Lt,O as K,Oa as Lo,Ob as Lr,Oc as Le,Od as Mf,Oe as Mm,Of as Mp,Og as Mt,P as L,Pa as Mo,Pb as Mr,Pc as Me,Pd as Nf,Pe as Nm,Pf as Np,Pg as Nt,Q as M,Qa as No,Qb as Nr,Qc as Ne,Qd as Of,Qe as Om,Qf as Op,Qg as Ot,R as N,Ra as Oo,Rb as Or,Rc as Oe,Rd as Pf,Re as Pm,Rf as Pp,Rg as Pt,S as O,Sa as Po,Sb as Pr,Sc as Pe,Sd as Qf,Se as Qm,Sf as Qp,Sg as Qt,T as P,Ta as Qo,Tb as Qr,Tc as Qe,Td as Rf,Te as Rm,Tf as Rp,Tg as Rt,U as Q,Ua as Ro,Ub as Rr,Uc as Re,Ud as Sf,Ue as Sm,Uf as Sp,Ug as St,V as R,Va as So,Vb as Sr,Vc as Se,Vd as Tf,Ve as Tm,Vf as Tp,Vg as Tt,W as S,Wa as To,Wb as Tr,Wc as Te,Wd as Uf,We as Um,Wf as Up,Wg as Ut,X as T,Xa as Uo,Xb as Ur,Xc as Ue,Xd as Vf,Xe as Vm,Xf as Vp,Xg as Vt,Y as U,Ya as Vo,Yb as Vr,Yc as Ve,Yd as Wf,Ye as Wm,Yf as Wp,Yg as Wt,Z as V,Za as Wo,Zb as Wr,Zc as We,Zd as Xf,Ze as Xm,Zf as Xp,Zg as Xt,_ as W,_a as Xo,_b as Xr,_c as Xe,_d as Yf,_e as Ym,_f as Yp,_g as Yt,aa as Y,ab as Zo,ac as Zr,ad as Ze,ae as _f,af as _m,ag as _p,ah as _t,ba as Z,bb as _o,bc as _r,bd as _e,be as $f,bf as $m,bg as $p,bh as $t,ca as _,cb as $o,cc as $r,cd as $e,ce as om,cf as op,cg as ot,ch as ox,da as $,db as or,dc as oe,dd as of,de as rm,df as rp,dg as rt,dh as rx,e as o,ea as oo,eb as rr,ec as re,ed as rf,ee as em,ef as ep,eg as et,eh as ex,f as r,fa as ro,fb as er,fc as ee,fd as ef,fe as fm,ff as fp,fg as ft,fh as fx,g as e,ga as eo,gb as fr,gc as fe,gd as ff,ge as mm,gf as mp,gg as mt,gh as mx,h as f,ha as fo,hb as mr,hc as me,hd as mf,he as pm,hf as pp,hg as pt,hh as px,i as m,ia as mo,ib as pr,ic as pe,id as pf,ie as tm,if as tp,ig as tt,ih as tx,j as p,ja as po,jb as tr,jc as te,jd as tf,je as xm,jf as xp,jg as xt,jh as xx,k as t,ka as to,kb as xr,kc as xe,kd as xf,ke as am,kf as ap,kg as at,kh as ax,l as x,la as xo,lb as ar,lc as ae,ld as af,le as bm,lf as bp,lg as bt,lh as bx,m as a,ma as ao,mb as br,mc as be,md as bf,me as cm,mf as cp,mg as ct,n as b,na as bo,nb as cr,nc as ce,nd as cf,ne as dm,nf as dp,ng as dt,o as c,oa as co,ob as dr,oc as de,od as df,oe as gm,of as gp,og as gt,p as d,pa as go,pb as gr,pc as ge,pd as gf,pe as hm,pf as hp,pg as ht,q as g,qa as ho,qb as hr,qc as he,qd as hf,qe as im,qf as ip,qg as it,r as h,ra as io,rb as ir,rc as ie,rd as jf,re as jm,rf as jp,rg as jt,s as i,sa as jo,sb as jr,sc as je,sd as kf,se as km,sf as kp,sg as kt,t as j,ta as ko,tb as kr,tc as ke,td as lf,te as lm,tf as lp,tg as lt,u as k,ua as lo,ub as lr,uc as le,ud as nf,ue as nm,uf as np,ug as nt,v as l,va as no,vb as nr,vc as ne,vd as qf,ve as qm,vf as qp,vg as qt,w as n,wa as qo,wb as qr,wc as qe,wd as sf,we as sm,wf as sp,wg as st,x as q,xa as so,xb as sr,xc as se,xd as uf,xe as um,xf as up,xg as ut,y as s,ya as uo,yb as ur,yc as ue,yd as vf,ye as vm,yf as vp,yg as vt,z as u,za as vo,zb as vr,zc as ve,zd as wf,ze as wm,zf as wp,zg as wt}from"./chunk-6ACT6FNV.js";export{eo as ACESFilmicToneMapping,u as AddEquation,Z as AddOperation,Tr as AdditiveAnimationBlendMode,k as AdditiveBlending,mo as AgXToneMapping,Po as AlphaFormat,Ge as AlwaysCompare,Q as AlwaysDepth,ye as AlwaysStencilFunc,mt as AmbientLight,Bt as AnimationAction,Mp as AnimationClip,Sp as AnimationLoader,Ct as AnimationMixer,At as AnimationObjectGroup,yp as AnimationUtils,Mm as ArcCurve,nt as ArrayCamera,_t as ArrowHelper,to as AttachedBindMode,ut as Audio,wt as AudioAnalyser,it as AudioContext,st as AudioListener,jt as AudioLoader,$t as AxesHelper,g as BackSide,Xr as BasicDepthPacking,x as BasicShadowMap,cm as BatchedMesh,Dp as BezierInterpolant,em as Bone,Fp as BooleanKeyframeTrack,Nt as Box2,Gf as Box3,Yt as Box3Helper,Cm as BoxGeometry,Xt as BoxHelper,If as BufferAttribute,Tf as BufferGeometry,dt as BufferGeometryLoader,Do as ByteType,Np as Cache,_p as Camera,Wt as CameraHelper,ym as CanvasTexture,Dm as CapsuleGeometry,Nm as CatmullRomCurve3,ro as CineonToneMapping,Em as CircleGeometry,ko as ClampToEdgeWrapping,Jt as Clock,Bf as Color,Gp as ColorKeyframeTrack,bf as ColorManagement,Xe as Compatibility,um as CompressedArrayTexture,vm as CompressedCubeTexture,sm as CompressedTexture,Tp as CompressedTextureLoader,Gm as ConeGeometry,N as ConstantAlphaFactor,L as ConstantColorFactor,rx as Controls,lt as CubeCamera,Am as CubeDepthTexture,bo as CubeReflectionMapping,co as CubeRefractionMapping,wm as CubeTexture,Vp as CubeTextureLoader,io as CubeUVReflectionMapping,Om as CubicBezierCurve,Pm as CubicBezierCurve3,Ap as CubicInterpolant,m as CullFaceBack,p as CullFaceFront,t as CullFaceFrontBack,f as CullFaceNone,Km as Curve,Vm as CurvePath,q as CustomBlending,fo as CustomToneMapping,Fm as CylinderGeometry,Lt as Cylindrical,qf as Data3DTexture,lf as DataArrayTexture,fm as DataTexture,Wp as DataTextureLoader,Hf as DataUtils,he as DecrementStencilOp,je as DecrementWrapStencilOp,Pp as DefaultLoadingManager,So as DepthFormat,To as DepthStencilFormat,zm as DepthTexture,xo as DetachedBindMode,ft as DirectionalLight,Vt as DirectionalLightHelper,Cp as DiscreteInterpolant,Im as DodecahedronGeometry,h as DoubleSide,G as DstAlphaFactor,I as DstColorFactor,Oe as DynamicCopyUsage,Ie as DynamicDrawUsage,Le as DynamicReadUsage,Jm as EdgesGeometry,Lm as EllipseCurve,Be as EqualCompare,T as EqualDepth,qe as EqualStencilFunc,go as EquirectangularReflectionMapping,ho as EquirectangularRefractionMapping,vf as Euler,ff as EventDispatcher,Bm as ExternalTexture,Zm as ExtrudeGeometry,Rp as FileLoader,Qf as Float16BufferAttribute,Rf as Float32BufferAttribute,Io as FloatType,Df as Fog,Cf as FogExp2,qm as FramebufferTexture,d as FrontSide,am as Frustum,bm as FrustumArray,Ht as GLBufferAttribute,Qe as GLSL1,Re as GLSL3,De as GreaterCompare,V as GreaterDepth,Fe as GreaterEqualCompare,U as GreaterEqualDepth,we as GreaterEqualStencilFunc,ue as GreaterStencilFunc,Tt as GridHelper,zf as Group,Jo as HalfFloatType,Zp as HemisphereLight,St as HemisphereLightHelper,_m as IcosahedronGeometry,ht as ImageBitmapLoader,Up as ImageLoader,cf as ImageUtils,ge as IncrementStencilOp,ie as IncrementWrapStencilOp,pm as InstancedBufferAttribute,ct as InstancedBufferGeometry,Gt as InstancedInterleavedBuffer,tm as InstancedMesh,Mf as Int16BufferAttribute,Of as Int32BufferAttribute,Jf as Int8BufferAttribute,Go as IntType,Uf as InterleavedBuffer,Vf as InterleavedBufferAttribute,zp as Interpolant,Or as InterpolateBezier,Lr as InterpolateDiscrete,Mr as InterpolateLinear,Nr as InterpolateSmooth,We as InterpolationSamplingMode,Ve as InterpolationSamplingType,ke as InvertStencilOp,ce as KeepStencilOp,Ep as KeyframeTrack,Zf as LOD,$m as LatheGeometry,wf as Layers,Ae as LessCompare,R as LessDepth,Ce as LessEqualCompare,S as LessEqualDepth,se as LessEqualStencilFunc,ne as LessStencilFunc,Yp as Light,xt as LightProbe,gm as Line,Ot as Line3,dm as LineBasicMaterial,Qm as LineCurve,Rm as LineCurve3,wp as LineDashedMaterial,im as LineLoop,hm as LineSegments,wo as LinearFilter,Bp as LinearInterpolant,Bo as LinearMipMapLinearFilter,zo as LinearMipMapNearestFilter,Ao as LinearMipmapLinearFilter,yo as LinearMipmapNearestFilter,fe as LinearSRGBColorSpace,$ as LinearToneMapping,me as LinearTransfer,Qp as Loader,bt as LoaderUtils,Op as LoadingManager,Ir as LoopOnce,Kr as LoopPingPong,Jr as LoopRepeat,r as MOUSE,Wf as Material,s as MaterialBlending,at as MaterialLoader,mf as MathUtils,Mt as Matrix2,af as Matrix3,uf as Matrix4,z as MaxEquation,om as Mesh,$f as MeshBasicMaterial,sp as MeshDepthMaterial,up as MeshDistanceMaterial,qp as MeshLambertMaterial,vp as MeshMatcapMaterial,np as MeshNormalMaterial,kp as MeshPhongMaterial,jp as MeshPhysicalMaterial,ip as MeshStandardMaterial,lp as MeshToonMaterial,y as MinEquation,lo as MirroredRepeatWrapping,Y as MixOperation,n as MultiplyBlending,X as MultiplyOperation,no as NearestFilter,vo as NearestMipMapLinearFilter,so as NearestMipMapNearestFilter,uo as NearestMipmapLinearFilter,qo as NearestMipmapNearestFilter,po as NeutralToneMapping,ze as NeverCompare,P as NeverDepth,le as NeverStencilFunc,i as NoBlending,re as NoColorSpace,te as NoNormalPacking,_ as NoToneMapping,Sr as NormalAnimationBlendMode,j as NormalBlending,ae as NormalGAPacking,xe as NormalRGPacking,Ee as NotEqualCompare,W as NotEqualDepth,ve as NotEqualStencilFunc,Hp as NumberKeyframeTrack,yf as Object3D,gt as ObjectLoader,oe as ObjectSpaceNormalMap,op as OctahedronGeometry,B as OneFactor,O as OneMinusConstantAlphaFactor,M as OneMinusConstantColorFactor,H as OneMinusDstAlphaFactor,J as OneMinusDstColorFactor,F as OneMinusSrcAlphaFactor,D as OneMinusSrcColorFactor,et as OrthographicCamera,a as PCFShadowMap,b as PCFSoftShadowMap,tx as PMREMGenerator,Wm as Path,$p as PerspectiveCamera,xm as Plane,rp as PlaneGeometry,Zt as PlaneHelper,rt as PointLight,Rt as PointLightHelper,km as Points,jm as PointsMaterial,Ut as PolarGridHelper,Hm as PolyhedronGeometry,vt as PositionalAudio,zt as PropertyBinding,yt as PropertyMixer,Sm as QuadraticBezierCurve,Tm as QuadraticBezierCurve3,tf as Quaternion,Jp as QuaternionKeyframeTrack,Ip as QuaternionLinearInterpolant,br as R11_EAC_Format,Gr as RED_GREEN_RGTC2_Format,Er as RED_RGTC1_Format,o as REVISION,dr as RG11_EAC_Format,Yr as RGBADepthPacking,Ro as RGBAFormat,Zo as RGBAIntegerFormat,yr as RGBA_ASTC_10x10_Format,ur as RGBA_ASTC_10x5_Format,vr as RGBA_ASTC_10x6_Format,wr as RGBA_ASTC_10x8_Format,zr as RGBA_ASTC_12x10_Format,Ar as RGBA_ASTC_12x12_Format,hr as RGBA_ASTC_4x4_Format,ir as RGBA_ASTC_5x4_Format,jr as RGBA_ASTC_5x5_Format,kr as RGBA_ASTC_6x5_Format,lr as RGBA_ASTC_6x6_Format,nr as RGBA_ASTC_8x5_Format,qr as RGBA_ASTC_8x6_Format,sr as RGBA_ASTC_8x8_Format,Br as RGBA_BPTC_Format,ar as RGBA_ETC2_EAC_Format,pr as RGBA_PVRTC_2BPPV1_Format,mr as RGBA_PVRTC_4BPPV1_Format,$o as RGBA_S3TC_DXT1_Format,or as RGBA_S3TC_DXT3_Format,rr as RGBA_S3TC_DXT5_Format,Zr as RGBDepthPacking,Qo as RGBFormat,Yo as RGBIntegerFormat,Cr as RGB_BPTC_SIGNED_Format,Dr as RGB_BPTC_UNSIGNED_Format,tr as RGB_ETC1_Format,xr as RGB_ETC2_Format,fr as RGB_PVRTC_2BPPV1_Format,er as RGB_PVRTC_4BPPV1_Format,_o as RGB_S3TC_DXT1_Format,_r as RGDepthPacking,Wo as RGFormat,Xo as RGIntegerFormat,hp as RawShaderMaterial,_f as Ray,It as Raycaster,pt as RectAreaLight,Uo as RedFormat,Vo as RedIntegerFormat,oo as ReinhardToneMapping,jf as RenderTarget,Dt as RenderTarget3D,jo as RepeatWrapping,de as ReplaceStencilOp,w as ReverseSubtractEquation,ep as RingGeometry,cr as SIGNED_R11_EAC_Format,Hr as SIGNED_RED_GREEN_RGTC2_Format,Fr as SIGNED_RED_RGTC1_Format,gr as SIGNED_RG11_EAC_Format,ee as SRGBColorSpace,pe as SRGBTransfer,Ef as Scene,fx as ShaderChunk,px as ShaderLib,gp as ShaderMaterial,cp as ShadowMaterial,Xm as Shape,fp as ShapeGeometry,ox as ShapePath,Ym as ShapeUtils,Eo as ShortType,mm as Skeleton,Qt as SkeletonHelper,rm as SkinnedMesh,df as Source,Sf as Sphere,mp as SphereGeometry,Kt as Spherical,tt as SphericalHarmonics3,Um as SplineCurve,ot as SpotLight,Pt as SpotLightHelper,Yf as Sprite,Xf as SpriteMaterial,E as SrcAlphaFactor,K as SrcAlphaSaturateFactor,C as SrcColorFactor,Ne as StaticCopyUsage,He as StaticDrawUsage,Ke as StaticReadUsage,kt as StereoCamera,Pe as StreamCopyUsage,Je as StreamDrawUsage,Me as StreamReadUsage,Kp as StringKeyframeTrack,v as SubtractEquation,l as SubtractiveBlending,e as TOUCH,$r as TangentSpaceNormalMap,pp as TetrahedronGeometry,gf as Texture,Xp as TextureLoader,ex as TextureUtils,qt as Timer,Ue as TimestampQuery,tp as TorusGeometry,xp as TorusKnotGeometry,Ff as Triangle,Wr as TriangleFanDrawMode,Vr as TriangleStripDrawMode,Ur as TrianglesDrawMode,ap as TubeGeometry,ao as UVMapping,Nf as Uint16BufferAttribute,Pf as Uint32BufferAttribute,Kf as Uint8BufferAttribute,Lf as Uint8ClampedBufferAttribute,Et as Uniform,Ft as UniformsGroup,mx as UniformsLib,dp as UniformsUtils,Co as UnsignedByteType,Oo as UnsignedInt101111Type,Mo as UnsignedInt248Type,No as UnsignedInt5999Type,Ho as UnsignedIntType,Ko as UnsignedShort4444Type,Lo as UnsignedShort5551Type,Fo as UnsignedShortType,c as VSMShadowMap,pf as Vector2,xf as Vector3,hf as Vector4,Lp as VectorKeyframeTrack,nm as VideoFrameTexture,lm as VideoTexture,sf as WebGL3DRenderTarget,nf as WebGLArrayRenderTarget,Se as WebGLCoordinateSystem,xx as WebGLCubeRenderTarget,kf as WebGLRenderTarget,bx as WebGLRenderer,ax as WebGLUtils,Te as WebGPUCoordinateSystem,Af as WebXRController,bp as WireframeGeometry,Rr as WrapAroundEnding,Pr as ZeroCurvatureEnding,A as ZeroFactor,Qr as ZeroSlopeEnding,be as ZeroStencilOp,Ye as createCanvasElement,rf as error,_e as getConsoleFunction,$e as log,Ze as setConsoleFunction,of as warn,ef as warnOnce};
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: pix3-nodes
|
|
3
|
+
description: Compact property reference for the Pix3 2D node types used by the recipes — Group2D, ColorRect2D, Sprite2D, Label2D, Button2D, Bar2D, CanvasLayer2D, PostProcess — plus the Node2D base properties, anchor layout and paint order; the full per-node reference (every 2D and 3D node) is reference.md beside it. Use when adding a node to a .pix3scene, choosing which node type to use, or checking a property name/type before writing it.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!-- Pix3 agent kit 1.6.0 -->
|
|
7
|
+
# 2D nodes — compact reference
|
|
8
|
+
|
|
9
|
+
Property names below are the exact YAML keys under `properties:`. A misspelled key is kept
|
|
10
|
+
silently and does nothing, so copy them from here or from an existing node in the project
|
|
11
|
+
(`pix3 check` flags unknown keys). Every node type, 2D and 3D, is in `reference.md` beside
|
|
12
|
+
this file — grep `### <NodeName>` there instead of reading it whole.
|
|
13
|
+
|
|
14
|
+
## Which node
|
|
15
|
+
|
|
16
|
+
| Need | Node |
|
|
17
|
+
| --- | --- |
|
|
18
|
+
| Scene root, a panel, a spawn band, any sized container | `Group2D` |
|
|
19
|
+
| Solid rectangle; the honest placeholder | `ColorRect2D` |
|
|
20
|
+
| An image (PNG/JPG/WebP) | `Sprite2D` |
|
|
21
|
+
| A nine-slice panel / tiled background | `TiledSprite2D` |
|
|
22
|
+
| Text | `Label2D` |
|
|
23
|
+
| Tappable button | `Button2D` |
|
|
24
|
+
| Health / progress bar | `Bar2D` |
|
|
25
|
+
| Fixed HUD layer that ignores the 2D camera and is never post-processed | `CanvasLayer2D` |
|
|
26
|
+
| Bloom / vignette | `PostProcess` (no transform; set `affect2D: true` in a 2D scene) |
|
|
27
|
+
| Bare transform, no size | `Node2D` |
|
|
28
|
+
|
|
29
|
+
Other 2D types exist (`AnimatedSprite2D`, `Slider2D`, `Checkbox2D`, `Joystick2D`,
|
|
30
|
+
`ScrollContainer2D`, `InventorySlot2D`, `Camera2D`, `SpineSkeleton2D`); do not guess their
|
|
31
|
+
keys — read their section in `reference.md` first. `Layout2D` is removed and fails the load.
|
|
32
|
+
|
|
33
|
+
## Node2D — every 2D node has these
|
|
34
|
+
|
|
35
|
+
| Key | Type | Default | Notes |
|
|
36
|
+
| --- | --- | --- | --- |
|
|
37
|
+
| `transform` | block | — | `{ position: [x, y], scale: [sx, sy], rotation: degrees }` — centre of the node, Y up, positive rotation = counter-clockwise |
|
|
38
|
+
| `visible` | bool | true | On an overlay **instance**: editor-only hide (see pix3-scene-format) |
|
|
39
|
+
| `initiallyVisible` | bool | — | Applied when play mode starts; authored on an overlay file's root |
|
|
40
|
+
| `opacity` | number | 1 | 0..1, multiplies into children |
|
|
41
|
+
| `zIndex` | int | 0 | -4096..4096; higher draws on top; ties = tree order |
|
|
42
|
+
| `zAsRelative` | bool | true | Add to the parent's z instead of absolute |
|
|
43
|
+
| `blendMode` | enum | normal | `normal`, `additive` (glow/VFX), `multiply`, `subtract`; not inherited |
|
|
44
|
+
| `layout` | block | — | `{ enabled, horizontalAlign: left/center/right/stretch, verticalAlign: top/center/bottom/stretch }` |
|
|
45
|
+
| `flow` | block | — | `{ enabled, direction: vertical/horizontal, gap, paddingX, paddingY, align: start/center/end, autoSize }` |
|
|
46
|
+
|
|
47
|
+
Paint order = tree order (later sibling / deeper node on top) unless `zIndex` says otherwise.
|
|
48
|
+
Shader `effects` exist only on `Sprite2D`, `AnimatedSprite2D` and `Button2D`.
|
|
49
|
+
|
|
50
|
+
## Group2D
|
|
51
|
+
|
|
52
|
+
Sized container; draws nothing. Use it as the scene root (sized to `viewportBaseSize` from
|
|
53
|
+
`pix3project.yaml` — `width: 1080, height: 1920` in the recipes — `layout` stretch/stretch) and for any panel whose children anchor or flow against it.
|
|
54
|
+
|
|
55
|
+
| Key | Type | Default |
|
|
56
|
+
| --- | --- | --- |
|
|
57
|
+
| `width` | number | 100 |
|
|
58
|
+
| `height` | number | 100 |
|
|
59
|
+
|
|
60
|
+
## ColorRect2D
|
|
61
|
+
|
|
62
|
+
The only untextured 2D fill. Build the game from these first, swap to sprites later.
|
|
63
|
+
|
|
64
|
+
| Key | Type | Default | Notes |
|
|
65
|
+
| --- | --- | --- | --- |
|
|
66
|
+
| `width` | number | 100 | |
|
|
67
|
+
| `height` | number | 100 | |
|
|
68
|
+
| `color` | colour | "#ffffff" | Quoted hex. Alpha via `opacity`, not the colour |
|
|
69
|
+
|
|
70
|
+
## Sprite2D
|
|
71
|
+
|
|
72
|
+
| Key | Type | Default | Notes |
|
|
73
|
+
| --- | --- | --- | --- |
|
|
74
|
+
| `texture` | texture | — | `{ type: 'texture', url: 'res://sprites/x.png' }` (a bare `texturePath` string is only read for compatibility) |
|
|
75
|
+
| `width` | number | texture width | Display size; the image is scaled to it (64 until the texture loads) |
|
|
76
|
+
| `height` | number | texture height | |
|
|
77
|
+
| `anchor` | vector2 | [0.5, 0.5] | Pivot the image is positioned around |
|
|
78
|
+
| `aspectRatioLocked` | bool | false | Keep the texture's aspect while resizing |
|
|
79
|
+
| `effects` | list | — | `[{ type: core:tint, params: { color: "#hex", amount: 1 } }]` — how a near-white placeholder gets its colour |
|
|
80
|
+
|
|
81
|
+
There is no tint property: colour a sprite with a `core:tint` effect. Recipe placeholders are
|
|
82
|
+
near-white `sprites/ph-*.png` + `effects: [{ type: core:tint, params: { color, amount: 1 } }]`.
|
|
83
|
+
|
|
84
|
+
### An SVG you write as a sprite
|
|
85
|
+
|
|
86
|
+
A `.svg` in `sprites/` works as a `Sprite2D` / `Button2D` texture in the editor, in play mode and
|
|
87
|
+
in the single-file export — **when a browser `<img>` would decode it**, because that is how every
|
|
88
|
+
texture loads. The browser rasterises it once, at its own `width`/`height`, and the GPU scales that
|
|
89
|
+
bitmap. So:
|
|
90
|
+
|
|
91
|
+
```xml
|
|
92
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" viewBox="0 0 128 128">
|
|
93
|
+
<circle cx="64" cy="64" r="56" fill="#ffcf33" stroke="#8a5a00" stroke-width="8"/>
|
|
94
|
+
</svg>
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
- `xmlns="http://www.w3.org/2000/svg"` on the root — without it nothing renders.
|
|
98
|
+
- `width` and `height` in px **and** a matching `viewBox`. Without a size the browser invents a
|
|
99
|
+
300x150 box (art letterboxed or cropped, the sprite auto-sizes to 300x150).
|
|
100
|
+
- Make `width`/`height` the size the node draws it at (the node's `width`/`height`), or larger —
|
|
101
|
+
a 32px SVG drawn at 256px is a blurry bitmap, not crisp vectors.
|
|
102
|
+
- Self-contained: no `<image href="http…">`, no `<use href="other.svg#…">`, no CSS `url(file)`,
|
|
103
|
+
no `@import`, no webfonts — none of them load when an SVG is an image (only `#id` and `data:`
|
|
104
|
+
do). Text only with generic families (`font-family="sans-serif"`); better, draw shapes.
|
|
105
|
+
|
|
106
|
+
`pix3 validate` checks every `.svg` a scene references: `E_SVG_INVALID` (no `<svg>` root or no
|
|
107
|
+
xmlns), `E_SVG_NO_SIZE`, `W_SVG_VIEWBOX_ONLY`, `W_SVG_EXTERNAL_REF`.
|
|
108
|
+
|
|
109
|
+
## Label2D
|
|
110
|
+
|
|
111
|
+
| Key | Type | Default | Notes |
|
|
112
|
+
| --- | --- | --- | --- |
|
|
113
|
+
| `label` | string | "" | The text; `\n` breaks lines. Never only emoji |
|
|
114
|
+
| `labelFontSize` | number | 16 | px |
|
|
115
|
+
| `labelColor` | colour | "#ffffff" | |
|
|
116
|
+
| `labelFontFamily` | string | Arial | A family the project ships in `fonts/`, else a system face |
|
|
117
|
+
| `labelFontWeight` | number | 400 | 400 / 700 / 900 … |
|
|
118
|
+
| `labelAlign` | enum | center | `left`, `center`, `right` |
|
|
119
|
+
| `labelVAlign` | enum | middle | `top`, `middle`, `bottom` |
|
|
120
|
+
| `width` / `height` | number | 0 | 0 = auto-size, no wrap. Set `width` to word-wrap |
|
|
121
|
+
| `glowColor` / `glowStrength` | colour / 0–4 | "#ffffff" / 0 | Canvas-drawn neon glow; 2–3 reads as neon |
|
|
122
|
+
| `outlineColor` / `outlineWidth` | colour / px | "#000000" / 0 | Contrast outline |
|
|
123
|
+
| `labelShadowColor`, `labelShadowOffsetX/Y`, `labelLetterSpacing`, `typewriterSpeed` | | | see `reference.md` |
|
|
124
|
+
|
|
125
|
+
Scripts: `label.setText('SCORE 5')`.
|
|
126
|
+
|
|
127
|
+
## Button2D
|
|
128
|
+
|
|
129
|
+
| Key | Type | Default | Notes |
|
|
130
|
+
| --- | --- | --- | --- |
|
|
131
|
+
| `width` / `height` | number | 100 / 40 | |
|
|
132
|
+
| `label` | string | "" | Caption; `labelFontSize` (16), `labelColor` ("#ffffff"), `labelAlign` as on Label2D |
|
|
133
|
+
| `backgroundColor` | colour | "#4a4a4a" | Flat idle colour |
|
|
134
|
+
| `hoverColor` | colour | "#5a5a5a" | |
|
|
135
|
+
| `pressedColor` | colour | "#3a3a3a" | |
|
|
136
|
+
| `buttonAction` | string | "Submit" | Free identifier for scripts |
|
|
137
|
+
| `enabled` | bool | true | A disabled button takes no input |
|
|
138
|
+
| `textureNormal` / `textureHover` / `texturePressed` / `textureDisabled` | texture | — | Skin sprites; a set slot replaces the flat colour |
|
|
139
|
+
| `sliceBorderLeft/Right/Top/Bottom` | number | 0 | Nine-slice insets in source pixels |
|
|
140
|
+
| `effects` | list | — | Shader effects on the skin |
|
|
141
|
+
|
|
142
|
+
Signals: `pressed` (finger/button went down inside it), `released`, `click` (down **and** up
|
|
143
|
+
inside it — a completed tap; sliding off cancels it), `pointerdown`, `pointerup`. The recipes
|
|
144
|
+
wire `pressed` for an instant response; use `click` where an accidental touch must be
|
|
145
|
+
cancellable (menus, purchases). `button.connect('click', this, handler)`.
|
|
146
|
+
|
|
147
|
+
## Bar2D
|
|
148
|
+
|
|
149
|
+
| Key | Type | Default | Notes |
|
|
150
|
+
| --- | --- | --- | --- |
|
|
151
|
+
| `width` / `height` | number | 150 / 20 | |
|
|
152
|
+
| `minValue` / `maxValue` / `value` | number | 0 / 100 / 100 | Fill = value within the range (clamped) |
|
|
153
|
+
| `barColor` | colour | "#ff4444" | Fill colour |
|
|
154
|
+
| `backBackgroundColor` | colour | "#333333" | Trough colour |
|
|
155
|
+
| `showBorder` / `borderColor` / `borderWidth` | bool / colour / px | true / "#000000" / 2 | The recipes set `showBorder: false` |
|
|
156
|
+
| `textureTrough` / `textureFill` | texture | — | Skin sprites |
|
|
157
|
+
| `sliceBorderLeft/Right/Top/Bottom` | number | 0 | Nine-slice insets of the skins |
|
|
158
|
+
|
|
159
|
+
Scripts: `bar.maxValue = n; bar.setValue(v)`.
|
|
160
|
+
|
|
161
|
+
## CanvasLayer2D
|
|
162
|
+
|
|
163
|
+
A HUD band: rendered after post-processing (never blooms) with a fixed camera. Same keys as
|
|
164
|
+
`Group2D` (`width`, `height`, transform, layout). Put score/time/lives/buttons under it.
|
|
165
|
+
Its ancestors' transform, opacity and visibility still apply.
|
|
166
|
+
|
|
167
|
+
## PostProcess
|
|
168
|
+
|
|
169
|
+
No transform — keys sit flat in `properties`. The first active one in the tree wins.
|
|
170
|
+
|
|
171
|
+
| Key | Type | Default | Notes |
|
|
172
|
+
| --- | --- | --- | --- |
|
|
173
|
+
| `affect2D` | bool | true | Apply to the 2D layer too |
|
|
174
|
+
| `bloomEnabled` / `bloomIntensity` / `bloomThreshold` | bool / number / number | true / 1 / 0.9 | Bloom lifts only what is already bright |
|
|
175
|
+
| `bloomSmoothing` / `bloomRadius` | number | | |
|
|
176
|
+
| `vignetteEnabled` / `vignetteOffset` / `vignetteDarkness` | bool / number / number | | |
|
|
177
|
+
| `chromaticAberrationEnabled` / `chromaticAberrationOffset` | bool / number | | |
|
|
178
|
+
|
|
179
|
+
Brighten the colour or lower `bloomThreshold` rather than raising `bloomIntensity`. The
|
|
180
|
+
opposite for a pastel or light look: a pale ground sits above a low threshold and the whole
|
|
181
|
+
screen blooms — **raise** `bloomThreshold` (0.85–0.95) so only the accents glow.
|
|
182
|
+
|
|
183
|
+
## Example — a new HUD label anchored top-right
|
|
184
|
+
|
|
185
|
+
```yaml
|
|
186
|
+
- id: combo-label
|
|
187
|
+
type: Label2D
|
|
188
|
+
name: Combo Label
|
|
189
|
+
properties:
|
|
190
|
+
label: ""
|
|
191
|
+
labelFontSize: 40
|
|
192
|
+
labelColor: "#f5ae39"
|
|
193
|
+
labelAlign: right
|
|
194
|
+
transform:
|
|
195
|
+
position: [340, 790]
|
|
196
|
+
scale: [1, 1]
|
|
197
|
+
rotation: 0
|
|
198
|
+
layout:
|
|
199
|
+
enabled: true
|
|
200
|
+
horizontalAlign: right
|
|
201
|
+
verticalAlign: top
|
|
202
|
+
children: []
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
## Known gaps
|
|
206
|
+
|
|
207
|
+
- On a **cloud** project (opened from the Pix3 server, not a folder or `pix3 serve`) an `.svg`
|
|
208
|
+
sprite renders on first load and then goes blank: the local cache hands SVGs back as
|
|
209
|
+
`text/plain`, which no browser decodes as an image. Folder and `pix3 serve` projects are fine;
|
|
210
|
+
on cloud, use a PNG.
|