This is a sample implementation of an application that displays models output by Live2D Cubism Editor.
It is used in conjunction with the Cubism Web Framework and Live2D Cubism Core.
Please check the license before using this SDK.
Please check the notices before using this SDK.
This SDK is compatible with Cubism 5.
For SDK compatibility with new features in Cubism 5 Editor, please refer to here.
For compatibility with previous versions of Cubism SDK, please refer to here.
.
├─ .vscode # Project settings directory for Visual Studio Code
├─ Core # Directory containing Live2D Cubism Core
├─ Framework # Directory containing source code such as rendering and animation functions
└─ Samples
├─ Resources # Directory containing resources such as model files and images
└─ TypeScript # Directory containing TypeScript sample projects
A library for loading the model.
This repository does not manage Cubism Core. Download the Cubism SDK for Web from here and copy the files in the Core directory.
- Install [Node.js] and [Visual Studio Code]
- Open the top directory of this SDK in Visual Studio Code and install the recommended extensions
- In addition to pop-up notifications, you can check the others by typing
@recommended
from the Extensions tab
- In addition to pop-up notifications, you can check the others by typing
Enter >Tasks: Run Task
in the command palette (View > Command Palette...) to display the task list.
- Select
npm: install - Samples/TypeScript/Demo
from the task list to download the dependent packages - Select
npm: build - Samples/TypeScript/Demo
from the task list to build the sample demo - Select
npm: serve - Samples/TypeScript/Demo
from the task list to start the simple server for operation check - Enter
http://localhost:5000/Samples/TypeScript/Demo/
in the URL field of your browser to access it - Enter
>Tasks: Terminate Task
from the command palette and selectnpm: serve
to terminate the simple server
For other tasks, see README.md of the sample project.
NOTE: Settings for debugging are described in .vscode/tasks.json
.
Open the top directory of this SDK in Visual Studio Code and enter the F5 key to start Debugger for Chrome.
You can place breakpoints in Visual Studio Code to debug in conjunction with the Chrome browser.
NOTE: Settings for debugging are described in .vscode/launch.json
.
Please refer to CHANGELOG.md for the changelog of this repository.
- 21.2.0
- 20.10.0
Platform | Browser | Version |
---|---|---|
Android | Google Chrome | 113.0.5672.77 |
Android | Microsoft Edge | 113.0.1774.38 |
Android | Mozilla Firefox | 113.0 |
iOS / iPadOS | Google Chrome | 113.0.5672.109 |
iOS / iPadOS | Microsoft Edge | 113.0.1774.42 |
iOS / iPadOS | Mozilla Firefox | 113.0 |
iOS / iPadOS | Safari | 16.6.1 |
macOS | Google Chrome | 117.0.5938.92 |
macOS | Microsoft Edge | 117.0.2045.43 |
macOS | Mozilla Firefox | 113.0.1 |
macOS | Safari | 16.6.1 |
Windows | Google Chrome | 119.0.6045.160 |
Windows | Microsoft Edge | 117.0.2045.43 |
Windows | Mozilla Firefox | 113.0 |
Note: You can start the server for operation check by running the serve
script of ./Samples/TypeScript/Demo/package.json
.
There are many ways to contribute to the project: logging bugs, submitting pull requests on this GitHub, and reporting issues and making suggestions in Live2D Community.
We very much appreciate your pull requests, whether they bring fixes, improvements, or even new features. Note, however, that the wrapper is designed to be as lightweight and shallow as possible and should therefore only be subject to bug fixes and memory/performance improvements. To keep the main repository as clean as possible, create a personal fork and feature branches there as needed.
We are regularly checking issue-reports and feature requests at Live2D Community. Before filing a bug report, please do a search in Live2D Community to see if the issue-report or feature request has already been posted. If you find your issue already exists, make relevant comments and add your reaction.
We're also interested in your feedback for the future of the SDK. You can submit a suggestion or feature request at Live2D Community. To make this process more effective, we're asking that you include more information to help define them more clearly.
If you want to suggest or ask questions about how to use the Cubism SDK between users, please use the forum.