@next2d/player 1.4.0 → 1.4.4

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.
Files changed (3) hide show
  1. package/README.md +22 -16
  2. package/next2d.js +2 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -11,7 +11,7 @@ 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
- # About(Japanese)
14
+ ## About(Japanese)
15
15
  Next2D Playerは、JavaScript FlashPlayer「swf2js」から派生したプロジェクトで
16
16
  あらゆるデバイスで動作する2D最速エンジンを提供することを目的としてます。
17
17
 
@@ -23,7 +23,7 @@ Next2D NoCode Toolはインストール不要でアクセスすれば誰でも
23
23
 
24
24
  2Dエンターテインメント開発を簡単に!快速に!快適に!
25
25
 
26
- # About(English)
26
+ ## About(English)
27
27
  Next2D Player is a project derived from the JavaScript FlashPlayer "swf2js".
28
28
  The goal is to provide the fastest 2D engine that works on any device.
29
29
 
@@ -35,17 +35,16 @@ Next2D NoCode Tool is a web service that does not require installation and can b
35
35
 
36
36
  2D entertainment development made easy! Fast! Comfortable!
37
37
 
38
-
39
- # Use Simple Sample
38
+ ## Use Simple Sample
40
39
  ```javascript
41
40
  next2d.load("JSON Path...");
42
41
  ```
43
42
 
44
- # Use Program Sample
43
+ ## Use Program Sample
45
44
  ```javascript
46
- const {Loader} = next2d.display;
47
- const {URLRequest} = next2d.net;
48
- const {Event} = next2d.events;
45
+ const { Loader } = next2d.display;
46
+ const { URLRequest } = next2d.net;
47
+ const { Event } = next2d.events;
49
48
 
50
49
  // create root MovieClip
51
50
  const root = next2d.createRootMovieClip();
@@ -63,18 +62,25 @@ loader
63
62
  });
64
63
 
65
64
  loader.load(request);
66
-
67
65
  ```
68
- @see [API Documentation](https://next2d.app/docs/player/index.html)
66
+ @see [API Documentation](https://next2d.app/docs/player)
67
+
68
+ ## Option settings
69
69
 
70
- # Related sites
70
+ | name | value | default | description |
71
+ | --- | --- | --- | --- |
72
+ | `base` | string | empty | The value to be set if the URL is not set at the time of the request. |
73
+ | `fullScreen` | boolean | false | It will be drawn beyond the width and height set in the fullscreen setting and stage. |
74
+ | `tagId` | string | empty | Set value of the ID of the DOM where you want to set the drawing. |
75
+ | `bgColor` | array [R,G,B,A] or false | false | RGBA can be specified from 0-255. |
76
+
77
+ ## Related sites
71
78
  * [Website](https://next2d.app)
72
- * [Player API Documentation](https://next2d.app/docs/player/index.html)
79
+ * [Player API Documentation](https://next2d.app/docs/player)
73
80
  * [Next2D NoCode Tool(α version)](https://tool.next2d.app)
74
- * [Next2D Framework(α version)](https://next2d.app/#framework)
75
- * [Tutorial & Reference.](https://next2d.app/tutorials)
81
+ * [Next2D Framework(β version)](https://next2d.app/#framework)
82
+ * [Tutorial & Reference.](https://next2d.app/tutorials/player)
76
83
  * [Chat Community(Discord)](https://discord.gg/6c9rv5Uns5)
77
84
 
78
-
79
- # License
85
+ ## License
80
86
  This project is licensed under the [MIT License](https://opensource.org/licenses/MIT) - see the [LICENSE](LICENSE) file for details.