jmgraph 3.2.19 → 3.2.21
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.md +311 -6
- package/dist/jmgraph.core.min.js +1 -1
- package/dist/jmgraph.core.min.js.map +1 -1
- package/dist/jmgraph.js +2022 -368
- package/dist/jmgraph.min.js +1 -1
- package/index.js +23 -25
- package/package.json +1 -1
- package/src/core/jmControl.js +199 -30
- package/src/core/jmFilter.js +150 -0
- package/src/core/jmGraph.js +207 -7
- package/src/core/jmLayer.js +142 -0
- package/src/core/jmPath.js +55 -0
- package/src/core/jmUtils.js +46 -37
- package/src/lib/webgl/base.js +10 -36
- package/src/lib/webgl/gradient.js +16 -3
- package/src/lib/webgl/index.js +5 -4
- package/src/lib/webgl/path.js +156 -33
- package/src/shapes/jmEllipse.js +91 -0
- package/src/shapes/jmLabel.js +126 -75
- package/src/shapes/jmPolygon.js +129 -0
- package/src/shapes/jmRect.js +107 -29
- package/src/shapes/jmStar.js +160 -0
- package/example/ball.html +0 -217
- package/example/base.html +0 -112
- package/example/canvas.html +0 -54
- package/example/cell.html +0 -284
- package/example/controls/arc.html +0 -129
- package/example/controls/arrowline.html +0 -78
- package/example/controls/bezier.html +0 -299
- package/example/controls/img.html +0 -97
- package/example/controls/label.html +0 -87
- package/example/controls/line.html +0 -173
- package/example/controls/prismatic.html +0 -63
- package/example/controls/rect.html +0 -64
- package/example/controls/resize.html +0 -112
- package/example/controls/test.html +0 -360
- package/example/es.html +0 -70
- package/example/es5module.html +0 -63
- package/example/heartarc.html +0 -116
- package/example/index.html +0 -47
- package/example/js/require.js +0 -5
- package/example/love/img/bling/bling.tps +0 -265
- package/example/love/img/bling.json +0 -87
- package/example/love/img/bling.tps +0 -295
- package/example/love/img/doc/bling.gif +0 -0
- package/example/love/img/love.json +0 -95
- package/example/love/img/love.tps +0 -315
- package/example/love/img/qq/qq.tps +0 -399
- package/example/love/img/qq.json +0 -242
- package/example/love/index.html +0 -40
- package/example/love/js/game.js +0 -558
- package/example/music.html +0 -211
- package/example/node/test.js +0 -138
- package/example/pdf.html +0 -187
- package/example/progress.html +0 -173
- package/example/pso.html +0 -148
- package/example/sort.html +0 -805
- package/example/tweenjs.html +0 -84
- package/example/webgl.html +0 -278
- package/example/xfj/img/dr_die.gif +0 -0
- package/example/xfj/index.html +0 -332
- package/example/xfj/shake.js +0 -49
- package/example/xfj/testori.html +0 -76
|
@@ -1,399 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<data version="1.0">
|
|
3
|
-
<struct type="Settings">
|
|
4
|
-
<key>fileFormatVersion</key>
|
|
5
|
-
<int>4</int>
|
|
6
|
-
<key>texturePackerVersion</key>
|
|
7
|
-
<string>4.11.1</string>
|
|
8
|
-
<key>autoSDSettings</key>
|
|
9
|
-
<array>
|
|
10
|
-
<struct type="AutoSDSettings">
|
|
11
|
-
<key>scale</key>
|
|
12
|
-
<double>1</double>
|
|
13
|
-
<key>extension</key>
|
|
14
|
-
<string></string>
|
|
15
|
-
<key>spriteFilter</key>
|
|
16
|
-
<string></string>
|
|
17
|
-
<key>acceptFractionalValues</key>
|
|
18
|
-
<false/>
|
|
19
|
-
<key>maxTextureSize</key>
|
|
20
|
-
<QSize>
|
|
21
|
-
<key>width</key>
|
|
22
|
-
<int>-1</int>
|
|
23
|
-
<key>height</key>
|
|
24
|
-
<int>-1</int>
|
|
25
|
-
</QSize>
|
|
26
|
-
</struct>
|
|
27
|
-
</array>
|
|
28
|
-
<key>allowRotation</key>
|
|
29
|
-
<true/>
|
|
30
|
-
<key>shapeDebug</key>
|
|
31
|
-
<false/>
|
|
32
|
-
<key>dpi</key>
|
|
33
|
-
<uint>72</uint>
|
|
34
|
-
<key>dataFormat</key>
|
|
35
|
-
<string>pixijs4</string>
|
|
36
|
-
<key>textureFileName</key>
|
|
37
|
-
<filename></filename>
|
|
38
|
-
<key>flipPVR</key>
|
|
39
|
-
<false/>
|
|
40
|
-
<key>pvrCompressionQuality</key>
|
|
41
|
-
<enum type="SettingsBase::PvrCompressionQuality">PVR_QUALITY_NORMAL</enum>
|
|
42
|
-
<key>atfCompressData</key>
|
|
43
|
-
<false/>
|
|
44
|
-
<key>mipMapMinSize</key>
|
|
45
|
-
<uint>32768</uint>
|
|
46
|
-
<key>etc1CompressionQuality</key>
|
|
47
|
-
<enum type="SettingsBase::Etc1CompressionQuality">ETC1_QUALITY_LOW_PERCEPTUAL</enum>
|
|
48
|
-
<key>etc2CompressionQuality</key>
|
|
49
|
-
<enum type="SettingsBase::Etc2CompressionQuality">ETC2_QUALITY_LOW_PERCEPTUAL</enum>
|
|
50
|
-
<key>dxtCompressionMode</key>
|
|
51
|
-
<enum type="SettingsBase::DxtCompressionMode">DXT_PERCEPTUAL</enum>
|
|
52
|
-
<key>jxrColorFormat</key>
|
|
53
|
-
<enum type="SettingsBase::JpegXrColorMode">JXR_YUV444</enum>
|
|
54
|
-
<key>jxrTrimFlexBits</key>
|
|
55
|
-
<uint>0</uint>
|
|
56
|
-
<key>jxrCompressionLevel</key>
|
|
57
|
-
<uint>0</uint>
|
|
58
|
-
<key>ditherType</key>
|
|
59
|
-
<enum type="SettingsBase::DitherType">PngQuantLow</enum>
|
|
60
|
-
<key>backgroundColor</key>
|
|
61
|
-
<uint>0</uint>
|
|
62
|
-
<key>libGdx</key>
|
|
63
|
-
<struct type="LibGDX">
|
|
64
|
-
<key>filtering</key>
|
|
65
|
-
<struct type="LibGDXFiltering">
|
|
66
|
-
<key>x</key>
|
|
67
|
-
<enum type="LibGDXFiltering::Filtering">Linear</enum>
|
|
68
|
-
<key>y</key>
|
|
69
|
-
<enum type="LibGDXFiltering::Filtering">Linear</enum>
|
|
70
|
-
</struct>
|
|
71
|
-
</struct>
|
|
72
|
-
<key>shapePadding</key>
|
|
73
|
-
<uint>0</uint>
|
|
74
|
-
<key>jpgQuality</key>
|
|
75
|
-
<uint>80</uint>
|
|
76
|
-
<key>pngOptimizationLevel</key>
|
|
77
|
-
<uint>0</uint>
|
|
78
|
-
<key>webpQualityLevel</key>
|
|
79
|
-
<uint>101</uint>
|
|
80
|
-
<key>textureSubPath</key>
|
|
81
|
-
<string></string>
|
|
82
|
-
<key>atfFormats</key>
|
|
83
|
-
<string></string>
|
|
84
|
-
<key>textureFormat</key>
|
|
85
|
-
<enum type="SettingsBase::TextureFormat">png</enum>
|
|
86
|
-
<key>borderPadding</key>
|
|
87
|
-
<uint>0</uint>
|
|
88
|
-
<key>maxTextureSize</key>
|
|
89
|
-
<QSize>
|
|
90
|
-
<key>width</key>
|
|
91
|
-
<int>2048</int>
|
|
92
|
-
<key>height</key>
|
|
93
|
-
<int>2048</int>
|
|
94
|
-
</QSize>
|
|
95
|
-
<key>fixedTextureSize</key>
|
|
96
|
-
<QSize>
|
|
97
|
-
<key>width</key>
|
|
98
|
-
<int>-1</int>
|
|
99
|
-
<key>height</key>
|
|
100
|
-
<int>-1</int>
|
|
101
|
-
</QSize>
|
|
102
|
-
<key>algorithmSettings</key>
|
|
103
|
-
<struct type="AlgorithmSettings">
|
|
104
|
-
<key>algorithm</key>
|
|
105
|
-
<enum type="AlgorithmSettings::AlgorithmId">Basic</enum>
|
|
106
|
-
<key>freeSizeMode</key>
|
|
107
|
-
<enum type="AlgorithmSettings::AlgorithmFreeSizeMode">Best</enum>
|
|
108
|
-
<key>sizeConstraints</key>
|
|
109
|
-
<enum type="AlgorithmSettings::SizeConstraints">AnySize</enum>
|
|
110
|
-
<key>forceSquared</key>
|
|
111
|
-
<false/>
|
|
112
|
-
<key>maxRects</key>
|
|
113
|
-
<struct type="AlgorithmMaxRectsSettings">
|
|
114
|
-
<key>heuristic</key>
|
|
115
|
-
<enum type="AlgorithmMaxRectsSettings::Heuristic">Best</enum>
|
|
116
|
-
</struct>
|
|
117
|
-
<key>basic</key>
|
|
118
|
-
<struct type="AlgorithmBasicSettings">
|
|
119
|
-
<key>sortBy</key>
|
|
120
|
-
<enum type="AlgorithmBasicSettings::SortBy">Best</enum>
|
|
121
|
-
<key>order</key>
|
|
122
|
-
<enum type="AlgorithmBasicSettings::Order">Ascending</enum>
|
|
123
|
-
</struct>
|
|
124
|
-
<key>polygon</key>
|
|
125
|
-
<struct type="AlgorithmPolygonSettings">
|
|
126
|
-
<key>alignToGrid</key>
|
|
127
|
-
<uint>1</uint>
|
|
128
|
-
</struct>
|
|
129
|
-
</struct>
|
|
130
|
-
<key>dataFileNames</key>
|
|
131
|
-
<map type="GFileNameMap">
|
|
132
|
-
<key>data</key>
|
|
133
|
-
<struct type="DataFile">
|
|
134
|
-
<key>name</key>
|
|
135
|
-
<filename>../qq.json</filename>
|
|
136
|
-
</struct>
|
|
137
|
-
</map>
|
|
138
|
-
<key>multiPack</key>
|
|
139
|
-
<false/>
|
|
140
|
-
<key>forceIdenticalLayout</key>
|
|
141
|
-
<false/>
|
|
142
|
-
<key>outputFormat</key>
|
|
143
|
-
<enum type="SettingsBase::OutputFormat">RGBA8888</enum>
|
|
144
|
-
<key>alphaHandling</key>
|
|
145
|
-
<enum type="SettingsBase::AlphaHandling">ClearTransparentPixels</enum>
|
|
146
|
-
<key>contentProtection</key>
|
|
147
|
-
<struct type="ContentProtection">
|
|
148
|
-
<key>key</key>
|
|
149
|
-
<string></string>
|
|
150
|
-
</struct>
|
|
151
|
-
<key>autoAliasEnabled</key>
|
|
152
|
-
<false/>
|
|
153
|
-
<key>trimSpriteNames</key>
|
|
154
|
-
<false/>
|
|
155
|
-
<key>prependSmartFolderName</key>
|
|
156
|
-
<false/>
|
|
157
|
-
<key>autodetectAnimations</key>
|
|
158
|
-
<true/>
|
|
159
|
-
<key>globalSpriteSettings</key>
|
|
160
|
-
<struct type="SpriteSettings">
|
|
161
|
-
<key>scale</key>
|
|
162
|
-
<double>1</double>
|
|
163
|
-
<key>scaleMode</key>
|
|
164
|
-
<enum type="ScaleMode">Smooth</enum>
|
|
165
|
-
<key>extrude</key>
|
|
166
|
-
<uint>0</uint>
|
|
167
|
-
<key>trimThreshold</key>
|
|
168
|
-
<uint>1</uint>
|
|
169
|
-
<key>trimMargin</key>
|
|
170
|
-
<uint>1</uint>
|
|
171
|
-
<key>trimMode</key>
|
|
172
|
-
<enum type="SpriteSettings::TrimMode">None</enum>
|
|
173
|
-
<key>tracerTolerance</key>
|
|
174
|
-
<int>200</int>
|
|
175
|
-
<key>heuristicMask</key>
|
|
176
|
-
<false/>
|
|
177
|
-
<key>defaultPivotPoint</key>
|
|
178
|
-
<point_f>0,0</point_f>
|
|
179
|
-
<key>writePivotPoints</key>
|
|
180
|
-
<false/>
|
|
181
|
-
</struct>
|
|
182
|
-
<key>individualSpriteSettings</key>
|
|
183
|
-
<map type="IndividualSpriteSettingsMap">
|
|
184
|
-
<key type="filename">break1.png</key>
|
|
185
|
-
<key type="filename">break2.png</key>
|
|
186
|
-
<key type="filename">break3.png</key>
|
|
187
|
-
<key type="filename">break4.png</key>
|
|
188
|
-
<key type="filename">break5.png</key>
|
|
189
|
-
<key type="filename">break6.png</key>
|
|
190
|
-
<struct type="IndividualSpriteSettings">
|
|
191
|
-
<key>pivotPoint</key>
|
|
192
|
-
<point_f>0.5,0.5</point_f>
|
|
193
|
-
<key>scale9Enabled</key>
|
|
194
|
-
<false/>
|
|
195
|
-
<key>scale9Borders</key>
|
|
196
|
-
<rect>38,38,75,75</rect>
|
|
197
|
-
<key>scale9Paddings</key>
|
|
198
|
-
<rect>38,38,75,75</rect>
|
|
199
|
-
<key>scale9FromFile</key>
|
|
200
|
-
<false/>
|
|
201
|
-
</struct>
|
|
202
|
-
<key type="filename">left1.png</key>
|
|
203
|
-
<struct type="IndividualSpriteSettings">
|
|
204
|
-
<key>pivotPoint</key>
|
|
205
|
-
<point_f>0.5,0.5</point_f>
|
|
206
|
-
<key>scale9Enabled</key>
|
|
207
|
-
<false/>
|
|
208
|
-
<key>scale9Borders</key>
|
|
209
|
-
<rect>13,20,25,39</rect>
|
|
210
|
-
<key>scale9Paddings</key>
|
|
211
|
-
<rect>13,20,25,39</rect>
|
|
212
|
-
<key>scale9FromFile</key>
|
|
213
|
-
<false/>
|
|
214
|
-
</struct>
|
|
215
|
-
<key type="filename">left2.png</key>
|
|
216
|
-
<struct type="IndividualSpriteSettings">
|
|
217
|
-
<key>pivotPoint</key>
|
|
218
|
-
<point_f>0.5,0.5</point_f>
|
|
219
|
-
<key>scale9Enabled</key>
|
|
220
|
-
<false/>
|
|
221
|
-
<key>scale9Borders</key>
|
|
222
|
-
<rect>7,20,13,40</rect>
|
|
223
|
-
<key>scale9Paddings</key>
|
|
224
|
-
<rect>7,20,13,40</rect>
|
|
225
|
-
<key>scale9FromFile</key>
|
|
226
|
-
<false/>
|
|
227
|
-
</struct>
|
|
228
|
-
<key type="filename">left3.png</key>
|
|
229
|
-
<struct type="IndividualSpriteSettings">
|
|
230
|
-
<key>pivotPoint</key>
|
|
231
|
-
<point_f>0.5,0.5</point_f>
|
|
232
|
-
<key>scale9Enabled</key>
|
|
233
|
-
<false/>
|
|
234
|
-
<key>scale9Borders</key>
|
|
235
|
-
<rect>4,19,7,38</rect>
|
|
236
|
-
<key>scale9Paddings</key>
|
|
237
|
-
<rect>4,19,7,38</rect>
|
|
238
|
-
<key>scale9FromFile</key>
|
|
239
|
-
<false/>
|
|
240
|
-
</struct>
|
|
241
|
-
<key type="filename">left4.png</key>
|
|
242
|
-
<key type="filename">right4.png</key>
|
|
243
|
-
<struct type="IndividualSpriteSettings">
|
|
244
|
-
<key>pivotPoint</key>
|
|
245
|
-
<point_f>0.5,0.5</point_f>
|
|
246
|
-
<key>scale9Enabled</key>
|
|
247
|
-
<false/>
|
|
248
|
-
<key>scale9Borders</key>
|
|
249
|
-
<rect>2,19,4,38</rect>
|
|
250
|
-
<key>scale9Paddings</key>
|
|
251
|
-
<rect>2,19,4,38</rect>
|
|
252
|
-
<key>scale9FromFile</key>
|
|
253
|
-
<false/>
|
|
254
|
-
</struct>
|
|
255
|
-
<key type="filename">normal.png</key>
|
|
256
|
-
<struct type="IndividualSpriteSettings">
|
|
257
|
-
<key>pivotPoint</key>
|
|
258
|
-
<point_f>0.5,0.5</point_f>
|
|
259
|
-
<key>scale9Enabled</key>
|
|
260
|
-
<false/>
|
|
261
|
-
<key>scale9Borders</key>
|
|
262
|
-
<rect>1,19,1,38</rect>
|
|
263
|
-
<key>scale9Paddings</key>
|
|
264
|
-
<rect>1,19,1,38</rect>
|
|
265
|
-
<key>scale9FromFile</key>
|
|
266
|
-
<false/>
|
|
267
|
-
</struct>
|
|
268
|
-
<key type="filename">qq_head.png</key>
|
|
269
|
-
<struct type="IndividualSpriteSettings">
|
|
270
|
-
<key>pivotPoint</key>
|
|
271
|
-
<point_f>0.5,0.5</point_f>
|
|
272
|
-
<key>scale9Enabled</key>
|
|
273
|
-
<false/>
|
|
274
|
-
<key>scale9Borders</key>
|
|
275
|
-
<rect>56,56,111,111</rect>
|
|
276
|
-
<key>scale9Paddings</key>
|
|
277
|
-
<rect>56,56,111,111</rect>
|
|
278
|
-
<key>scale9FromFile</key>
|
|
279
|
-
<false/>
|
|
280
|
-
</struct>
|
|
281
|
-
<key type="filename">qq_score10.png</key>
|
|
282
|
-
<key type="filename">qq_score11.png</key>
|
|
283
|
-
<key type="filename">qq_score12.png</key>
|
|
284
|
-
<key type="filename">qq_score13.png</key>
|
|
285
|
-
<key type="filename">qq_score2.png</key>
|
|
286
|
-
<key type="filename">qq_score3.png</key>
|
|
287
|
-
<key type="filename">qq_score4.png</key>
|
|
288
|
-
<key type="filename">qq_score5.png</key>
|
|
289
|
-
<key type="filename">qq_score6.png</key>
|
|
290
|
-
<key type="filename">qq_score7.png</key>
|
|
291
|
-
<key type="filename">qq_score8.png</key>
|
|
292
|
-
<key type="filename">qq_score9.png</key>
|
|
293
|
-
<struct type="IndividualSpriteSettings">
|
|
294
|
-
<key>pivotPoint</key>
|
|
295
|
-
<point_f>0.5,0.5</point_f>
|
|
296
|
-
<key>scale9Enabled</key>
|
|
297
|
-
<false/>
|
|
298
|
-
<key>scale9Borders</key>
|
|
299
|
-
<rect>75,75,150,150</rect>
|
|
300
|
-
<key>scale9Paddings</key>
|
|
301
|
-
<rect>75,75,150,150</rect>
|
|
302
|
-
<key>scale9FromFile</key>
|
|
303
|
-
<false/>
|
|
304
|
-
</struct>
|
|
305
|
-
<key type="filename">right1.png</key>
|
|
306
|
-
<struct type="IndividualSpriteSettings">
|
|
307
|
-
<key>pivotPoint</key>
|
|
308
|
-
<point_f>0.5,0.5</point_f>
|
|
309
|
-
<key>scale9Enabled</key>
|
|
310
|
-
<false/>
|
|
311
|
-
<key>scale9Borders</key>
|
|
312
|
-
<rect>13,20,26,41</rect>
|
|
313
|
-
<key>scale9Paddings</key>
|
|
314
|
-
<rect>13,20,26,41</rect>
|
|
315
|
-
<key>scale9FromFile</key>
|
|
316
|
-
<false/>
|
|
317
|
-
</struct>
|
|
318
|
-
<key type="filename">right2.png</key>
|
|
319
|
-
<struct type="IndividualSpriteSettings">
|
|
320
|
-
<key>pivotPoint</key>
|
|
321
|
-
<point_f>0.5,0.5</point_f>
|
|
322
|
-
<key>scale9Enabled</key>
|
|
323
|
-
<false/>
|
|
324
|
-
<key>scale9Borders</key>
|
|
325
|
-
<rect>7,21,13,41</rect>
|
|
326
|
-
<key>scale9Paddings</key>
|
|
327
|
-
<rect>7,21,13,41</rect>
|
|
328
|
-
<key>scale9FromFile</key>
|
|
329
|
-
<false/>
|
|
330
|
-
</struct>
|
|
331
|
-
<key type="filename">right3.png</key>
|
|
332
|
-
<struct type="IndividualSpriteSettings">
|
|
333
|
-
<key>pivotPoint</key>
|
|
334
|
-
<point_f>0.5,0.5</point_f>
|
|
335
|
-
<key>scale9Enabled</key>
|
|
336
|
-
<false/>
|
|
337
|
-
<key>scale9Borders</key>
|
|
338
|
-
<rect>4,19,8,39</rect>
|
|
339
|
-
<key>scale9Paddings</key>
|
|
340
|
-
<rect>4,19,8,39</rect>
|
|
341
|
-
<key>scale9FromFile</key>
|
|
342
|
-
<false/>
|
|
343
|
-
</struct>
|
|
344
|
-
</map>
|
|
345
|
-
<key>fileList</key>
|
|
346
|
-
<array>
|
|
347
|
-
<filename>left1.png</filename>
|
|
348
|
-
<filename>left2.png</filename>
|
|
349
|
-
<filename>left3.png</filename>
|
|
350
|
-
<filename>left4.png</filename>
|
|
351
|
-
<filename>normal.png</filename>
|
|
352
|
-
<filename>right1.png</filename>
|
|
353
|
-
<filename>right2.png</filename>
|
|
354
|
-
<filename>right3.png</filename>
|
|
355
|
-
<filename>right4.png</filename>
|
|
356
|
-
<filename>qq_score9.png</filename>
|
|
357
|
-
<filename>qq_score10.png</filename>
|
|
358
|
-
<filename>qq_score11.png</filename>
|
|
359
|
-
<filename>qq_score12.png</filename>
|
|
360
|
-
<filename>qq_score13.png</filename>
|
|
361
|
-
<filename>break1.png</filename>
|
|
362
|
-
<filename>break2.png</filename>
|
|
363
|
-
<filename>break3.png</filename>
|
|
364
|
-
<filename>break4.png</filename>
|
|
365
|
-
<filename>break5.png</filename>
|
|
366
|
-
<filename>break6.png</filename>
|
|
367
|
-
<filename>qq_head.png</filename>
|
|
368
|
-
<filename>qq_score2.png</filename>
|
|
369
|
-
<filename>qq_score3.png</filename>
|
|
370
|
-
<filename>qq_score4.png</filename>
|
|
371
|
-
<filename>qq_score5.png</filename>
|
|
372
|
-
<filename>qq_score6.png</filename>
|
|
373
|
-
<filename>qq_score7.png</filename>
|
|
374
|
-
<filename>qq_score8.png</filename>
|
|
375
|
-
</array>
|
|
376
|
-
<key>ignoreFileList</key>
|
|
377
|
-
<array/>
|
|
378
|
-
<key>replaceList</key>
|
|
379
|
-
<array/>
|
|
380
|
-
<key>ignoredWarnings</key>
|
|
381
|
-
<array/>
|
|
382
|
-
<key>commonDivisorX</key>
|
|
383
|
-
<uint>1</uint>
|
|
384
|
-
<key>commonDivisorY</key>
|
|
385
|
-
<uint>1</uint>
|
|
386
|
-
<key>packNormalMaps</key>
|
|
387
|
-
<false/>
|
|
388
|
-
<key>autodetectNormalMaps</key>
|
|
389
|
-
<true/>
|
|
390
|
-
<key>normalMapFilter</key>
|
|
391
|
-
<string></string>
|
|
392
|
-
<key>normalMapSuffix</key>
|
|
393
|
-
<string></string>
|
|
394
|
-
<key>normalMapSheetFileName</key>
|
|
395
|
-
<filename></filename>
|
|
396
|
-
<key>exporterProperties</key>
|
|
397
|
-
<map type="ExporterProperties"/>
|
|
398
|
-
</struct>
|
|
399
|
-
</data>
|
package/example/love/img/qq.json
DELETED
|
@@ -1,242 +0,0 @@
|
|
|
1
|
-
{"frames": {
|
|
2
|
-
|
|
3
|
-
"break1.png":
|
|
4
|
-
{
|
|
5
|
-
"frame": {"x":0,"y":0,"w":150,"h":150},
|
|
6
|
-
"rotated": false,
|
|
7
|
-
"trimmed": false,
|
|
8
|
-
"spriteSourceSize": {"x":0,"y":0,"w":150,"h":150},
|
|
9
|
-
"sourceSize": {"w":150,"h":150}
|
|
10
|
-
},
|
|
11
|
-
"break2.png":
|
|
12
|
-
{
|
|
13
|
-
"frame": {"x":150,"y":0,"w":150,"h":150},
|
|
14
|
-
"rotated": false,
|
|
15
|
-
"trimmed": false,
|
|
16
|
-
"spriteSourceSize": {"x":0,"y":0,"w":150,"h":150},
|
|
17
|
-
"sourceSize": {"w":150,"h":150}
|
|
18
|
-
},
|
|
19
|
-
"break3.png":
|
|
20
|
-
{
|
|
21
|
-
"frame": {"x":300,"y":0,"w":150,"h":150},
|
|
22
|
-
"rotated": false,
|
|
23
|
-
"trimmed": false,
|
|
24
|
-
"spriteSourceSize": {"x":0,"y":0,"w":150,"h":150},
|
|
25
|
-
"sourceSize": {"w":150,"h":150}
|
|
26
|
-
},
|
|
27
|
-
"break4.png":
|
|
28
|
-
{
|
|
29
|
-
"frame": {"x":450,"y":0,"w":150,"h":150},
|
|
30
|
-
"rotated": false,
|
|
31
|
-
"trimmed": false,
|
|
32
|
-
"spriteSourceSize": {"x":0,"y":0,"w":150,"h":150},
|
|
33
|
-
"sourceSize": {"w":150,"h":150}
|
|
34
|
-
},
|
|
35
|
-
"break5.png":
|
|
36
|
-
{
|
|
37
|
-
"frame": {"x":600,"y":0,"w":150,"h":150},
|
|
38
|
-
"rotated": false,
|
|
39
|
-
"trimmed": false,
|
|
40
|
-
"spriteSourceSize": {"x":0,"y":0,"w":150,"h":150},
|
|
41
|
-
"sourceSize": {"w":150,"h":150}
|
|
42
|
-
},
|
|
43
|
-
"break6.png":
|
|
44
|
-
{
|
|
45
|
-
"frame": {"x":750,"y":0,"w":150,"h":150},
|
|
46
|
-
"rotated": false,
|
|
47
|
-
"trimmed": false,
|
|
48
|
-
"spriteSourceSize": {"x":0,"y":0,"w":150,"h":150},
|
|
49
|
-
"sourceSize": {"w":150,"h":150}
|
|
50
|
-
},
|
|
51
|
-
"left1.png":
|
|
52
|
-
{
|
|
53
|
-
"frame": {"x":0,"y":150,"w":100,"h":81},
|
|
54
|
-
"rotated": false,
|
|
55
|
-
"trimmed": false,
|
|
56
|
-
"spriteSourceSize": {"x":0,"y":0,"w":100,"h":81},
|
|
57
|
-
"sourceSize": {"w":100,"h":81}
|
|
58
|
-
},
|
|
59
|
-
"left2.png":
|
|
60
|
-
{
|
|
61
|
-
"frame": {"x":100,"y":150,"w":100,"h":81},
|
|
62
|
-
"rotated": false,
|
|
63
|
-
"trimmed": false,
|
|
64
|
-
"spriteSourceSize": {"x":0,"y":0,"w":100,"h":81},
|
|
65
|
-
"sourceSize": {"w":100,"h":81}
|
|
66
|
-
},
|
|
67
|
-
"left3.png":
|
|
68
|
-
{
|
|
69
|
-
"frame": {"x":200,"y":150,"w":100,"h":81},
|
|
70
|
-
"rotated": false,
|
|
71
|
-
"trimmed": false,
|
|
72
|
-
"spriteSourceSize": {"x":0,"y":0,"w":100,"h":81},
|
|
73
|
-
"sourceSize": {"w":100,"h":81}
|
|
74
|
-
},
|
|
75
|
-
"left4.png":
|
|
76
|
-
{
|
|
77
|
-
"frame": {"x":300,"y":150,"w":100,"h":81},
|
|
78
|
-
"rotated": false,
|
|
79
|
-
"trimmed": false,
|
|
80
|
-
"spriteSourceSize": {"x":0,"y":0,"w":100,"h":81},
|
|
81
|
-
"sourceSize": {"w":100,"h":81}
|
|
82
|
-
},
|
|
83
|
-
"normal.png":
|
|
84
|
-
{
|
|
85
|
-
"frame": {"x":400,"y":150,"w":100,"h":81},
|
|
86
|
-
"rotated": false,
|
|
87
|
-
"trimmed": false,
|
|
88
|
-
"spriteSourceSize": {"x":0,"y":0,"w":100,"h":81},
|
|
89
|
-
"sourceSize": {"w":100,"h":81}
|
|
90
|
-
},
|
|
91
|
-
"qq_head.png":
|
|
92
|
-
{
|
|
93
|
-
"frame": {"x":500,"y":150,"w":222,"h":222},
|
|
94
|
-
"rotated": false,
|
|
95
|
-
"trimmed": false,
|
|
96
|
-
"spriteSourceSize": {"x":0,"y":0,"w":222,"h":222},
|
|
97
|
-
"sourceSize": {"w":222,"h":222}
|
|
98
|
-
},
|
|
99
|
-
"qq_score2.png":
|
|
100
|
-
{
|
|
101
|
-
"frame": {"x":0,"y":372,"w":300,"h":300},
|
|
102
|
-
"rotated": false,
|
|
103
|
-
"trimmed": false,
|
|
104
|
-
"spriteSourceSize": {"x":0,"y":0,"w":300,"h":300},
|
|
105
|
-
"sourceSize": {"w":300,"h":300}
|
|
106
|
-
},
|
|
107
|
-
"qq_score3.png":
|
|
108
|
-
{
|
|
109
|
-
"frame": {"x":300,"y":372,"w":300,"h":300},
|
|
110
|
-
"rotated": false,
|
|
111
|
-
"trimmed": false,
|
|
112
|
-
"spriteSourceSize": {"x":0,"y":0,"w":300,"h":300},
|
|
113
|
-
"sourceSize": {"w":300,"h":300}
|
|
114
|
-
},
|
|
115
|
-
"qq_score4.png":
|
|
116
|
-
{
|
|
117
|
-
"frame": {"x":600,"y":372,"w":300,"h":300},
|
|
118
|
-
"rotated": false,
|
|
119
|
-
"trimmed": false,
|
|
120
|
-
"spriteSourceSize": {"x":0,"y":0,"w":300,"h":300},
|
|
121
|
-
"sourceSize": {"w":300,"h":300}
|
|
122
|
-
},
|
|
123
|
-
"qq_score5.png":
|
|
124
|
-
{
|
|
125
|
-
"frame": {"x":0,"y":672,"w":300,"h":300},
|
|
126
|
-
"rotated": false,
|
|
127
|
-
"trimmed": false,
|
|
128
|
-
"spriteSourceSize": {"x":0,"y":0,"w":300,"h":300},
|
|
129
|
-
"sourceSize": {"w":300,"h":300}
|
|
130
|
-
},
|
|
131
|
-
"qq_score6.png":
|
|
132
|
-
{
|
|
133
|
-
"frame": {"x":300,"y":672,"w":300,"h":300},
|
|
134
|
-
"rotated": false,
|
|
135
|
-
"trimmed": false,
|
|
136
|
-
"spriteSourceSize": {"x":0,"y":0,"w":300,"h":300},
|
|
137
|
-
"sourceSize": {"w":300,"h":300}
|
|
138
|
-
},
|
|
139
|
-
"qq_score7.png":
|
|
140
|
-
{
|
|
141
|
-
"frame": {"x":600,"y":672,"w":300,"h":300},
|
|
142
|
-
"rotated": false,
|
|
143
|
-
"trimmed": false,
|
|
144
|
-
"spriteSourceSize": {"x":0,"y":0,"w":300,"h":300},
|
|
145
|
-
"sourceSize": {"w":300,"h":300}
|
|
146
|
-
},
|
|
147
|
-
"qq_score8.png":
|
|
148
|
-
{
|
|
149
|
-
"frame": {"x":0,"y":972,"w":300,"h":300},
|
|
150
|
-
"rotated": false,
|
|
151
|
-
"trimmed": false,
|
|
152
|
-
"spriteSourceSize": {"x":0,"y":0,"w":300,"h":300},
|
|
153
|
-
"sourceSize": {"w":300,"h":300}
|
|
154
|
-
},
|
|
155
|
-
"qq_score9.png":
|
|
156
|
-
{
|
|
157
|
-
"frame": {"x":300,"y":972,"w":300,"h":300},
|
|
158
|
-
"rotated": false,
|
|
159
|
-
"trimmed": false,
|
|
160
|
-
"spriteSourceSize": {"x":0,"y":0,"w":300,"h":300},
|
|
161
|
-
"sourceSize": {"w":300,"h":300}
|
|
162
|
-
},
|
|
163
|
-
"qq_score10.png":
|
|
164
|
-
{
|
|
165
|
-
"frame": {"x":600,"y":972,"w":300,"h":300},
|
|
166
|
-
"rotated": false,
|
|
167
|
-
"trimmed": false,
|
|
168
|
-
"spriteSourceSize": {"x":0,"y":0,"w":300,"h":300},
|
|
169
|
-
"sourceSize": {"w":300,"h":300}
|
|
170
|
-
},
|
|
171
|
-
"qq_score11.png":
|
|
172
|
-
{
|
|
173
|
-
"frame": {"x":0,"y":1272,"w":300,"h":300},
|
|
174
|
-
"rotated": false,
|
|
175
|
-
"trimmed": false,
|
|
176
|
-
"spriteSourceSize": {"x":0,"y":0,"w":300,"h":300},
|
|
177
|
-
"sourceSize": {"w":300,"h":300}
|
|
178
|
-
},
|
|
179
|
-
"qq_score12.png":
|
|
180
|
-
{
|
|
181
|
-
"frame": {"x":300,"y":1272,"w":300,"h":300},
|
|
182
|
-
"rotated": false,
|
|
183
|
-
"trimmed": false,
|
|
184
|
-
"spriteSourceSize": {"x":0,"y":0,"w":300,"h":300},
|
|
185
|
-
"sourceSize": {"w":300,"h":300}
|
|
186
|
-
},
|
|
187
|
-
"qq_score13.png":
|
|
188
|
-
{
|
|
189
|
-
"frame": {"x":600,"y":1272,"w":300,"h":300},
|
|
190
|
-
"rotated": false,
|
|
191
|
-
"trimmed": false,
|
|
192
|
-
"spriteSourceSize": {"x":0,"y":0,"w":300,"h":300},
|
|
193
|
-
"sourceSize": {"w":300,"h":300}
|
|
194
|
-
},
|
|
195
|
-
"right1.png":
|
|
196
|
-
{
|
|
197
|
-
"frame": {"x":0,"y":1572,"w":100,"h":81},
|
|
198
|
-
"rotated": false,
|
|
199
|
-
"trimmed": false,
|
|
200
|
-
"spriteSourceSize": {"x":0,"y":0,"w":100,"h":81},
|
|
201
|
-
"sourceSize": {"w":100,"h":81}
|
|
202
|
-
},
|
|
203
|
-
"right2.png":
|
|
204
|
-
{
|
|
205
|
-
"frame": {"x":100,"y":1572,"w":100,"h":81},
|
|
206
|
-
"rotated": false,
|
|
207
|
-
"trimmed": false,
|
|
208
|
-
"spriteSourceSize": {"x":0,"y":0,"w":100,"h":81},
|
|
209
|
-
"sourceSize": {"w":100,"h":81}
|
|
210
|
-
},
|
|
211
|
-
"right3.png":
|
|
212
|
-
{
|
|
213
|
-
"frame": {"x":200,"y":1572,"w":100,"h":81},
|
|
214
|
-
"rotated": false,
|
|
215
|
-
"trimmed": false,
|
|
216
|
-
"spriteSourceSize": {"x":0,"y":0,"w":100,"h":81},
|
|
217
|
-
"sourceSize": {"w":100,"h":81}
|
|
218
|
-
},
|
|
219
|
-
"right4.png":
|
|
220
|
-
{
|
|
221
|
-
"frame": {"x":300,"y":1572,"w":100,"h":81},
|
|
222
|
-
"rotated": false,
|
|
223
|
-
"trimmed": false,
|
|
224
|
-
"spriteSourceSize": {"x":0,"y":0,"w":100,"h":81},
|
|
225
|
-
"sourceSize": {"w":100,"h":81}
|
|
226
|
-
}},
|
|
227
|
-
"animations": {
|
|
228
|
-
"break": ["break1.png","break2.png","break3.png","break4.png","break5.png","break6.png"],
|
|
229
|
-
"left": ["left1.png","left2.png","left3.png","left4.png"],
|
|
230
|
-
"qq_score": ["qq_score2.png","qq_score3.png","qq_score4.png","qq_score5.png","qq_score6.png","qq_score7.png","qq_score8.png","qq_score9.png","qq_score10.png","qq_score11.png","qq_score12.png","qq_score13.png"],
|
|
231
|
-
"right": ["right1.png","right2.png","right3.png","right4.png"]
|
|
232
|
-
},
|
|
233
|
-
"meta": {
|
|
234
|
-
"app": "https://www.codeandweb.com/texturepacker",
|
|
235
|
-
"version": "1.0",
|
|
236
|
-
"image": "img/qq.png",
|
|
237
|
-
"format": "RGBA8888",
|
|
238
|
-
"size": {"w":900,"h":1653},
|
|
239
|
-
"scale": "1",
|
|
240
|
-
"smartupdate": "$TexturePacker:SmartUpdate:89db17596fae0403b60722b815c7277b:335dbb13566b0ef96980b1c8ed331357:10c61ff7683f9b3263924a6ec23651d6$"
|
|
241
|
-
}
|
|
242
|
-
}
|
package/example/love/index.html
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<!--禁用x5的缓存,这里是因为内核有个BUG,使用缓存会回退到一个白屏页-->
|
|
5
|
-
<meta name="x5-cache" content="disable">
|
|
6
|
-
<meta charset="utf-8">
|
|
7
|
-
<meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" name="viewport">
|
|
8
|
-
<meta content="yes" name="apple-mobile-web-app-capable">
|
|
9
|
-
<meta content="black" name="apple-mobile-web-app-status-bar-style">
|
|
10
|
-
<meta content="telephone=no" name="format-detection">
|
|
11
|
-
<meta content="email=no" name="format-detection">
|
|
12
|
-
<title>love</title>
|
|
13
|
-
<style>
|
|
14
|
-
html,body{
|
|
15
|
-
margin:0;
|
|
16
|
-
padding:0;
|
|
17
|
-
overflow: hidden;
|
|
18
|
-
}
|
|
19
|
-
/*这里重构同学不要删掉,不然会引发ios点击事件失效*/
|
|
20
|
-
div,span,li,p,dd,dl,dt,h1,h2,h3,h4,h5,h6,legend,ol,td,ul,.js-tap-link{
|
|
21
|
-
cursor:pointer;
|
|
22
|
-
}
|
|
23
|
-
.hide{
|
|
24
|
-
display: none;
|
|
25
|
-
}
|
|
26
|
-
#mycanvas {
|
|
27
|
-
background-color:#000;
|
|
28
|
-
position: absolute;
|
|
29
|
-
width: 100%;
|
|
30
|
-
height: 100%;
|
|
31
|
-
}
|
|
32
|
-
</style>
|
|
33
|
-
</head>
|
|
34
|
-
<body>
|
|
35
|
-
<div id="mycanvas">
|
|
36
|
-
</div>
|
|
37
|
-
</body>
|
|
38
|
-
<script type="text/javascript" src="../../dist/jmgraph.js"></script>
|
|
39
|
-
<script src="js/game.js?111"></script>
|
|
40
|
-
</html>
|