Skip to content

Commit

Permalink
Merge pull request #54 from Live2D/develop
Browse files Browse the repository at this point in the history
Update to Cubism 5 SDK for Web R1 beta4
  • Loading branch information
itoh-at-live2d-com authored Jan 18, 2024
2 parents 3f9de56 + 4137318 commit cf4a925
Show file tree
Hide file tree
Showing 14 changed files with 571 additions and 864 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,32 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).


## [5-r.1-beta.4] - 2024-01-18

### Added

* Add `getPcmDataChannel()` and `getWavSamplingRate()` functions to `LAppWavFileHandler`.

### Changed

* Change return type of `loadWavFile()` to `Promise<boolean>`.
* Deprecate the use of the Singleton pattern in `LAppWavFileHandler`.
* This change marks the following functions and variables as deprecated.
* `s_instance`
* `getInstance()`
* `releaseInstance()`
* Change target to `es6`.
* Change to use `webgl2`.

### Fixed

* Fix to check for error when reading json.

### Removed

* Remove use of `polyfill`, `watwg-fetch` and `experimental-webgl`.


## [5-r.1-beta.3] - 2023-11-30

### Added
Expand Down Expand Up @@ -221,6 +247,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
* Fix issue with reloading model images in WebKit.


[5-r.1-beta.4]: https://github.com/Live2D/CubismWebSamples/compare/5-r.1-beta.3...5-r.1-beta.4
[5-r.1-beta.3]: https://github.com/Live2D/CubismWebSamples/compare/5-r.1-beta.2...5-r.1-beta.3
[5-r.1-beta.2]: https://github.com/Live2D/CubismWebSamples/compare/5-r.1-beta.1...5-r.1-beta.2
[5-r.1-beta.1]: https://github.com/Live2D/CubismWebSamples/compare/4-r.7...5-r.1-beta.1
Expand Down
32 changes: 16 additions & 16 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,28 +90,28 @@ NOTE: デバック用の設定は、`.vscode/launch.json` に記述していま

### Node.js

* 21.2.0
* 20.10.0
* 21.5.0
* 20.11.0


## 動作確認環境

| プラットフォーム | ブラウザ | バージョン |
| --- | --- | --- |
| 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 |
| Android | Google Chrome | 120.0.6099.210 |
| Android | Microsoft Edge | 120.0.2210.115 |
| Android | Mozilla Firefox | 121.1.0 |
| iOS / iPadOS | Google Chrome | 120.0.6099.119 |
| iOS / iPadOS | Microsoft Edge | 120.0.2210.126 |
| iOS / iPadOS | Mozilla Firefox | 121.2 |
| iOS / iPadOS | Safari | 17.2 |
| macOS | Google Chrome | 120.0.6099.216 |
| macOS | Microsoft Edge | 120.0.2210.121 |
| macOS | Mozilla Firefox | 121.0.1 |
| macOS | Safari | 17.2.1 |
| Windows | Google Chrome | 120.0.6099.217 |
| Windows | Microsoft Edge | 120.0.2210.121 |
| Windows | Mozilla Firefox | 121.0.1 |

Note: 動作確認時のサーバの起動は `./Samples/TypeScript/Demo/package.json``serve` スクリプトを使用して行っています。

Expand Down
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,28 +91,28 @@ Please refer to [CHANGELOG.md](CHANGELOG.md) for the changelog of this repositor

### Node.js

* 21.2.0
* 20.10.0
* 21.5.0
* 20.11.0


## Operation environment

| 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 |
| Android | Google Chrome | 120.0.6099.210 |
| Android | Microsoft Edge | 120.0.2210.115 |
| Android | Mozilla Firefox | 121.1.0 |
| iOS / iPadOS | Google Chrome | 120.0.6099.119 |
| iOS / iPadOS | Microsoft Edge | 120.0.2210.126 |
| iOS / iPadOS | Mozilla Firefox | 121.2 |
| iOS / iPadOS | Safari | 17.2 |
| macOS | Google Chrome | 120.0.6099.216 |
| macOS | Microsoft Edge | 120.0.2210.121 |
| macOS | Mozilla Firefox | 121.0.1 |
| macOS | Safari | 17.2.1 |
| Windows | Google Chrome | 120.0.6099.217 |
| Windows | Microsoft Edge | 120.0.2210.121 |
| Windows | Mozilla Firefox | 121.0.1 |

Note: You can start the server for operation check by running the `serve` script of `./Samples/TypeScript/Demo/package.json`.

Expand Down
2 changes: 0 additions & 2 deletions Samples/TypeScript/Demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
display: block;
}
</style>
<!-- Pollyfill script -->
<script src="https://unpkg.com/core-js-bundle@3.6.1/minified.js"></script>
<!-- Live2DCubismCore script -->
<script src = "../../../Core/live2dcubismcore.js"></script>
<!-- Build script -->
Expand Down
Loading

0 comments on commit cf4a925

Please sign in to comment.