PIXI.js 5 + Live2D Cubism 4
- Download the Cubism SDK for Web: https://www.live2d.com/en/download/cubism-sdk/
- Copy all contents of SDK to
cubism-sdk
folder in root - Go to
cubism-sdk/Framework
and runnpm i && npm run build
- Go to root project, run
npm i && npm run build
- Download the Cubism SDK for Web: https://www.live2d.com/en/download/cubism-sdk/
- Copy all contents of SDK to
cubism-sdk
folder in root - Go to
cubism-sdk/Framework
and runnpm i && npm run build
- Go to root project, run
npm i && npm run start
- Build the library and import the
dist/pixi_live2d.browser.js
into your project - See
demo/main.ts
to see basic how to use - Read all
Public API
section insrc/live2d_model.ts
for more functions