maidraw 0.1.7 → 0.2.0

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.
@@ -0,0 +1,144 @@
1
+ {
2
+ "displayName": "maimai でらっくす PRiSM PLUS, Landscape",
3
+ "name": "jp-prismplus-landscape",
4
+ "width": 2560,
5
+ "height": 1440,
6
+ "sprites": {
7
+ "achievement": {
8
+ "d": "../../common/prism/achievement/d.png",
9
+ "c": "../../common/prism/achievement/c.png",
10
+ "b": "../../common/prism/achievement/b.png",
11
+ "bb": "../../common/prism/achievement/bb.png",
12
+ "bbb": "../../common/prism/achievement/bbb.png",
13
+ "a": "../../common/prism/achievement/a.png",
14
+ "aa": "../../common/prism/achievement/aa.png",
15
+ "aaa": "../../common/prism/achievement/aaa.png",
16
+ "s": "../../common/prism/achievement/s.png",
17
+ "sp": "../../common/prism/achievement/sp.png",
18
+ "ss": "../../common/prism/achievement/ss.png",
19
+ "ssp": "../../common/prism/achievement/ssp.png",
20
+ "sss": "../../common/prism/achievement/sss.png",
21
+ "sssp": "../../common/prism/achievement/sssp.png"
22
+ },
23
+ "mode": {
24
+ "standard": "../../common/versionless/mode/jp/standard.png",
25
+ "dx": "../../common/versionless/mode/jp/dx.png"
26
+ },
27
+ "milestone": {
28
+ "ap": "../../common/versionless/milestone/ap.png",
29
+ "app": "../../common/versionless/milestone/app.png",
30
+ "fc": "../../common/versionless/milestone/fc.png",
31
+ "fcp": "../../common/versionless/milestone/fcp.png",
32
+ "fdx": "../../common/versionless/milestone/fdx.png",
33
+ "fdxp": "../../common/versionless/milestone/fdxp.png",
34
+ "fs": "../../common/versionless/milestone/fs.png",
35
+ "fsp": "../../common/versionless/milestone/fsp.png",
36
+ "sync": "../../common/versionless/milestone/sync.png",
37
+ "none": "../../common/versionless/milestone/none.png"
38
+ },
39
+ "dxRating": {
40
+ "white": "../../common/versionless/dxRating/jp/white.png",
41
+ "blue": "../../common/versionless/dxRating/jp/blue.png",
42
+ "green": "../../common/versionless/dxRating/jp/green.png",
43
+ "yellow": "../../common/versionless/dxRating/jp/yellow.png",
44
+ "red": "../../common/versionless/dxRating/jp/red.png",
45
+ "purple": "../../common/versionless/dxRating/jp/purple.png",
46
+ "bronze": "../../common/versionless/dxRating/jp/bronze.png",
47
+ "silver": "../../common/versionless/dxRating/jp/silver.png",
48
+ "gold": "../../common/versionless/dxRating/jp/gold.png",
49
+ "platinum": "../../common/versionless/dxRating/jp/platinum.png",
50
+ "rainbow": "../../common/versionless/dxRating/jp/rainbow.png"
51
+ },
52
+ "dxRatingNumberMap": "../../common/versionless/dxRating/numberMap.png",
53
+ "profile": {
54
+ "nameplate": "../../common/versionless/nameplate.png",
55
+ "icon": "../../common/versionless/icon.png"
56
+ }
57
+ },
58
+ "elements": [
59
+ {
60
+ "type": "image",
61
+ "x": 0,
62
+ "y": -480,
63
+ "width": 2560,
64
+ "height": 1920,
65
+ "path": "../../common/prism/jp/background.png"
66
+ },
67
+ {
68
+ "type": "image",
69
+ "x": 534,
70
+ "y": 70,
71
+ "width": 720,
72
+ "height": 633,
73
+ "path": "../../common/prism/plus/chara.png"
74
+ },
75
+ {
76
+ "type": "image",
77
+ "x": 368,
78
+ "y": -3,
79
+ "width": 287,
80
+ "height": 212,
81
+ "path": "../../common/prism/plus/laundry.png"
82
+ },
83
+ {
84
+ "type": "image",
85
+ "x": 232,
86
+ "y": 116,
87
+ "width": 557,
88
+ "height": 231,
89
+ "path": "../../common/prism/plus/logo.png"
90
+ },
91
+ {
92
+ "type": "score-grid",
93
+ "x": 70,
94
+ "y": 500,
95
+ "horizontalSize": 3,
96
+ "verticalSize": 5,
97
+ "region": "new",
98
+ "index": 0,
99
+ "scoreBubble": {
100
+ "width": 280,
101
+ "height": 155,
102
+ "margin": 10,
103
+ "gap": 20,
104
+ "color": {
105
+ "basic": "#70E262",
106
+ "advanced": "#FFBB00",
107
+ "expert": "#FF4A5A",
108
+ "master": "#A04FDA",
109
+ "remaster": "#DDBDF5",
110
+ "utage": "#70E262"
111
+ }
112
+ }
113
+ },
114
+ {
115
+ "type": "score-grid",
116
+ "x": 1010,
117
+ "y": 150,
118
+ "horizontalSize": 5,
119
+ "verticalSize": 7,
120
+ "region": "old",
121
+ "index": 0,
122
+ "scoreBubble": {
123
+ "width": 280,
124
+ "height": 155,
125
+ "margin": 10,
126
+ "gap": 20,
127
+ "color": {
128
+ "basic": "#70E262",
129
+ "advanced": "#FFBB00",
130
+ "expert": "#FF4A5A",
131
+ "master": "#A04FDA",
132
+ "remaster": "#DDBDF5",
133
+ "utage": "#70E262"
134
+ }
135
+ }
136
+ },
137
+ {
138
+ "type": "profile",
139
+ "x": 110,
140
+ "y": 345,
141
+ "height": 129
142
+ }
143
+ ]
144
+ }
@@ -0,0 +1,144 @@
1
+ {
2
+ "displayName": "maimai でらっくす PRiSM PLUS, Portrait",
3
+ "name": "jp-prismplus-portrait",
4
+ "width": 1560,
5
+ "height": 2315,
6
+ "sprites": {
7
+ "achievement": {
8
+ "d": "../../common/prism/achievement/d.png",
9
+ "c": "../../common/prism/achievement/c.png",
10
+ "b": "../../common/prism/achievement/b.png",
11
+ "bb": "../../common/prism/achievement/bb.png",
12
+ "bbb": "../../common/prism/achievement/bbb.png",
13
+ "a": "../../common/prism/achievement/a.png",
14
+ "aa": "../../common/prism/achievement/aa.png",
15
+ "aaa": "../../common/prism/achievement/aaa.png",
16
+ "s": "../../common/prism/achievement/s.png",
17
+ "sp": "../../common/prism/achievement/sp.png",
18
+ "ss": "../../common/prism/achievement/ss.png",
19
+ "ssp": "../../common/prism/achievement/ssp.png",
20
+ "sss": "../../common/prism/achievement/sss.png",
21
+ "sssp": "../../common/prism/achievement/sssp.png"
22
+ },
23
+ "mode": {
24
+ "standard": "../../common/versionless/mode/jp/standard.png",
25
+ "dx": "../../common/versionless/mode/jp/dx.png"
26
+ },
27
+ "milestone": {
28
+ "ap": "../../common/versionless/milestone/ap.png",
29
+ "app": "../../common/versionless/milestone/app.png",
30
+ "fc": "../../common/versionless/milestone/fc.png",
31
+ "fcp": "../../common/versionless/milestone/fcp.png",
32
+ "fdx": "../../common/versionless/milestone/fdx.png",
33
+ "fdxp": "../../common/versionless/milestone/fdxp.png",
34
+ "fs": "../../common/versionless/milestone/fs.png",
35
+ "fsp": "../../common/versionless/milestone/fsp.png",
36
+ "sync": "../../common/versionless/milestone/sync.png",
37
+ "none": "../../common/versionless/milestone/none.png"
38
+ },
39
+ "dxRating": {
40
+ "white": "../../common/versionless/dxRating/jp/white.png",
41
+ "blue": "../../common/versionless/dxRating/jp/blue.png",
42
+ "green": "../../common/versionless/dxRating/jp/green.png",
43
+ "yellow": "../../common/versionless/dxRating/jp/yellow.png",
44
+ "red": "../../common/versionless/dxRating/jp/red.png",
45
+ "purple": "../../common/versionless/dxRating/jp/purple.png",
46
+ "bronze": "../../common/versionless/dxRating/jp/bronze.png",
47
+ "silver": "../../common/versionless/dxRating/jp/silver.png",
48
+ "gold": "../../common/versionless/dxRating/jp/gold.png",
49
+ "platinum": "../../common/versionless/dxRating/jp/platinum.png",
50
+ "rainbow": "../../common/versionless/dxRating/jp/rainbow.png"
51
+ },
52
+ "dxRatingNumberMap": "../../common/versionless/dxRating/numberMap.png",
53
+ "profile": {
54
+ "nameplate": "../../common/versionless/nameplate.png",
55
+ "icon": "../../common/versionless/icon.png"
56
+ }
57
+ },
58
+ "elements": [
59
+ {
60
+ "type": "image",
61
+ "x": -763,
62
+ "y": 0,
63
+ "width": 3086,
64
+ "height": 2315,
65
+ "path": "../../common/prism/jp/background.png"
66
+ },
67
+ {
68
+ "type": "image",
69
+ "x": 980,
70
+ "y": 200,
71
+ "width": 600,
72
+ "height": 527,
73
+ "path": "../../common/prism/plus/chara.png"
74
+ },
75
+ {
76
+ "type": "image",
77
+ "x": 189,
78
+ "y": -20,
79
+ "width": 282,
80
+ "height": 208,
81
+ "path": "../../common/prism/plus/laundry.png"
82
+ },
83
+ {
84
+ "type": "image",
85
+ "x": 53,
86
+ "y": 100,
87
+ "width": 554,
88
+ "height": 230,
89
+ "path": "../../common/prism/plus/logo.png"
90
+ },
91
+ {
92
+ "type": "score-grid",
93
+ "x": 40,
94
+ "y": 470,
95
+ "horizontalSize": 5,
96
+ "verticalSize": 3,
97
+ "region": "new",
98
+ "index": 0,
99
+ "scoreBubble": {
100
+ "width": 280,
101
+ "height": 155,
102
+ "margin": 10,
103
+ "gap": 20,
104
+ "color": {
105
+ "basic": "#70E262",
106
+ "advanced": "#FFBB00",
107
+ "expert": "#FF4A5A",
108
+ "master": "#A04FDA",
109
+ "remaster": "#DDBDF5",
110
+ "utage": "#70E262"
111
+ }
112
+ }
113
+ },
114
+ {
115
+ "type": "score-grid",
116
+ "x": 40,
117
+ "y": 1075,
118
+ "horizontalSize": 5,
119
+ "verticalSize": 7,
120
+ "region": "old",
121
+ "index": 0,
122
+ "scoreBubble": {
123
+ "width": 280,
124
+ "height": 155,
125
+ "margin": 10,
126
+ "gap": 20,
127
+ "color": {
128
+ "basic": "#70E262",
129
+ "advanced": "#FFBB00",
130
+ "expert": "#FF4A5A",
131
+ "master": "#A04FDA",
132
+ "remaster": "#DDBDF5",
133
+ "utage": "#70E262"
134
+ }
135
+ }
136
+ },
137
+ {
138
+ "type": "profile",
139
+ "x": 580,
140
+ "y": 145,
141
+ "height": 150
142
+ }
143
+ ]
144
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maidraw",
3
- "version": "0.1.7",
3
+ "version": "0.2.0",
4
4
  "description": "Kasumi module for maimai bot",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
Binary file
Binary file
package/test/testDraw.js CHANGED
@@ -8,6 +8,8 @@ const upath = require("upath");
8
8
  const fs = require("fs");
9
9
 
10
10
  const themes = [
11
+ "jp-prismplus-landscape",
12
+ "jp-prismplus-portrait",
11
13
  "jp-prism-landscape",
12
14
  "jp-prism-portrait",
13
15
  "jp-buddiesplus-landscape",