Skip to content

Commit e3c4ba1

Browse files
Merge pull request #27 from Live2D/develop
Update to Cubism 5 SDK for Web R2
2 parents 2d3596a + 230c99e commit e3c4ba1

18 files changed

+1355
-1022
lines changed

CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,45 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

77

8+
## [5-r.2] - 2024-12-19
9+
10+
### Added
11+
12+
* Add the functionality to call a function when motion playback starts.
13+
* Add an API to `CubismMotionJson` for verifying the consistency of `motion3.json`. by [@pillowtrucker](https://github.com/Live2D/CubismNativeFramework/pull/57)
14+
* This API is ported from `Cubism Native Framework`.
15+
16+
### Changed
17+
18+
* Change to create and manage a `CubismShader` for each `GLRenderingContext`.
19+
* Change the access level of the private members in `CubismModelSettingJson` class to protected.
20+
* Move JSON key strings set to the member variables of `CubismModelSettingJson` class.
21+
* Change `FrequestNode` to be exported as part of the module.
22+
* Change to permit to overwrite motion fade by the value specified in .model3.json on `CubismUserModel.loadMotion()`.
23+
* Change the value of pi used in the calculation of `CubismBreath.updateParameters()` to `Math.PI`.
24+
25+
### Deprecated
26+
27+
* Deprecate the following elements because a priority value is not actually used during expression motion playback:
28+
* `CubismExpressionMotionManager._currentPriority`
29+
* `CubismExpressionMotionManager._reservePriority`
30+
* `CubismExpressionMotionManager.startMotionPriority()`
31+
* `CubismExpressionMotionManager.getCurrentPriority()`
32+
* `CubismExpressionMotionManager.getReservePriority()`
33+
* `CubismExpressionMotionManager.setReservePriority()`
34+
35+
Please use the `CubismMotionQueueManager.startMotion()` instead of `CubismExpressionMotionManager.startMotionPriority()`.
36+
37+
38+
### Fixed
39+
40+
* Fix an issue where already registered keys could be added on `csmMap.appendKey()`.
41+
* Fix a bug that caused an error when playing `CubismExpresionMotion` with `CubismMotionQueueManager.startMotion()`.
42+
* Fix an issue where `CubismMath.cardanoAlgorithmForBezier()` was using a different function than Cubism SDK for Native.
43+
* Fix a potential problem with division by 0 when a pose fade time is set to 0 seconds.
44+
* Fix an issue where `CubismPose._fadeTimeSeconds` does not become 0.
45+
46+
847
## [5-r.1] - 2024-03-26
948

1049
### Added
@@ -256,6 +295,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
256295
* Reformat code using Prettier and ESLint.
257296

258297

298+
[5-r.2]: https://github.com/Live2D/CubismWebFramework/compare/5-r.1...5-r.2
259299
[5-r.1]: https://github.com/Live2D/CubismWebFramework/compare/5-r.1-beta.4...5-r.1
260300
[5-r.1-beta.4]: https://github.com/Live2D/CubismWebFramework/compare/5-r.1-beta.3...5-r.1-beta.4
261301
[5-r.1-beta.3]: https://github.com/Live2D/CubismWebFramework/compare/5-r.1-beta.2...5-r.1-beta.3

README.ja.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ Cubism 5 Editorに搭載された新機能のSDK対応については [こちら
3030

3131
### Node.js
3232

33-
* 21.7.1
34-
* 20.11.1
33+
* 23.4.0
34+
* 22.12.0
3535

3636

3737
### TypeScript
3838

39-
5.4.2
39+
5.7.2
4040

4141

4242
## 開発環境構築

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ For compatibility with previous versions of Cubism SDK, please refer to [here](h
3030

3131
### Node.js
3232

33-
* 21.7.1
34-
* 20.11.1
33+
* 23.4.0
34+
* 22.12.0
3535

3636

3737
### TypeScript
3838

39-
5.4.2
39+
5.7.2
4040

4141

4242
## Development environment construction

0 commit comments

Comments
 (0)