@next2d/player 1.8.3 → 1.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.cn.md CHANGED
@@ -11,6 +11,8 @@ Next2D Player
11
11
  [![Discord](https://img.shields.io/discord/812136803506716713?label=Discord&logo=discord)](https://discord.gg/6c9rv5Uns5)
12
12
  [![Follow us on Twitter](https://img.shields.io/twitter/follow/Next2D?label=Follow&style=social)](https://twitter.com/intent/user?screen_name=Next2D)
13
13
 
14
+ [English](./README.md) | [日本語](./README.ja.md)
15
+
14
16
  ## 关于
15
17
 
16
18
  Next2D Player 是一个来源于 JavaScript Flash 播放器 "swf2js" 的衍生项目。
@@ -53,24 +55,24 @@ loader
53
55
  loader.load(request);
54
56
  ```
55
57
  [CodePen](https://codepen.io/next2d/pen/VwMKGEv)\
56
- @see [API 文档](https://next2d.app/docs/player)
58
+ @see [API 文档](https://next2d.app/cn/docs/player)
57
59
 
58
60
  ## 设置选项
59
61
 
60
62
  | 名称 | 值类型 | 默认值 | 说明 |
61
63
  | --- | --- | --- | --- |
62
- | `base` | string | 空值 | 如果在请求时未设置URL,则要设置。 |
64
+ | `base` | string | 空值 | 如果在请求时未设置URL,则要设置。 |
63
65
  | `fullScreen` | boolean | false | 全屏绘制 |
64
66
  | `tagId` | string | 空值 | 值为你希望在 DOM 中绘制位置的容器 ID。 |
65
- | `bgColor` | array [R,G,B,A] or false | false | RGBA 值在 0-255 范围内选择。 |
67
+ | `bgColor` | array | empty | RGBA 值在 0-255 范围内选择。 |
66
68
 
67
69
  ## 相关站点
68
70
 
69
71
  * [官网](https://next2d.app)
70
- * [Player API 文档](https://next2d.app/docs/player)
71
- * [Next2D NoCode Tool(α version)](https://tool.next2d.app)
72
+ * [Player API 文档](https://next2d.app/cn/docs/player)
73
+ * [Next2D NoCode Tool(β version)](https://tool.next2d.app)
72
74
  * [Next2D Framework](https://next2d.app/#framework)
73
- * [教程 & 参考](https://next2d.app/tutorials/player)
75
+ * [教程 & 参考](https://next2d.app/cn/reference/player)
74
76
  * [聊天社区(Discord)](https://discord.gg/6c9rv5Uns5)
75
77
 
76
78
  ## 许可证
package/README.ja.md CHANGED
@@ -11,6 +11,8 @@ Next2D Player
11
11
  [![Discord](https://img.shields.io/discord/812136803506716713?label=Discord&logo=discord)](https://discord.gg/6c9rv5Uns5)
12
12
  [![Follow us on Twitter](https://img.shields.io/twitter/follow/Next2D?label=Follow&style=social)](https://twitter.com/intent/user?screen_name=Next2D)
13
13
 
14
+ [English](./README.md) | [简体中文](./README.cn.md)
15
+
14
16
  ## About
15
17
  Next2D Playerは、JavaScript FlashPlayer「swf2js」から派生したプロジェクトで 、あらゆるデバイスで動作する2D最速エンジンを提供することを目的としてます。
16
18
 
@@ -21,13 +23,13 @@ Next2D NoCode Toolはインストール不要でアクセスすれば誰でも
21
23
 
22
24
  2Dエンターテインメント開発を簡単に!快速に!快適に!
23
25
 
24
- ## Use Simple Sample
26
+ ## シンプルサンプル
25
27
  ```javascript
26
28
  next2d.load("JSON Path...");
27
29
  ```
28
30
  [CodePen](https://codepen.io/next2d/pen/rNGMrZG)
29
31
 
30
- ## Use Program Sample
32
+ ## プログラムサンプル
31
33
  ```javascript
32
34
  const { Loader } = next2d.display;
33
35
  const { URLRequest } = next2d.net;
@@ -49,23 +51,23 @@ loader
49
51
  loader.load(request);
50
52
  ```
51
53
  [CodePen](https://codepen.io/next2d/pen/VwMKGEv)\
52
- @see [API Documentation](https://next2d.app/docs/player)
54
+ @see [API Documentation](https://next2d.app/ja/docs/player)
53
55
 
54
- ## Option settings
56
+ ## オプション設定
55
57
 
56
58
  | プロパティ名 | 型 | デフォルト値 | 説明 |
57
59
  | --- | --- | --- | --- |
58
60
  | `base` | string | empty | 相対パスでJSONを取得する場合、ここで設定したURLがrootとして適用されます。絶対パスの場合はここで設定したURLは適用されません。 |
59
61
  | `fullScreen` | boolean | false | Stageクラスで設定した幅と高さを超えて画面全体に描画されます。 |
60
62
  | `tagId` | string | empty | IDを指定すると、指定したIDのエレメント内で描画を行います。 |
61
- | `bgColor` | array [R,G,B,A] or false | false | 背景色の[R,G,B,A]の配列は0~255で指定できます。falseは無色透明です。 |
63
+ | `bgColor` | array | empty | 背景色の[R,G,B,A]の配列は0~255で指定できます。falseは無色透明です。 |
62
64
 
63
65
  ## Related sites
64
66
  * [Website](https://next2d.app)
65
- * [Player API Documentation](https://next2d.app/docs/player)
66
- * [Next2D NoCode Tool(α version)](https://tool.next2d.app)
67
+ * [Player API Documentation](https://next2d.app/ja/docs/player)
68
+ * [Next2D NoCode Tool(β version)](https://tool.next2d.app)
67
69
  * [Next2D Framework](https://next2d.app/#framework)
68
- * [Tutorial & Reference.](https://next2d.app/tutorials/player)
70
+ * [Tutorial & Reference.](https://next2d.app/ja/reference/player)
69
71
  * [Chat Community(Discord)](https://discord.gg/6c9rv5Uns5)
70
72
 
71
73
  ## License
package/README.md CHANGED
@@ -49,23 +49,23 @@ loader
49
49
  loader.load(request);
50
50
  ```
51
51
  [CodePen](https://codepen.io/next2d/pen/VwMKGEv)\
52
- @see [API Documentation](https://next2d.app/docs/player)
52
+ @see [API Documentation](https://next2d.app/en/docs/player)
53
53
 
54
54
  ## Option settings
55
55
 
56
- | name | value | default | description |
56
+ | name | type | default | description |
57
57
  | --- | --- | --- | --- |
58
58
  | `base` | string | empty | When acquiring JSON by relative path, the URL set here will be applied as the root. For absolute paths, the URL set here will not be applied. |
59
59
  | `fullScreen` | boolean | false | It will be drawn on the entire screen beyond the width and height set in the Stage class. |
60
60
  | `tagId` | string | empty | When an ID is specified, drawing will be performed within the element with the specified ID. |
61
- | `bgColor` | The [R,G,B,A] array of background colors can be specified from 0 to 255. false is colorless and transparent. |
61
+ | `bgColor` | array | empty | The [R,G,B,A] array of background colors can be specified from 0 to 255. false is colorless and transparent. |
62
62
 
63
63
  ## Related sites
64
64
  * [Website](https://next2d.app)
65
- * [Player API Documentation](https://next2d.app/docs/player)
66
- * [Next2D NoCode Tool(α version)](https://tool.next2d.app)
65
+ * [Player API Documentation](https://next2d.app/en/docs/player)
66
+ * [Next2D NoCode Tool(β version)](https://tool.next2d.app)
67
67
  * [Next2D Framework](https://next2d.app/#framework)
68
- * [Tutorial & Reference.](https://next2d.app/tutorials/player)
68
+ * [Tutorial & Reference.](https://next2d.app/en/reference/player)
69
69
  * [Chat Community(Discord)](https://discord.gg/6c9rv5Uns5)
70
70
 
71
71
  ## License