drgame-cc 1.0.41 → 1.0.43

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.
@@ -19,12 +19,19 @@
19
19
  "_children": [
20
20
  {
21
21
  "__id__": 2
22
+ },
23
+ {
24
+ "__id__": 5
22
25
  }
23
26
  ],
24
27
  "_active": true,
25
- "_components": [],
28
+ "_components": [
29
+ {
30
+ "__id__": 8
31
+ }
32
+ ],
26
33
  "_prefab": {
27
- "__id__": 5
34
+ "__id__": 9
28
35
  },
29
36
  "_opacity": 255,
30
37
  "_color": {
@@ -75,7 +82,7 @@
75
82
  },
76
83
  {
77
84
  "__type__": "cc.Node",
78
- "_name": "skeleton",
85
+ "_name": "mask",
79
86
  "_objFlags": 0,
80
87
  "_parent": {
81
88
  "__id__": 1
@@ -90,6 +97,113 @@
90
97
  "_prefab": {
91
98
  "__id__": 4
92
99
  },
100
+ "_opacity": 200,
101
+ "_color": {
102
+ "__type__": "cc.Color",
103
+ "r": 255,
104
+ "g": 255,
105
+ "b": 255,
106
+ "a": 255
107
+ },
108
+ "_contentSize": {
109
+ "__type__": "cc.Size",
110
+ "width": 1920,
111
+ "height": 1080
112
+ },
113
+ "_anchorPoint": {
114
+ "__type__": "cc.Vec2",
115
+ "x": 0.5,
116
+ "y": 0.5
117
+ },
118
+ "_trs": {
119
+ "__type__": "TypedArray",
120
+ "ctor": "Float64Array",
121
+ "array": [
122
+ 0,
123
+ 0,
124
+ 0,
125
+ 0,
126
+ 0,
127
+ 0,
128
+ 1,
129
+ 1,
130
+ 1,
131
+ 1
132
+ ]
133
+ },
134
+ "_eulerAngles": {
135
+ "__type__": "cc.Vec3",
136
+ "x": 0,
137
+ "y": 0,
138
+ "z": 0
139
+ },
140
+ "_skewX": 0,
141
+ "_skewY": 0,
142
+ "_is3DNode": false,
143
+ "_groupIndex": 0,
144
+ "groupIndex": 0,
145
+ "_id": ""
146
+ },
147
+ {
148
+ "__type__": "cc.Sprite",
149
+ "_name": "",
150
+ "_objFlags": 0,
151
+ "node": {
152
+ "__id__": 2
153
+ },
154
+ "_enabled": true,
155
+ "_materials": [
156
+ {
157
+ "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
158
+ }
159
+ ],
160
+ "_srcBlendFactor": 770,
161
+ "_dstBlendFactor": 771,
162
+ "_spriteFrame": {
163
+ "__uuid__": "f6aace52-c6f1-417b-a839-fde3c205f9d6"
164
+ },
165
+ "_type": 1,
166
+ "_sizeMode": 0,
167
+ "_fillType": 0,
168
+ "_fillCenter": {
169
+ "__type__": "cc.Vec2",
170
+ "x": 0,
171
+ "y": 0
172
+ },
173
+ "_fillStart": 0,
174
+ "_fillRange": 0,
175
+ "_isTrimmedMode": true,
176
+ "_atlas": null,
177
+ "_id": ""
178
+ },
179
+ {
180
+ "__type__": "cc.PrefabInfo",
181
+ "root": {
182
+ "__id__": 1
183
+ },
184
+ "asset": {
185
+ "__id__": 0
186
+ },
187
+ "fileId": "8dNQBNAh9E97y/EdTXOupL",
188
+ "sync": false
189
+ },
190
+ {
191
+ "__type__": "cc.Node",
192
+ "_name": "skeleton",
193
+ "_objFlags": 0,
194
+ "_parent": {
195
+ "__id__": 1
196
+ },
197
+ "_children": [],
198
+ "_active": true,
199
+ "_components": [
200
+ {
201
+ "__id__": 6
202
+ }
203
+ ],
204
+ "_prefab": {
205
+ "__id__": 7
206
+ },
93
207
  "_opacity": 255,
94
208
  "_color": {
95
209
  "__type__": "cc.Color",
@@ -142,7 +256,7 @@
142
256
  "_name": "",
143
257
  "_objFlags": 0,
144
258
  "node": {
145
- "__id__": 2
259
+ "__id__": 5
146
260
  },
147
261
  "_enabled": true,
148
262
  "_materials": [
@@ -188,6 +302,16 @@
188
302
  "fileId": "773nu47W9KRIk2SeNjYEqp",
189
303
  "sync": false
190
304
  },
305
+ {
306
+ "__type__": "cc.BlockInputEvents",
307
+ "_name": "",
308
+ "_objFlags": 0,
309
+ "node": {
310
+ "__id__": 1
311
+ },
312
+ "_enabled": true,
313
+ "_id": ""
314
+ },
191
315
  {
192
316
  "__type__": "cc.PrefabInfo",
193
317
  "root": {
@@ -0,0 +1,9 @@
1
+ {
2
+ "ver": "1.3.2",
3
+ "uuid": "120edc35-743b-4658-a087-bdd9ae1233ad",
4
+ "importer": "prefab",
5
+ "optimizationPolicy": "AUTO",
6
+ "asyncLoadAssets": false,
7
+ "readonly": false,
8
+ "subMetas": {}
9
+ }
@@ -267,15 +267,11 @@ export class PlatformAdapter {
267
267
  bridge && bridge.exitGame();
268
268
  }
269
269
 
270
- /** 显示帮助界面
271
- * @param url 帮助界面spine动画资源路径, 相对于resources/spine/目录
272
- * @param cb 关闭帮助界面回调
273
- */
274
270
  public static async showHelper(url: string, cb: () => void) {
275
271
  var key = `${this._zhName}-isFirst`;
276
272
  var isFirst = cc.sys.localStorage.getItem(key);
277
273
  if (!isFirst) {
278
- cc.sys.localStorage.setItem(key, true);
274
+ cc.sys.localStorage.setItem(key, false);
279
275
  let helperPfb = await Loader.loadRes('drres/prefab/HelperWin', cc.Prefab);
280
276
  let helperWin = cc.instantiate(helperPfb);
281
277
  helperWin.parent = cc.director.getScene();