pixi-ts-architecture/ │ ├── src/ │ ├── main.ts [Main app instance] │ ├── index.ts [For docs gen also for npm publish] │ ├── core/ │ │ ├── position.ts [self updated - not full solution yet] │ │ ├── scene.ts │ │ └── sceneManager.ts │ │ │ ├── types/ │ │ ├── appDefinitions.ts │ │ └── globalDefinitions.ts │ │ │ ├── scenes/ │ │ └── menuScene.ts │ │ └── aceOfShadowsScene.ts │ │ └── magicWords.ts │ │ └── phoenixFlame.ts │ │ │ ├── components/ │ │ └── card-stack.ts [holder for cards] │ │ └── card.ts [card entity] │ │ └── dialogBox.ts [standalone popup with dragging&scroll] │ │ └── phonenixFlame.ts [Used in menuScene] │ │ │ ├── utils/ │ │ └── utils.ts [Small helpers funcs] │ │ │ ├── shaders/ │ │ └── base.ts [webGL/webGPU context] │ │ │ ├── services/ │ │ └── helpers-methods.ts [Common operations] │ │ │ └── resources/ │ └── literals.ts [Simple object/consts store place] │ └── shaders.ts [For webGL or webGPU context/job] │ └── textures.ts [Simple textures operation] │ ├── typedoc.json [Api docs generator] ├── index.html [Main index.HTML] ├── tsconfig.json [Ts config] ├── vite.config.ts [Compiler stuff] └── package.json [Defines project metadata, dependencies...]
Install deps:
npm i
Run dev:
npm run dev
Quick sanity check and generate API docs Run:
npx typedoc --logLevel Verbose
onResize and make Phoenix always
fit in middle of screen."Diametric positions" method is not fully implemented. Need more time for :
In Pixi v8:
More links for learning: