The engine now supports the use of Live2D character models. If you want to use Live2D models, please follow these steps:
Obtain the necessary authorization for using Live2D.
Download Live2D and CubismCore from the following links:
live2dcubismcore.min.jsrespectively, then put the files in
packages/webgal/src/assets/lib, and then go to
packages/webgal/index.html, and uncomment the following two lines so that they become:
htmlCopy code<script src="/src/assets/lib/l2d.js"></script> <script src="/src/assets/lib/live2dcubismcore.min.js"></script>
packages/webgal/src/Core/controller/stage/pixi/PixiController.tsfile, uncomment the following lines:
packages/webgal/src/Components/Stage/MainStage/useSetFigure.tsfile, uncomment the following line:
You can now use Live2D character models as part of your illustrations. Place the entire model directory inside the
game/figuredirectory. To display a character model, call the corresponding JSON file.
Note: The author of this project has not used any Live2D SDK source code or models. Any copyright disputes arising from the use of Live2D are the sole responsibility of the developers or creators of the modified project!