Commit 8a3e1731 authored by Li MingZhe's avatar Li MingZhe

fix: 撒花颜色

parent b42b48f9
No preview for this file type
No preview for this file type
...@@ -2652,9 +2652,9 @@ ...@@ -2652,9 +2652,9 @@
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 0, "r": 255,
"g": 255, "g": 183,
"b": 0, "b": 4,
"a": 255 "a": 255
}, },
"_contentSize": { "_contentSize": {
...@@ -2746,9 +2746,9 @@ ...@@ -2746,9 +2746,9 @@
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 0, "r": 195,
"g": 0, "g": 115,
"b": 255, "b": 213,
"a": 255 "a": 255
}, },
"_contentSize": { "_contentSize": {
...@@ -2840,9 +2840,9 @@ ...@@ -2840,9 +2840,9 @@
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 121,
"g": 0, "g": 200,
"b": 255, "b": 68,
"a": 255 "a": 255
}, },
"_contentSize": { "_contentSize": {
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
"paths": {}, "paths": {},
"uuids": [ "uuids": [
"02delMVqdBD70a/HSD99FK", "02delMVqdBD70a/HSD99FK",
"06fkXEvjhP0IJ0D5JwMAKt",
"07NeQx+mFJuaO0iSf/XOf0",
"10jEphdBFOu6ZZQmSeBs3z", "10jEphdBFOu6ZZQmSeBs3z",
"1ejl+z0StELb2mEvEiZ6vl", "1ejl+z0StELb2mEvEiZ6vl",
"2cft3BKilLWYRehZ1Q6yQk", "2cft3BKilLWYRehZ1Q6yQk",
...@@ -22,7 +24,9 @@ ...@@ -22,7 +24,9 @@
"a61QWNTm1PcKeDbmxqviuz", "a61QWNTm1PcKeDbmxqviuz",
"a8ok1LbyZDWKL7JK1OVhjE", "a8ok1LbyZDWKL7JK1OVhjE",
"abBAGcwMFDC6xD0tMtsFUn", "abBAGcwMFDC6xD0tMtsFUn",
"abhz7a/7VG4o5XsIkgMNPf",
"b8nYBWqRFFm6W9ONFNUD7C", "b8nYBWqRFFm6W9ONFNUD7C",
"c2jiwBCkpLKLROfPfGjwzP",
"c38YYUxxZPH4mfCfBzrGxD", "c38YYUxxZPH4mfCfBzrGxD",
"c8Gskh2AlF1Zhou/3P22sh", "c8Gskh2AlF1Zhou/3P22sh",
"d3bdiboAJNxoOD6lNDQYMO", "d3bdiboAJNxoOD6lNDQYMO",
...@@ -44,7 +48,7 @@ ...@@ -44,7 +48,7 @@
"internal" "internal"
], ],
"packs": { "packs": {
"04d1e4274": [ "062fc75bb": [
"1ejl+z0StELb2mEvEiZ6vl", "1ejl+z0StELb2mEvEiZ6vl",
"2cft3BKilLWYRehZ1Q6yQk", "2cft3BKilLWYRehZ1Q6yQk",
"35MdfsfclJvb6Ukmd9ybfA", "35MdfsfclJvb6Ukmd9ybfA",
...@@ -54,10 +58,13 @@ ...@@ -54,10 +58,13 @@
"7fzFsTopZEqKXU6N7lZOLJ", "7fzFsTopZEqKXU6N7lZOLJ",
"8bAJ+sKehJ1J1k2EgZ9QAz", "8bAJ+sKehJ1J1k2EgZ9QAz",
"a61QWNTm1PcKeDbmxqviuz", "a61QWNTm1PcKeDbmxqviuz",
"abhz7a/7VG4o5XsIkgMNPf",
"c8Gskh2AlF1Zhou/3P22sh", "c8Gskh2AlF1Zhou/3P22sh",
"d8HsitJHxOYqo801xBk8ev" "d8HsitJHxOYqo801xBk8ev"
], ],
"084ae3525": [ "06434a41e": [
"06fkXEvjhP0IJ0D5JwMAKt",
"07NeQx+mFJuaO0iSf/XOf0",
"10jEphdBFOu6ZZQmSeBs3z", "10jEphdBFOu6ZZQmSeBs3z",
"58amK658xERYqfswqnS0cS", "58amK658xERYqfswqnS0cS",
"715WE7gFNIGbQtzftIwBVD", "715WE7gFNIGbQtzftIwBVD",
...@@ -70,6 +77,7 @@ ...@@ -70,6 +77,7 @@
"a8ok1LbyZDWKL7JK1OVhjE", "a8ok1LbyZDWKL7JK1OVhjE",
"abBAGcwMFDC6xD0tMtsFUn", "abBAGcwMFDC6xD0tMtsFUn",
"b8nYBWqRFFm6W9ONFNUD7C", "b8nYBWqRFFm6W9ONFNUD7C",
"c2jiwBCkpLKLROfPfGjwzP",
"c38YYUxxZPH4mfCfBzrGxD", "c38YYUxxZPH4mfCfBzrGxD",
"d3bdiboAJNxoOD6lNDQYMO", "d3bdiboAJNxoOD6lNDQYMO",
"d9dporjeBOSIy7GiRYxWEt", "d9dporjeBOSIy7GiRYxWEt",
......
{ {
"type": "cc.Texture2D", "type": "cc.Texture2D",
"data": "0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|1,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|1,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1" "data": "0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|1,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|1,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1"
} }
\ No newline at end of file
[ [
{
"__type__": "cc.AudioClip",
"_name": "good_job",
"_native": ".mp3",
"duration": 1.044898
},
{
"__type__": "cc.SpriteFrame",
"content": {
"name": "bg_sahua",
"texture": "abhz7a/7VG4o5XsIkgMNPf",
"rect": [
0,
0,
36,
24
],
"offset": [
0,
0
],
"originalSize": [
36,
24
],
"capInsets": [
0,
0,
0,
0
]
}
},
{ {
"__type__": "cc.SpriteFrame", "__type__": "cc.SpriteFrame",
"content": { "content": {
...@@ -849,6 +882,12 @@ ...@@ -849,6 +882,12 @@
] ]
} }
}, },
{
"__type__": "cc.AudioClip",
"_name": "end",
"_native": ".mp3",
"duration": 4.04898
},
[ [
{ {
"__type__": "cc.SceneAsset", "__type__": "cc.SceneAsset",
...@@ -864,6 +903,9 @@ ...@@ -864,6 +903,9 @@
"_children": [ "_children": [
{ {
"__id__": 2 "__id__": 2
},
{
"__id__": 22
} }
], ],
"_active": false, "_active": false,
...@@ -1747,6 +1789,12 @@ ...@@ -1747,6 +1789,12 @@
}, },
{ {
"__id__": 19 "__id__": 19
},
{
"__id__": 20
},
{
"__id__": 21
} }
], ],
"_active": false, "_active": false,
...@@ -1911,6 +1959,307 @@ ...@@ -1911,6 +1959,307 @@
1 1
] ]
} }
},
{
"__type__": "cc.Node",
"_name": "good_job",
"_parent": {
"__id__": 16
},
"_components": [
{
"__type__": "cc.AudioSource",
"node": {
"__id__": 20
},
"_clip": {
"__uuid__": "06fkXEvjhP0IJ0D5JwMAKt"
}
}
],
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "end_audio",
"_parent": {
"__id__": 16
},
"_components": [
{
"__type__": "cc.AudioSource",
"node": {
"__id__": 21
},
"_clip": {
"__uuid__": "c2jiwBCkpLKLROfPfGjwzP"
}
}
],
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "RibbonNodeBase",
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 23
},
{
"__id__": 24
},
{
"__id__": 25
},
{
"__id__": 26
}
],
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_id": "abKXvlMl9MLJXGAhTbrllV"
},
{
"__type__": "cc.Node",
"_name": "sahua",
"_parent": {
"__id__": 22
},
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 23
},
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "07NeQx+mFJuaO0iSf/XOf0"
}
}
],
"_color": {
"__type__": "cc.Color",
"r": 16,
"g": 167,
"b": 219
},
"_contentSize": {
"__type__": "cc.Size",
"width": 36,
"height": 24
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-206.8,
-188.973,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "sahua",
"_parent": {
"__id__": 22
},
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 24
},
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "07NeQx+mFJuaO0iSf/XOf0"
}
}
],
"_color": {
"__type__": "cc.Color",
"g": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 36,
"height": 24
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-206.8,
-188.973,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "sahua",
"_parent": {
"__id__": 22
},
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 25
},
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "07NeQx+mFJuaO0iSf/XOf0"
}
}
],
"_color": {
"__type__": "cc.Color",
"b": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 36,
"height": 24
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-206.8,
-188.973,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "sahua",
"_parent": {
"__id__": 22
},
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 26
},
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "07NeQx+mFJuaO0iSf/XOf0"
}
}
],
"_color": {
"__type__": "cc.Color",
"r": 255,
"b": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 36,
"height": 24
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-206.8,
-188.973,
0,
0,
0,
0,
1,
1,
1,
1
]
}
} }
], ],
{ {
......
...@@ -172,6 +172,7 @@ window.__require = function e(t, n, r) { ...@@ -172,6 +172,7 @@ window.__require = function e(t, n, r) {
if (curLen > this._maxW) { if (curLen > this._maxW) {
tmpArr = [ item ]; tmpArr = [ item ];
this._pageArr.push(tmpArr); this._pageArr.push(tmpArr);
curLen = this._disW + item.width + this._disW;
} else tmpArr.push(item); } else tmpArr.push(item);
} }
this._maxPage = this._pageArr.length; this._maxPage = this._pageArr.length;
...@@ -275,6 +276,411 @@ window.__require = function e(t, n, r) { ...@@ -275,6 +276,411 @@ window.__require = function e(t, n, r) {
}, { }, {
"../script/util": "util" "../script/util": "util"
} ], } ],
runtime: [ function(require, module, exports) {
"use strict";
cc._RF.push(module, "5e66eIbuEVIi43aG8uDxSYt", "runtime");
"use strict";
!function(global) {
var Op = Object.prototype;
var hasOwn = Op.hasOwnProperty;
var undefined;
var $Symbol = "function" === typeof Symbol ? Symbol : {};
var iteratorSymbol = $Symbol.iterator || "@@iterator";
var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
var inModule = "object" === typeof module;
var runtime = global.regeneratorRuntime;
if (runtime) {
inModule && (module.exports = runtime);
return;
}
runtime = global.regeneratorRuntime = inModule ? module.exports : {};
function wrap(innerFn, outerFn, self, tryLocsList) {
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
var generator = Object.create(protoGenerator.prototype);
var context = new Context(tryLocsList || []);
generator._invoke = makeInvokeMethod(innerFn, self, context);
return generator;
}
runtime.wrap = wrap;
function tryCatch(fn, obj, arg) {
try {
return {
type: "normal",
arg: fn.call(obj, arg)
};
} catch (err) {
return {
type: "throw",
arg: err
};
}
}
var GenStateSuspendedStart = "suspendedStart";
var GenStateSuspendedYield = "suspendedYield";
var GenStateExecuting = "executing";
var GenStateCompleted = "completed";
var ContinueSentinel = {};
function Generator() {}
function GeneratorFunction() {}
function GeneratorFunctionPrototype() {}
var IteratorPrototype = {};
IteratorPrototype[iteratorSymbol] = function() {
return this;
};
var getProto = Object.getPrototypeOf;
var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
GeneratorFunctionPrototype.constructor = GeneratorFunction;
GeneratorFunctionPrototype[toStringTagSymbol] = GeneratorFunction.displayName = "GeneratorFunction";
function defineIteratorMethods(prototype) {
[ "next", "throw", "return" ].forEach(function(method) {
prototype[method] = function(arg) {
return this._invoke(method, arg);
};
});
}
runtime.isGeneratorFunction = function(genFun) {
var ctor = "function" === typeof genFun && genFun.constructor;
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
};
runtime.mark = function(genFun) {
if (Object.setPrototypeOf) Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); else {
genFun.__proto__ = GeneratorFunctionPrototype;
toStringTagSymbol in genFun || (genFun[toStringTagSymbol] = "GeneratorFunction");
}
genFun.prototype = Object.create(Gp);
return genFun;
};
runtime.awrap = function(arg) {
return {
__await: arg
};
};
function AsyncIterator(generator) {
function invoke(method, arg, resolve, reject) {
var record = tryCatch(generator[method], generator, arg);
if ("throw" !== record.type) {
var result = record.arg;
var value = result.value;
if (value && "object" === typeof value && hasOwn.call(value, "__await")) return Promise.resolve(value.__await).then(function(value) {
invoke("next", value, resolve, reject);
}, function(err) {
invoke("throw", err, resolve, reject);
});
return Promise.resolve(value).then(function(unwrapped) {
result.value = unwrapped;
resolve(result);
}, reject);
}
reject(record.arg);
}
var previousPromise;
function enqueue(method, arg) {
function callInvokeWithMethodAndArg() {
return new Promise(function(resolve, reject) {
invoke(method, arg, resolve, reject);
});
}
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
}
this._invoke = enqueue;
}
defineIteratorMethods(AsyncIterator.prototype);
AsyncIterator.prototype[asyncIteratorSymbol] = function() {
return this;
};
runtime.AsyncIterator = AsyncIterator;
runtime.async = function(innerFn, outerFn, self, tryLocsList) {
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList));
return runtime.isGeneratorFunction(outerFn) ? iter : iter.next().then(function(result) {
return result.done ? result.value : iter.next();
});
};
function makeInvokeMethod(innerFn, self, context) {
var state = GenStateSuspendedStart;
return function invoke(method, arg) {
if (state === GenStateExecuting) throw new Error("Generator is already running");
if (state === GenStateCompleted) {
if ("throw" === method) throw arg;
return doneResult();
}
context.method = method;
context.arg = arg;
while (true) {
var delegate = context.delegate;
if (delegate) {
var delegateResult = maybeInvokeDelegate(delegate, context);
if (delegateResult) {
if (delegateResult === ContinueSentinel) continue;
return delegateResult;
}
}
if ("next" === context.method) context.sent = context._sent = context.arg; else if ("throw" === context.method) {
if (state === GenStateSuspendedStart) {
state = GenStateCompleted;
throw context.arg;
}
context.dispatchException(context.arg);
} else "return" === context.method && context.abrupt("return", context.arg);
state = GenStateExecuting;
var record = tryCatch(innerFn, self, context);
if ("normal" === record.type) {
state = context.done ? GenStateCompleted : GenStateSuspendedYield;
if (record.arg === ContinueSentinel) continue;
return {
value: record.arg,
done: context.done
};
}
if ("throw" === record.type) {
state = GenStateCompleted;
context.method = "throw";
context.arg = record.arg;
}
}
};
}
function maybeInvokeDelegate(delegate, context) {
var method = delegate.iterator[context.method];
if (method === undefined) {
context.delegate = null;
if ("throw" === context.method) {
if (delegate.iterator["return"]) {
context.method = "return";
context.arg = undefined;
maybeInvokeDelegate(delegate, context);
if ("throw" === context.method) return ContinueSentinel;
}
context.method = "throw";
context.arg = new TypeError("The iterator does not provide a 'throw' method");
}
return ContinueSentinel;
}
var record = tryCatch(method, delegate.iterator, context.arg);
if ("throw" === record.type) {
context.method = "throw";
context.arg = record.arg;
context.delegate = null;
return ContinueSentinel;
}
var info = record.arg;
if (!info) {
context.method = "throw";
context.arg = new TypeError("iterator result is not an object");
context.delegate = null;
return ContinueSentinel;
}
if (!info.done) return info;
context[delegate.resultName] = info.value;
context.next = delegate.nextLoc;
if ("return" !== context.method) {
context.method = "next";
context.arg = undefined;
}
context.delegate = null;
return ContinueSentinel;
}
defineIteratorMethods(Gp);
Gp[toStringTagSymbol] = "Generator";
Gp[iteratorSymbol] = function() {
return this;
};
Gp.toString = function() {
return "[object Generator]";
};
function pushTryEntry(locs) {
var entry = {
tryLoc: locs[0]
};
1 in locs && (entry.catchLoc = locs[1]);
if (2 in locs) {
entry.finallyLoc = locs[2];
entry.afterLoc = locs[3];
}
this.tryEntries.push(entry);
}
function resetTryEntry(entry) {
var record = entry.completion || {};
record.type = "normal";
delete record.arg;
entry.completion = record;
}
function Context(tryLocsList) {
this.tryEntries = [ {
tryLoc: "root"
} ];
tryLocsList.forEach(pushTryEntry, this);
this.reset(true);
}
runtime.keys = function(object) {
var keys = [];
for (var key in object) keys.push(key);
keys.reverse();
return function next() {
while (keys.length) {
var key = keys.pop();
if (key in object) {
next.value = key;
next.done = false;
return next;
}
}
next.done = true;
return next;
};
};
function values(iterable) {
if (iterable) {
var iteratorMethod = iterable[iteratorSymbol];
if (iteratorMethod) return iteratorMethod.call(iterable);
if ("function" === typeof iterable.next) return iterable;
if (!isNaN(iterable.length)) {
var i = -1, next = function next() {
while (++i < iterable.length) if (hasOwn.call(iterable, i)) {
next.value = iterable[i];
next.done = false;
return next;
}
next.value = undefined;
next.done = true;
return next;
};
return next.next = next;
}
}
return {
next: doneResult
};
}
runtime.values = values;
function doneResult() {
return {
value: undefined,
done: true
};
}
Context.prototype = {
constructor: Context,
reset: function reset(skipTempReset) {
this.prev = 0;
this.next = 0;
this.sent = this._sent = undefined;
this.done = false;
this.delegate = null;
this.method = "next";
this.arg = undefined;
this.tryEntries.forEach(resetTryEntry);
if (!skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
},
stop: function stop() {
this.done = true;
var rootEntry = this.tryEntries[0];
var rootRecord = rootEntry.completion;
if ("throw" === rootRecord.type) throw rootRecord.arg;
return this.rval;
},
dispatchException: function dispatchException(exception) {
if (this.done) throw exception;
var context = this;
function handle(loc, caught) {
record.type = "throw";
record.arg = exception;
context.next = loc;
if (caught) {
context.method = "next";
context.arg = undefined;
}
return !!caught;
}
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
var entry = this.tryEntries[i];
var record = entry.completion;
if ("root" === entry.tryLoc) return handle("end");
if (entry.tryLoc <= this.prev) {
var hasCatch = hasOwn.call(entry, "catchLoc");
var hasFinally = hasOwn.call(entry, "finallyLoc");
if (hasCatch && hasFinally) {
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, true);
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
} else if (hasCatch) {
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, true);
} else {
if (!hasFinally) throw new Error("try statement without catch or finally");
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
}
}
}
},
abrupt: function abrupt(type, arg) {
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
var entry = this.tryEntries[i];
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
var finallyEntry = entry;
break;
}
}
finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
var record = finallyEntry ? finallyEntry.completion : {};
record.type = type;
record.arg = arg;
if (finallyEntry) {
this.method = "next";
this.next = finallyEntry.finallyLoc;
return ContinueSentinel;
}
return this.complete(record);
},
complete: function complete(record, afterLoc) {
if ("throw" === record.type) throw record.arg;
if ("break" === record.type || "continue" === record.type) this.next = record.arg; else if ("return" === record.type) {
this.rval = this.arg = record.arg;
this.method = "return";
this.next = "end";
} else "normal" === record.type && afterLoc && (this.next = afterLoc);
return ContinueSentinel;
},
finish: function finish(finallyLoc) {
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
var entry = this.tryEntries[i];
if (entry.finallyLoc === finallyLoc) {
this.complete(entry.completion, entry.afterLoc);
resetTryEntry(entry);
return ContinueSentinel;
}
}
},
catch: function _catch(tryLoc) {
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
var entry = this.tryEntries[i];
if (entry.tryLoc === tryLoc) {
var record = entry.completion;
if ("throw" === record.type) {
var thrown = record.arg;
resetTryEntry(entry);
}
return thrown;
}
}
throw new Error("illegal catch attempt");
},
delegateYield: function delegateYield(iterable, resultName, nextLoc) {
this.delegate = {
iterator: values(iterable),
resultName: resultName,
nextLoc: nextLoc
};
"next" === this.method && (this.arg = undefined);
return ContinueSentinel;
}
};
}(function() {
return this;
}() || Function("return this")());
cc._RF.pop();
}, {} ],
scene: [ function(require, module, exports) { scene: [ function(require, module, exports) {
"use strict"; "use strict";
cc._RF.push(module, "335fea4K1JFqanJyztUAUJR", "scene"); cc._RF.push(module, "335fea4K1JFqanJyztUAUJR", "scene");
...@@ -404,8 +810,12 @@ window.__require = function e(t, n, r) { ...@@ -404,8 +810,12 @@ window.__require = function e(t, n, r) {
}); });
}, },
_wrongAudioSource: null, _wrongAudioSource: null,
_gjAudioSource: null,
_endAudio: null,
initAudio: function initAudio() { initAudio: function initAudio() {
this._wrongAudioSource = cc.find("Canvas/res/wrong_audio").getComponent(cc.AudioSource); this._wrongAudioSource = cc.find("Canvas/res/wrong_audio").getComponent(cc.AudioSource);
this._gjAudioSource = cc.find("Canvas/res/good_job").getComponent(cc.AudioSource);
this._endAudio = cc.find("Canvas/res/end_audio").getComponent(cc.AudioSource);
}, },
initListener: function initListener() { initListener: function initListener() {
var _this6 = this; var _this6 = this;
...@@ -598,6 +1008,7 @@ window.__require = function e(t, n, r) { ...@@ -598,6 +1008,7 @@ window.__require = function e(t, n, r) {
var mask = node.addComponent(cc.Mask); var mask = node.addComponent(cc.Mask);
mask.type = cc.Mask.Type.RECT; mask.type = cc.Mask.Type.RECT;
}, },
bottomPicArr: null,
initBottomPart: function initBottomPart() { initBottomPart: function initBottomPart() {
var bgBottom = cc.find("Canvas/bgBottom"); var bgBottom = cc.find("Canvas/bgBottom");
var script = bgBottom.getComponent("bgBottom"); var script = bgBottom.getComponent("bgBottom");
...@@ -606,6 +1017,7 @@ window.__require = function e(t, n, r) { ...@@ -606,6 +1017,7 @@ window.__require = function e(t, n, r) {
"0" == item.gIdx && picArr.push(item); "0" == item.gIdx && picArr.push(item);
}); });
script.setItemData(picArr); script.setItemData(picArr);
this.bottomPicArr = picArr;
}, },
getBottomPicArr: function getBottomPicArr() { getBottomPicArr: function getBottomPicArr() {
var arr = []; var arr = [];
...@@ -724,6 +1136,7 @@ window.__require = function e(t, n, r) { ...@@ -724,6 +1136,7 @@ window.__require = function e(t, n, r) {
}); });
}, },
setOneCirclePoint: function setOneCirclePoint(data) { setOneCirclePoint: function setOneCirclePoint(data) {
var _this9 = this;
var rate = this.hotZoneBg.scale * this.hotZoneBg.width / this.data.bgItem.rect.width; var rate = this.hotZoneBg.scale * this.hotZoneBg.width / this.data.bgItem.rect.width;
var rectNode = new cc.Node(); var rectNode = new cc.Node();
rectNode.name = "rect" + data.index; rectNode.name = "rect" + data.index;
...@@ -790,7 +1203,14 @@ window.__require = function e(t, n, r) { ...@@ -790,7 +1203,14 @@ window.__require = function e(t, n, r) {
console.log("clicked"); console.log("clicked");
if (animaNode.audioClip) { if (animaNode.audioClip) {
cc.audioEngine.stopAllEffects(); cc.audioEngine.stopAllEffects();
cc.audioEngine.playEffect(animaNode.audioClip, false, .8); var audioID = cc.audioEngine.playEffect(animaNode.audioClip, false, .8);
cc.audioEngine.setFinishCallback(audioID, function() {
var gjId = cc.audioEngine.playEffect(_this9._gjAudioSource.clip, false, .8);
cc.audioEngine.setFinishCallback(gjId, function() {
var isEnd = _this9.checkGameEnd();
isEnd && _this9.gameEnd();
});
});
} }
animationNames.length > 0 && dragonDisplay.playAnimation(animationNames[0], 1); animationNames.length > 0 && dragonDisplay.playAnimation(animationNames[0], 1);
}; };
...@@ -799,9 +1219,23 @@ window.__require = function e(t, n, r) { ...@@ -799,9 +1219,23 @@ window.__require = function e(t, n, r) {
}); });
}); });
}, },
checkGameEnd: function checkGameEnd() {
for (var i = 0; i < this.hotzoneCircleArr.length; i++) if (this.hotzoneCircleArr[i].active) return false;
return true;
},
gameEnd: function gameEnd() {
console.log("this.gameEnd");
this.playEndEffect();
},
playEndEffect: function playEndEffect() {
(0, _util.playAudio)(this._endAudio.clip, .8);
var camera = cc.find("Canvas/Main Camera");
camera.zIndex = 100;
(0, _util.showTrebleFirework)(camera, cc.find("RibbonNodeBase").children);
},
_curShowItem: null, _curShowItem: null,
bottomItemClick: function bottomItemClick(item) { bottomItemClick: function bottomItemClick(item) {
var _this9 = this; var _this10 = this;
return; return;
var newNode; var newNode;
var spr; var spr;
...@@ -990,6 +1424,41 @@ window.__require = function e(t, n, r) { ...@@ -990,6 +1424,41 @@ window.__require = function e(t, n, r) {
exports.randomSortByArr = randomSortByArr; exports.randomSortByArr = randomSortByArr;
exports.setSprNodeMaxLen = setSprNodeMaxLen; exports.setSprNodeMaxLen = setSprNodeMaxLen;
exports.localPosTolocalPos = localPosTolocalPos; exports.localPosTolocalPos = localPosTolocalPos;
exports.getScaleRateBy2Node = getScaleRateBy2Node;
exports.asyncCCLoad = asyncCCLoad;
exports.loadDragonBones = loadDragonBones;
exports.playAudio = playAudio;
exports.asyncDelay = asyncDelay;
exports.showFireworks = showFireworks;
exports.asyncTweenTo = asyncTweenTo;
exports.asyncTweenBy = asyncTweenBy;
exports.showTrebleFirework = showTrebleFirework;
exports.FireworkSettings = void 0;
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
try {
var info = gen[key](arg);
var value = info.value;
} catch (error) {
reject(error);
return;
}
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
}
function _asyncToGenerator(fn) {
return function() {
var self = this, args = arguments;
return new Promise(function(resolve, reject) {
var gen = fn.apply(self, args);
function _next(value) {
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
}
function _throw(err) {
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
}
_next(void 0);
});
};
}
function getPosByAngle(angle, len) { function getPosByAngle(angle, len) {
var radian = angle * Math.PI / 180; var radian = angle * Math.PI / 180;
var x = Math.sin(radian) * len; var x = Math.sin(radian) * len;
...@@ -1044,6 +1513,314 @@ window.__require = function e(t, n, r) { ...@@ -1044,6 +1513,314 @@ window.__require = function e(t, n, r) {
var localPos = baseNode.parent.convertToNodeSpaceAR(cc.v2(worldPos.x, worldPos.y)); var localPos = baseNode.parent.convertToNodeSpaceAR(cc.v2(worldPos.x, worldPos.y));
return localPos; return localPos;
} }
function getScaleRateBy2Node(baseNode, targetNode, maxFlag) {
void 0 === maxFlag && (maxFlag = true);
var worldRect1 = targetNode.getBoundingBoxToWorld();
var worldRect2 = baseNode.getBoundingBoxToWorld();
var sx = worldRect1.width / worldRect2.width;
var sy = worldRect1.height / worldRect2.height;
return maxFlag ? Math.max(sx, sy) : Math.min(sx, sy);
}
function asyncCCLoad(resources) {
return new Promise(function(resolve, reject) {
try {
cc.loader.load(resources, function(error, assets) {
resolve(assets);
});
} catch (e) {
reject(e);
}
});
}
function loadDragonBones(image, atlas, ske, callback) {
Promise.all([ asyncCCLoad(image), asyncCCLoad({
url: atlas,
type: "txt"
}), asyncCCLoad({
url: ske,
type: "txt"
}) ]).then(function(_ref) {
var texture = _ref[0], atlasJson = _ref[1], dragonBonesJson = _ref[2];
callback(texture, atlasJson, dragonBonesJson);
})["catch"](function(e) {
console.log(e);
});
}
function playAudio(_x, _x2) {
return _playAudio.apply(this, arguments);
}
function _playAudio() {
_playAudio = _asyncToGenerator(regeneratorRuntime.mark(function _callee(clip, volume) {
return regeneratorRuntime.wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
void 0 === volume && (volume = 1);
return _context.abrupt("return", new Promise(function(resolve, reject) {
try {
if (!clip) {
resolve();
return;
}
var id = cc.audioEngine.play(clip, false, volume);
cc.audioEngine.setFinishCallback(id, function() {
resolve();
});
} catch (e) {
reject(e);
}
}));
case 2:
case "end":
return _context.stop();
}
}, _callee);
}));
return _playAudio.apply(this, arguments);
}
function asyncDelay(_x3) {
return _asyncDelay.apply(this, arguments);
}
function _asyncDelay() {
_asyncDelay = _asyncToGenerator(regeneratorRuntime.mark(function _callee2(time) {
return regeneratorRuntime.wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
return _context2.abrupt("return", new Promise(function(resolve, reject) {
try {
setTimeout(function() {
resolve();
}, 1e3 * time);
} catch (e) {
reject(e);
}
}));
case 1:
case "end":
return _context2.stop();
}
}, _callee2);
}));
return _asyncDelay.apply(this, arguments);
}
var FireworkSettings = function() {
function FireworkSettings(baseNode, nodeList, pos, side, range, number, scalseRange) {
void 0 === pos && (pos = cc.v2(0, 0));
void 0 === side && (side = cc.v2(0, 100));
void 0 === range && (range = 50);
void 0 === number && (number = 100);
void 0 === scalseRange && (scalseRange = 0);
this.baseNode = void 0;
this.nodeList = void 0;
this.pos = void 0;
this.side = void 0;
this.range = void 0;
this.number = void 0;
this.scalseRange = void 0;
this.baseNode = baseNode;
this.nodeList = nodeList;
this.pos = pos;
this.side = side;
this.range = range;
this.number = number;
this.scalseRange = scalseRange;
}
FireworkSettings.copy = function copy(firework) {
return new FireworkSettings(firework.baseNode, firework.nodeList, firework.pos, firework.side, firework.range, firework.number);
};
return FireworkSettings;
}();
exports.FireworkSettings = FireworkSettings;
function showFireworks(_x4) {
return _showFireworks.apply(this, arguments);
}
function _showFireworks() {
_showFireworks = _asyncToGenerator(regeneratorRuntime.mark(function _callee4(fireworkSettings) {
var baseNode, nodeList, pos, side, range, number, scalseRange;
return regeneratorRuntime.wrap(function _callee4$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
case 0:
baseNode = fireworkSettings.baseNode, nodeList = fireworkSettings.nodeList, pos = fireworkSettings.pos,
side = fireworkSettings.side, range = fireworkSettings.range, number = fireworkSettings.number,
scalseRange = fireworkSettings.scalseRange;
new Array(number).fill(" ").forEach(function() {
var _ref2 = _asyncToGenerator(regeneratorRuntime.mark(function _callee3(_, i) {
var rabbonNode, node, rate, angle;
return regeneratorRuntime.wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
rabbonNode = new cc.Node();
rabbonNode.parent = baseNode;
rabbonNode.x = pos.x;
rabbonNode.y = pos.y;
rabbonNode.angle = 60 * Math.random() - 30;
node = cc.instantiate(nodeList[RandomInt(nodeList.length)]);
node.parent = rabbonNode;
node.active = true;
node.x = 0;
node.y = 0;
node.angle = 0;
node.scale = (Math.random() - .5) * scalseRange + 1;
rate = Math.random();
angle = Math.PI * (2 * Math.random() - 1);
_context3.next = 16;
return asyncTweenBy(rabbonNode, .3, {
x: side.x * rate + Math.cos(angle) * range * rate,
y: side.y * rate + Math.sin(angle) * range * rate
}, {
easing: "quadIn"
});
case 16:
cc.tween(rabbonNode).by(8, {
y: -2e3
}).start();
cc.tween(rabbonNode).to(5, {
scale: (Math.random() - .5) * scalseRange + 1
}).start();
rabbonFall(rabbonNode);
_context3.next = 21;
return asyncDelay(Math.random());
case 21:
cc.tween(node).by(.15, {
x: -10,
angle: -10
}).by(.3, {
x: 20,
angle: 20
}).by(.15, {
x: -10,
angle: -10
}).union().repeatForever().start();
cc.tween(rabbonNode).delay(5).to(.3, {
opacity: 0
}).call(function() {
node.stopAllActions();
node.active = false;
node.parent = null;
node = null;
}).start();
case 23:
case "end":
return _context3.stop();
}
}, _callee3);
}));
return function(_x14, _x15) {
return _ref2.apply(this, arguments);
};
}());
case 2:
case "end":
return _context4.stop();
}
}, _callee4);
}));
return _showFireworks.apply(this, arguments);
}
function rabbonFall(_x5) {
return _rabbonFall.apply(this, arguments);
}
function _rabbonFall() {
_rabbonFall = _asyncToGenerator(regeneratorRuntime.mark(function _callee5(node) {
var time, offsetX;
return regeneratorRuntime.wrap(function _callee5$(_context5) {
while (1) switch (_context5.prev = _context5.next) {
case 0:
time = 1 + Math.random();
offsetX = RandomInt(-200, 200) * time;
_context5.next = 4;
return asyncTweenBy(node, time, {
x: offsetX,
angle: 60 * offsetX / 200
});
case 4:
rabbonFall(node);
case 5:
case "end":
return _context5.stop();
}
}, _callee5);
}));
return _rabbonFall.apply(this, arguments);
}
function asyncTweenTo(_x6, _x7, _x8, _x9) {
return _asyncTweenTo.apply(this, arguments);
}
function _asyncTweenTo() {
_asyncTweenTo = _asyncToGenerator(regeneratorRuntime.mark(function _callee6(node, duration, obj, ease) {
return regeneratorRuntime.wrap(function _callee6$(_context6) {
while (1) switch (_context6.prev = _context6.next) {
case 0:
void 0 === ease && (ease = void 0);
return _context6.abrupt("return", new Promise(function(resolve, reject) {
try {
cc.tween(node).to(duration, obj, ease).call(function() {
resolve();
}).start();
} catch (e) {
reject(e);
}
}));
case 2:
case "end":
return _context6.stop();
}
}, _callee6);
}));
return _asyncTweenTo.apply(this, arguments);
}
function asyncTweenBy(_x10, _x11, _x12, _x13) {
return _asyncTweenBy.apply(this, arguments);
}
function _asyncTweenBy() {
_asyncTweenBy = _asyncToGenerator(regeneratorRuntime.mark(function _callee7(node, duration, obj, ease) {
return regeneratorRuntime.wrap(function _callee7$(_context7) {
while (1) switch (_context7.prev = _context7.next) {
case 0:
void 0 === ease && (ease = void 0);
return _context7.abrupt("return", new Promise(function(resolve, reject) {
try {
cc.tween(node).by(duration, obj, ease).call(function() {
resolve();
}).start();
} catch (e) {
reject(e);
}
}));
case 2:
case "end":
return _context7.stop();
}
}, _callee7);
}));
return _asyncTweenBy.apply(this, arguments);
}
function showTrebleFirework(baseNode, rabbonList) {
var middle = new FireworkSettings(baseNode, rabbonList);
middle.pos = cc.v2(0, -400);
middle.side = cc.v2(0, 1e3);
middle.range = 200;
middle.number = 100;
middle.scalseRange = .4;
var left = FireworkSettings.copy(middle);
left.pos = cc.v2(-600, -400);
left.side = cc.v2(200, 1e3);
var right = FireworkSettings.copy(middle);
right.pos = cc.v2(600, -400);
right.side = cc.v2(-200, 1e3);
showFireworks(middle);
showFireworks(left);
showFireworks(right);
}
cc._RF.pop(); cc._RF.pop();
}, {} ] }, {} ]
}, {}, [ "bgBottom", "scene", "util" ]); }, {}, [ "bgBottom", "runtime", "scene", "util" ]);
\ No newline at end of file \ No newline at end of file
...@@ -2653,9 +2653,9 @@ ...@@ -2653,9 +2653,9 @@
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 0, "r": 255,
"g": 255, "g": 183,
"b": 0, "b": 4,
"a": 255 "a": 255
}, },
"_contentSize": { "_contentSize": {
...@@ -2747,9 +2747,9 @@ ...@@ -2747,9 +2747,9 @@
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 0, "r": 195,
"g": 0, "g": 115,
"b": 255, "b": 213,
"a": 255 "a": 255
}, },
"_contentSize": { "_contentSize": {
...@@ -2841,9 +2841,9 @@ ...@@ -2841,9 +2841,9 @@
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 121,
"g": 0, "g": 200,
"b": 255, "b": 68,
"a": 255 "a": 255
}, },
"_contentSize": { "_contentSize": {
......
{ {
"b3e401a5-91fc-4a28-87e3-0b4063ba359c": {
"asset": 1611191670619,
"meta": 1611192552874,
"relativePath": "mz_003"
},
"8beb45b3-f75e-4244-a612-1b675fada727": {
"asset": 1611191670617,
"meta": 1611192553226,
"relativePath": "mz_003/scene"
},
"c3f18614-c716-4f1f-899f-09f073ac6c43": {
"asset": 1611297837493,
"meta": 1611297837500,
"relativePath": "mz_003/scene/scene.fire"
},
"f7f43987-0beb-4e02-a9da-ae5d16a05314": {
"asset": 1611191670616,
"meta": 1611192552885,
"relativePath": "mz_003/prefab"
},
"9993b7c8-e4e4-4b48-8922-9c55f423bdb3": {
"asset": 1611191670616,
"meta": 1611192553224,
"relativePath": "mz_003/prefab/bgBottom.prefab"
},
"8ef2eb77-9294-4186-92a6-5f876ad28041": {
"asset": 1611191670615,
"meta": 1611192553225,
"relativePath": "mz_003/prefab/KGMissKindyMarker.ttf"
},
"ff0e987e-f8d9-4a38-b6c2-f81bbf447dbe": {
"asset": 1611281655054,
"meta": 1611281934473,
"relativePath": "mz_003/prefab/bgBottom.js"
},
"4fd428f3-cf22-467b-8ae4-09dfc1fa94c2": {
"asset": 1611285134916,
"meta": 1611297312840,
"relativePath": "mz_003/audio"
},
"067e45c4-be38-4fd0-8274-0f92703002ad": {
"asset": 1601261450728,
"meta": 1611297313589,
"relativePath": "mz_003/audio/good_job.mp3"
},
"c28e2c01-0a4a-4b28-b44e-7cf7c68f0ccf": {
"asset": 1611215831685,
"meta": 1611297313590,
"relativePath": "mz_003/audio/end.mp3"
},
"b5c6439b-d99b-428f-9454-22f767de4a02": {
"asset": 1611286150303,
"meta": 1611297313590,
"relativePath": "mz_003/script"
},
"5e66e21b-b845-488b-8dda-1bcb83c5262d": {
"asset": 1611286138979,
"meta": 1611297313825,
"relativePath": "mz_003/script/runtime.js"
},
"335fe6b8-2b52-45a9-a9c9-cb3b54014251": {
"asset": 1611286211909,
"meta": 1611297314120,
"relativePath": "mz_003/script/scene.js"
},
"5ac8bd7b-38a3-4969-ac2f-8aeef90c885e": {
"asset": 1611284930875,
"meta": 1611297314570,
"relativePath": "mz_003/script/util.js"
},
"4622f21b-4a93-4460-bbc0-350907c5dded": {
"asset": 1611284493043,
"meta": 1611297314625,
"relativePath": "mz_003/texture"
},
"d36dd89b-a002-4dc6-8383-ea534341830e": {
"asset": 1611191670614,
"meta": 1611297314632,
"relativePath": "mz_003/audio/wrong.mp3"
},
"43748337-7845-480f-bab5-efe27789fdf2": {
"asset": 1611191670625,
"meta": 1611297314647,
"relativePath": "mz_003/texture/arrow_down.png"
},
"3d28f1c9-8256-41cc-8f9e-01c7e3e1371f": {
"asset": 1611191670625,
"meta": 1611297314659,
"relativePath": "mz_003/texture/arrow_up.png"
},
"a6d5058d-4e6d-4f70-a783-6e6c6abe2bb3": {
"asset": 1611191670629,
"meta": 1611297314675,
"relativePath": "mz_003/texture/bg_bottom.png"
},
"a34b7897-1edf-4bb8-84f2-c97c4cb122ea": {
"asset": 1611191670624,
"meta": 1611297314712,
"relativePath": "mz_003/texture/02封面.png"
},
"ab873eda-ffb5-46e2-8e57-b0892030d3df": {
"asset": 1611215831689,
"meta": 1611297314722,
"relativePath": "mz_003/texture/bg_sahua.png"
},
"1e8e5fb3-d12b-442d-bda6-12f12267abe5": {
"asset": 1611191670632,
"meta": 1611297314732,
"relativePath": "mz_003/texture/bg_points.png"
},
"7fcc5b13-a296-44a8-a5d4-e8dee564e2c9": {
"asset": 1611191670634,
"meta": 1611297314744,
"relativePath": "mz_003/texture/circle_bg_small.png"
},
"3531d7ec-7dc9-49bd-be94-92677dc9b7c0": {
"asset": 1611191670628,
"meta": 1611297314746,
"relativePath": "mz_003/texture/bg.jpg"
},
"c81ac921-d809-45d5-9868-bbfdcfdb6b21": {
"asset": 1611191670635,
"meta": 1611297314764,
"relativePath": "mz_003/texture/page_down.png"
},
"8b009fac-29e8-49d4-9d64-d84819f50033": {
"asset": 1611191670636,
"meta": 1611297314783,
"relativePath": "mz_003/texture/page_up.png"
},
"2c7eddc1-2a29-4b59-845e-859d50eb2424": {
"asset": 1611191670634,
"meta": 1611297314788,
"relativePath": "mz_003/texture/circle_bg.png"
},
"47201402-0495-40f8-9802-663f2185825e": {
"asset": 1611191670636,
"meta": 1611297314830,
"relativePath": "mz_003/texture/white_bg.jpg"
},
"9836134e-b892-4283-b6b2-78b5acf3ed45": { "9836134e-b892-4283-b6b2-78b5acf3ed45": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284421849, "meta": 1611300073712,
"relativePath": "effects" "relativePath": "effects"
}, },
"430eccbf-bf2c-4e6e-8c0c-884bbb487f32": { "430eccbf-bf2c-4e6e-8c0c-884bbb487f32": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284421860, "meta": 1611300073726,
"relativePath": "effects/__builtin-editor-gizmo-line.effect" "relativePath": "effects/__builtin-editor-gizmo-line.effect"
}, },
"6c5cf6e1-b044-4eac-9431-835644d57381": { "6c5cf6e1-b044-4eac-9431-835644d57381": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284421869, "meta": 1611300073733,
"relativePath": "effects/__builtin-editor-gizmo-unlit.effect" "relativePath": "effects/__builtin-editor-gizmo-unlit.effect"
}, },
"115286d1-2e10-49ee-aab4-341583f607e8": { "115286d1-2e10-49ee-aab4-341583f607e8": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284421888, "meta": 1611300073766,
"relativePath": "effects/__builtin-editor-gizmo.effect" "relativePath": "effects/__builtin-editor-gizmo.effect"
}, },
"abc2cb62-7852-4525-a90d-d474487b88f2": { "abc2cb62-7852-4525-a90d-d474487b88f2": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284421950, "meta": 1611300073844,
"relativePath": "effects/builtin-phong.effect" "relativePath": "effects/builtin-phong.effect"
}, },
"e2f00085-c597-422d-9759-52c360279106": { "e2f00085-c597-422d-9759-52c360279106": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422023, "meta": 1611300073924,
"relativePath": "effects/builtin-toon.effect" "relativePath": "effects/builtin-toon.effect"
}, },
"f8e6b000-5643-4b86-9080-aa680ce1f599": { "f8e6b000-5643-4b86-9080-aa680ce1f599": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422029, "meta": 1611300073928,
"relativePath": "image" "relativePath": "image"
}, },
"e851e89b-faa2-4484-bea6-5c01dd9f06e2": {
"asset": 1592807258000,
"meta": 1611284422053,
"relativePath": "image/default_btn_normal.png"
},
"71561142-4c83-4933-afca-cb7a17f67053": { "71561142-4c83-4933-afca-cb7a17f67053": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422056, "meta": 1611300073952,
"relativePath": "image/default_btn_disabled.png" "relativePath": "image/default_btn_disabled.png"
}, },
"e851e89b-faa2-4484-bea6-5c01dd9f06e2": {
"asset": 1592807258000,
"meta": 1611300073958,
"relativePath": "image/default_btn_normal.png"
},
"b43ff3c2-02bb-4874-81f7-f2dea6970f18": { "b43ff3c2-02bb-4874-81f7-f2dea6970f18": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422073, "meta": 1611300073985,
"relativePath": "image/default_btn_pressed.png" "relativePath": "image/default_btn_pressed.png"
}, },
"edd215b9-2796-4a05-aaf5-81f96c9281ce": { "edd215b9-2796-4a05-aaf5-81f96c9281ce": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422071, "meta": 1611300073986,
"relativePath": "image/default_editbox_bg.png" "relativePath": "image/default_editbox_bg.png"
}, },
"d81ec8ad-247c-4e62-aa3c-d35c4193c7af": {
"asset": 1592807258000,
"meta": 1611284422093,
"relativePath": "image/default_panel.png"
},
"99170b0b-d210-46f1-b213-7d9e3f23098a": { "99170b0b-d210-46f1-b213-7d9e3f23098a": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422091, "meta": 1611300073998,
"relativePath": "image/default_progressbar_bg.png" "relativePath": "image/default_progressbar_bg.png"
}, },
"d81ec8ad-247c-4e62-aa3c-d35c4193c7af": {
"asset": 1592807258000,
"meta": 1611300073999,
"relativePath": "image/default_panel.png"
},
"cfef78f1-c8df-49b7-8ed0-4c953ace2621": { "cfef78f1-c8df-49b7-8ed0-4c953ace2621": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422107, "meta": 1611300074013,
"relativePath": "image/default_progressbar.png" "relativePath": "image/default_progressbar.png"
}, },
"567dcd80-8bf4-4535-8a5a-313f1caf078a": { "567dcd80-8bf4-4535-8a5a-313f1caf078a": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422108, "meta": 1611300074015,
"relativePath": "image/default_radio_button_off.png" "relativePath": "image/default_radio_button_off.png"
}, },
"9d60001f-b5f4-4726-a629-2659e3ded0b8": {
"asset": 1592807258000,
"meta": 1611284422121,
"relativePath": "image/default_radio_button_on.png"
},
"4bab67cb-18e6-4099-b840-355f0473f890": { "4bab67cb-18e6-4099-b840-355f0473f890": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422122, "meta": 1611300074038,
"relativePath": "image/default_scrollbar_bg.png" "relativePath": "image/default_scrollbar_bg.png"
}, },
"9d60001f-b5f4-4726-a629-2659e3ded0b8": {
"asset": 1592807258000,
"meta": 1611300074039,
"relativePath": "image/default_radio_button_on.png"
},
"617323dd-11f4-4dd3-8eec-0caf6b3b45b9": { "617323dd-11f4-4dd3-8eec-0caf6b3b45b9": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422154, "meta": 1611300074056,
"relativePath": "image/default_scrollbar_vertical_bg.png" "relativePath": "image/default_scrollbar_vertical_bg.png"
}, },
"d6d3ca85-4681-47c1-b5dd-d036a9d39ea2": { "d6d3ca85-4681-47c1-b5dd-d036a9d39ea2": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422155, "meta": 1611300074057,
"relativePath": "image/default_scrollbar_vertical.png" "relativePath": "image/default_scrollbar_vertical.png"
}, },
"0275e94c-56a7-410f-bd1a-fc7483f7d14a": { "0275e94c-56a7-410f-bd1a-fc7483f7d14a": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422164, "meta": 1611300074069,
"relativePath": "image/default_sprite_splash.png" "relativePath": "image/default_sprite_splash.png"
}, },
"0291c134-b3da-4098-b7b5-e397edbe947f": { "0291c134-b3da-4098-b7b5-e397edbe947f": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422166, "meta": 1611300074071,
"relativePath": "image/default_scrollbar.png" "relativePath": "image/default_scrollbar.png"
}, },
"6e056173-d285-473c-b206-40a7fff5386e": { "6e056173-d285-473c-b206-40a7fff5386e": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422177, "meta": 1611300074086,
"relativePath": "image/default_sprite.png" "relativePath": "image/default_sprite.png"
}, },
"73a0903d-d80e-4e3c-aa67-f999543c08f5": { "73a0903d-d80e-4e3c-aa67-f999543c08f5": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422178, "meta": 1611300074087,
"relativePath": "image/default_toggle_checkmark.png" "relativePath": "image/default_toggle_checkmark.png"
}, },
"d29077ba-1627-4a72-9579-7b56a235340c": {
"asset": 1592807258000,
"meta": 1611284422192,
"relativePath": "image/default_toggle_normal.png"
},
"c25b9d50-c8fc-4d27-beeb-6e7c1f2e5c0f": { "c25b9d50-c8fc-4d27-beeb-6e7c1f2e5c0f": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422191, "meta": 1611300074099,
"relativePath": "image/default_toggle_disabled.png" "relativePath": "image/default_toggle_disabled.png"
}, },
"d29077ba-1627-4a72-9579-7b56a235340c": {
"asset": 1592807258000,
"meta": 1611300074100,
"relativePath": "image/default_toggle_normal.png"
},
"b181c1e4-0a72-4a91-bfb0-ae6f36ca60bd": { "b181c1e4-0a72-4a91-bfb0-ae6f36ca60bd": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422204, "meta": 1611300074110,
"relativePath": "image/default_toggle_pressed.png" "relativePath": "image/default_toggle_pressed.png"
}, },
"5c3eedba-6c41-4c0c-9ba7-d91f813cbd1c": { "5c3eedba-6c41-4c0c-9ba7-d91f813cbd1c": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422205, "meta": 1611300074111,
"relativePath": "materials" "relativePath": "materials"
}, },
"c4480a0a-6ac5-443f-8b40-361a14257fc8": { "c4480a0a-6ac5-443f-8b40-361a14257fc8": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422789, "meta": 1611300074722,
"relativePath": "materials/builtin-phong.mtl" "relativePath": "materials/builtin-phong.mtl"
}, },
"fc09f9bd-2cce-4605-b630-8145ef809ed6": { "fc09f9bd-2cce-4605-b630-8145ef809ed6": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422208, "meta": 1611300074114,
"relativePath": "misc" "relativePath": "misc"
}, },
"2be36297-9abb-4fee-8049-9ed5e271da8a": { "2be36297-9abb-4fee-8049-9ed5e271da8a": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422211, "meta": 1611300074117,
"relativePath": "misc/default_video.mp4" "relativePath": "misc/default_video.mp4"
}, },
"db019bf7-f71c-4111-98cf-918ea180cb48": { "db019bf7-f71c-4111-98cf-918ea180cb48": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422212, "meta": 1611300074118,
"relativePath": "model" "relativePath": "model"
}, },
"e39e96e6-6f6e-413f-bcf1-ac7679bb648a": { "e39e96e6-6f6e-413f-bcf1-ac7679bb648a": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422213, "meta": 1611300074119,
"relativePath": "model/prefab" "relativePath": "model/prefab"
}, },
"a87cc147-01b2-43f8-8e42-a7ca90b0c757": { "a87cc147-01b2-43f8-8e42-a7ca90b0c757": {
"asset": 1599374686636, "asset": 1599374686636,
"meta": 1611284422215, "meta": 1611300074121,
"relativePath": "model/prefab/box.prefab" "relativePath": "model/prefab/box.prefab"
}, },
"600301aa-3357-4a10-b086-84f011fa32ba": {
"asset": 1592807258000,
"meta": 1611284422218,
"relativePath": "image/default-particle.png"
},
"fe1417b6-fe6b-46a4-ae7c-9fd331f33a2a": { "fe1417b6-fe6b-46a4-ae7c-9fd331f33a2a": {
"asset": 1599374686639, "asset": 1599374686639,
"meta": 1611284422217, "meta": 1611300074123,
"relativePath": "model/prefab/capsule.prefab" "relativePath": "model/prefab/capsule.prefab"
}, },
"b5fc2cf2-7942-483d-be1f-bbeadc4714ad": { "b5fc2cf2-7942-483d-be1f-bbeadc4714ad": {
"asset": 1599374686640, "asset": 1599374686640,
"meta": 1611284422219, "meta": 1611300074125,
"relativePath": "model/prefab/cone.prefab" "relativePath": "model/prefab/cone.prefab"
}, },
"600301aa-3357-4a10-b086-84f011fa32ba": {
"asset": 1592807258000,
"meta": 1611300074126,
"relativePath": "image/default-particle.png"
},
"1c5e4038-953a-44c2-b620-0bbfc6170477": { "1c5e4038-953a-44c2-b620-0bbfc6170477": {
"asset": 1599374686642, "asset": 1599374686642,
"meta": 1611284422221, "meta": 1611300074128,
"relativePath": "model/prefab/cylinder.prefab" "relativePath": "model/prefab/cylinder.prefab"
}, },
"3f376125-a699-40ca-ad05-04d662eaa1f2": { "3f376125-a699-40ca-ad05-04d662eaa1f2": {
"asset": 1599374686643, "asset": 1599374686643,
"meta": 1611284422222, "meta": 1611300074129,
"relativePath": "model/prefab/plane.prefab" "relativePath": "model/prefab/plane.prefab"
}, },
"6c9ef10d-b479-420b-bfe6-39cdda6a8ae0": { "6c9ef10d-b479-420b-bfe6-39cdda6a8ae0": {
"asset": 1599374686645, "asset": 1599374686645,
"meta": 1611284422224, "meta": 1611300074132,
"relativePath": "model/prefab/quad.prefab" "relativePath": "model/prefab/quad.prefab"
}, },
"2d9a4b85-b0ab-4c46-84c5-18f393ab2058": { "2d9a4b85-b0ab-4c46-84c5-18f393ab2058": {
"asset": 1599374686646, "asset": 1599374686646,
"meta": 1611284422225, "meta": 1611300074133,
"relativePath": "model/prefab/sphere.prefab" "relativePath": "model/prefab/sphere.prefab"
}, },
"de510076-056b-484f-b94c-83bef217d0e1": { "de510076-056b-484f-b94c-83bef217d0e1": {
"asset": 1599374686668, "asset": 1599374686668,
"meta": 1611284422236, "meta": 1611300074144,
"relativePath": "model/prefab/torus.prefab" "relativePath": "model/prefab/torus.prefab"
}, },
"f6e6dd15-71d1-4ffe-ace7-24fd39942c05": { "f6e6dd15-71d1-4ffe-ace7-24fd39942c05": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422237, "meta": 1611300074145,
"relativePath": "obsolete" "relativePath": "obsolete"
}, },
"8a96b965-2dc0-4e03-aa90-3b79cb93b5b4": { "8a96b965-2dc0-4e03-aa90-3b79cb93b5b4": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422252, "meta": 1611300074161,
"relativePath": "obsolete/atom.png" "relativePath": "obsolete/atom.png"
}, },
"f743d2b6-b7ea-4c14-a55b-547ed4d0a045": { "f743d2b6-b7ea-4c14-a55b-547ed4d0a045": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422255, "meta": 1611300074162,
"relativePath": "particle" "relativePath": "particle"
}, },
"b8223619-7e38-47c4-841f-9160c232495a": { "b8223619-7e38-47c4-841f-9160c232495a": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422818, "meta": 1611300074741,
"relativePath": "obsolete/atom.plist" "relativePath": "obsolete/atom.plist"
}, },
"d0a82d39-bede-46c4-b698-c81ff0dedfff": { "d0a82d39-bede-46c4-b698-c81ff0dedfff": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422270, "meta": 1611300074312,
"relativePath": "particle/atom.png" "relativePath": "particle/atom.png"
}, },
"ae6c6c98-11e4-452f-8758-75f5c6a56e83": { "ae6c6c98-11e4-452f-8758-75f5c6a56e83": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422271, "meta": 1611300074313,
"relativePath": "prefab" "relativePath": "prefab"
}, },
"897ef7a1-4860-4f64-968d-f5924b18668a": {
"asset": 1599374686692,
"meta": 1611284422275,
"relativePath": "prefab/2d-camera.prefab"
},
"b2687ac4-099e-403c-a192-ff477686f4f5": { "b2687ac4-099e-403c-a192-ff477686f4f5": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422819, "meta": 1611300074742,
"relativePath": "particle/atom.plist" "relativePath": "particle/atom.plist"
}, },
"897ef7a1-4860-4f64-968d-f5924b18668a": {
"asset": 1599374686692,
"meta": 1611300074327,
"relativePath": "prefab/2d-camera.prefab"
},
"70d7cdb0-04cd-41bb-9480-c06a4785f386": { "70d7cdb0-04cd-41bb-9480-c06a4785f386": {
"asset": 1599374686694, "asset": 1599374686694,
"meta": 1611284422280, "meta": 1611300074330,
"relativePath": "prefab/3d-camera.prefab" "relativePath": "prefab/3d-camera.prefab"
}, },
"70bbeb73-6dc2-4ee4-8faf-76b3a0e34ec4": { "70bbeb73-6dc2-4ee4-8faf-76b3a0e34ec4": {
"asset": 1599374686696, "asset": 1599374686696,
"meta": 1611284422285, "meta": 1611300074334,
"relativePath": "prefab/3d-particle.prefab" "relativePath": "prefab/3d-particle.prefab"
}, },
"ed88f13d-fcad-4848-aa35-65a2cb973584": { "ed88f13d-fcad-4848-aa35-65a2cb973584": {
"asset": 1599374686699, "asset": 1599374686699,
"meta": 1611284422287, "meta": 1611300074337,
"relativePath": "prefab/3d-stage.prefab" "relativePath": "prefab/3d-stage.prefab"
}, },
"972b9a4d-47ee-4c74-b5c3-61d8a69bc29f": { "972b9a4d-47ee-4c74-b5c3-61d8a69bc29f": {
"asset": 1599374686701, "asset": 1599374686701,
"meta": 1611284422289, "meta": 1611300074352,
"relativePath": "prefab/button.prefab" "relativePath": "prefab/button.prefab"
}, },
"2c937608-2562-40ea-b264-7395df6f0cea": { "2c937608-2562-40ea-b264-7395df6f0cea": {
"asset": 1599374686703, "asset": 1599374686703,
"meta": 1611284422291, "meta": 1611300074375,
"relativePath": "prefab/canvas.prefab" "relativePath": "prefab/canvas.prefab"
}, },
"61aeb05b-3b32-452b-8eed-2b76deeed554": { "61aeb05b-3b32-452b-8eed-2b76deeed554": {
"asset": 1599374686704, "asset": 1599374686704,
"meta": 1611284422293, "meta": 1611300074377,
"relativePath": "prefab/editbox.prefab" "relativePath": "prefab/editbox.prefab"
}, },
"27756ebb-3d33-44b0-9b96-e858fadd4dd4": { "27756ebb-3d33-44b0-9b96-e858fadd4dd4": {
"asset": 1599374686706, "asset": 1599374686706,
"meta": 1611284422295, "meta": 1611300074379,
"relativePath": "prefab/label.prefab" "relativePath": "prefab/label.prefab"
}, },
"785a442c-3ceb-45be-a46e-7317f625f3b9": { "785a442c-3ceb-45be-a46e-7317f625f3b9": {
"asset": 1599374686711, "asset": 1599374686711,
"meta": 1611284422297, "meta": 1611300074384,
"relativePath": "prefab/layout.prefab" "relativePath": "prefab/layout.prefab"
}, },
"a3ee0214-b432-4865-9666-4a3211814282": { "a3ee0214-b432-4865-9666-4a3211814282": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422297, "meta": 1611300074385,
"relativePath": "prefab/light" "relativePath": "prefab/light"
}, },
"61906da3-7003-4bda-9abc-5769c76faee4": { "61906da3-7003-4bda-9abc-5769c76faee4": {
"asset": 1599374686714, "asset": 1599374686714,
"meta": 1611284422299, "meta": 1611300074389,
"relativePath": "prefab/light/ambient.prefab" "relativePath": "prefab/light/ambient.prefab"
}, },
"ddb99b39-7004-47cd-9705-751905c43c46": { "ddb99b39-7004-47cd-9705-751905c43c46": {
"asset": 1599374686715, "asset": 1599374686715,
"meta": 1611284422306, "meta": 1611300074391,
"relativePath": "prefab/light/directional.prefab" "relativePath": "prefab/light/directional.prefab"
}, },
"0cf30284-9073-46bc-9eba-e62b69dbbff3": { "0cf30284-9073-46bc-9eba-e62b69dbbff3": {
"asset": 1599374686717, "asset": 1599374686717,
"meta": 1611284422308, "meta": 1611300074394,
"relativePath": "prefab/light/point.prefab" "relativePath": "prefab/light/point.prefab"
}, },
"f5331fd2-bf42-4ee3-a3fd-3e1657600eff": { "f5331fd2-bf42-4ee3-a3fd-3e1657600eff": {
"asset": 1599374686718, "asset": 1599374686718,
"meta": 1611284422310, "meta": 1611300074396,
"relativePath": "prefab/light/spot.prefab" "relativePath": "prefab/light/spot.prefab"
}, },
"ca8401fe-ad6e-41a8-bd46-8e3e4e9945be": { "ca8401fe-ad6e-41a8-bd46-8e3e4e9945be": {
"asset": 1599374686728, "asset": 1599374686728,
"meta": 1611284422312, "meta": 1611300074400,
"relativePath": "prefab/pageview.prefab" "relativePath": "prefab/pageview.prefab"
}, },
"cd33edea-55f5-46c2-958d-357a01384a36": { "cd33edea-55f5-46c2-958d-357a01384a36": {
"asset": 1599374686745, "asset": 1599374686745,
"meta": 1611284422314, "meta": 1611300074402,
"relativePath": "prefab/particlesystem.prefab" "relativePath": "prefab/particlesystem.prefab"
}, },
"5965ffac-69da-4b55-bcde-9225d0613c28": { "5965ffac-69da-4b55-bcde-9225d0613c28": {
"asset": 1599374686753, "asset": 1599374686753,
"meta": 1611284422328, "meta": 1611300074403,
"relativePath": "prefab/progressBar.prefab" "relativePath": "prefab/progressBar.prefab"
}, },
"4a37dd57-78cd-4cec-aad4-f11a73d12b63": { "4a37dd57-78cd-4cec-aad4-f11a73d12b63": {
"asset": 1599374686755, "asset": 1599374686755,
"meta": 1611284422357, "meta": 1611300074405,
"relativePath": "prefab/richtext.prefab" "relativePath": "prefab/richtext.prefab"
}, },
"32044bd2-481f-4cf1-a656-e2b2fb1594eb": { "32044bd2-481f-4cf1-a656-e2b2fb1594eb": {
"asset": 1599374686776, "asset": 1599374686776,
"meta": 1611284422360, "meta": 1611300074406,
"relativePath": "prefab/scrollview.prefab" "relativePath": "prefab/scrollview.prefab"
}, },
"0004d1cf-a0ad-47d8-ab17-34d3db9d35a3": { "0004d1cf-a0ad-47d8-ab17-34d3db9d35a3": {
"asset": 1599374686794, "asset": 1599374686794,
"meta": 1611284422367, "meta": 1611300074408,
"relativePath": "prefab/slider.prefab" "relativePath": "prefab/slider.prefab"
}, },
"1f55e3be-b89b-4b79-88de-47fd31018044": { "1f55e3be-b89b-4b79-88de-47fd31018044": {
"asset": 1599374686796, "asset": 1599374686796,
"meta": 1611284422369, "meta": 1611300074410,
"relativePath": "prefab/sprite_splash.prefab" "relativePath": "prefab/sprite_splash.prefab"
}, },
"96083d03-c332-4a3f-9386-d03e2d19e8ee": { "96083d03-c332-4a3f-9386-d03e2d19e8ee": {
"asset": 1599374686799, "asset": 1599374686799,
"meta": 1611284422383, "meta": 1611300074412,
"relativePath": "prefab/sprite.prefab" "relativePath": "prefab/sprite.prefab"
}, },
"7de03a80-4457-438d-95a7-3e7cdffd6086": { "7de03a80-4457-438d-95a7-3e7cdffd6086": {
"asset": 1599374686802, "asset": 1599374686802,
"meta": 1611284422386, "meta": 1611300074413,
"relativePath": "prefab/tiledmap.prefab" "relativePath": "prefab/tiledmap.prefab"
}, },
"0e42ba95-1fa1-46aa-b2cf-143cd1bcee2c": { "0e42ba95-1fa1-46aa-b2cf-143cd1bcee2c": {
"asset": 1599374686806, "asset": 1599374686806,
"meta": 1611284422409, "meta": 1611300074414,
"relativePath": "prefab/tiledtile.prefab" "relativePath": "prefab/tiledtile.prefab"
}, },
"0d784963-d024-4ea6-a7db-03be0ad63010": { "0d784963-d024-4ea6-a7db-03be0ad63010": {
"asset": 1599374686808, "asset": 1599374686808,
"meta": 1611284422414, "meta": 1611300074416,
"relativePath": "prefab/toggle.prefab" "relativePath": "prefab/toggle.prefab"
}, },
"bf0a434c-84dd-4a8e-a08a-7a36f180cc75": { "bf0a434c-84dd-4a8e-a08a-7a36f180cc75": {
"asset": 1599374686810, "asset": 1599374686810,
"meta": 1611284422418, "meta": 1611300074418,
"relativePath": "prefab/toggleContainer.prefab" "relativePath": "prefab/toggleContainer.prefab"
}, },
"d1b8be49-b0a0-435c-83b7-552bed4bbe35": { "d1b8be49-b0a0-435c-83b7-552bed4bbe35": {
"asset": 1599374686812, "asset": 1599374686812,
"meta": 1611284422421, "meta": 1611300074420,
"relativePath": "prefab/toggleGroup.prefab" "relativePath": "prefab/toggleGroup.prefab"
}, },
"232d2782-c4bd-4bb4-9e01-909f03d6d3b9": { "232d2782-c4bd-4bb4-9e01-909f03d6d3b9": {
"asset": 1599374686813, "asset": 1599374686813,
"meta": 1611284422427, "meta": 1611300074422,
"relativePath": "prefab/videoplayer.prefab" "relativePath": "prefab/videoplayer.prefab"
}, },
"8c5001fd-07ee-4a4b-a8a0-63e15195e94d": {
"asset": 1599374686827,
"meta": 1611284422431,
"relativePath": "prefab/webview.prefab"
},
"d8afc78c-4eac-4a9f-83dd-67bc70344d33": { "d8afc78c-4eac-4a9f-83dd-67bc70344d33": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422429, "meta": 1611300074423,
"relativePath": "resources" "relativePath": "resources"
}, },
"294c1663-4adf-4a1e-a795-53808011a38a": { "294c1663-4adf-4a1e-a795-53808011a38a": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422430, "meta": 1611300074425,
"relativePath": "resources/effects" "relativePath": "resources/effects"
}, },
"30682f87-9f0d-4f17-8a44-72863791461b": { "30682f87-9f0d-4f17-8a44-72863791461b": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422445, "meta": 1611300074439,
"relativePath": "resources/effects/builtin-2d-graphics.effect" "relativePath": "resources/effects/builtin-2d-graphics.effect"
}, },
"144c3297-af63-49e8-b8ef-1cfa29b3be28": { "144c3297-af63-49e8-b8ef-1cfa29b3be28": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422454, "meta": 1611300074453,
"relativePath": "resources/effects/builtin-2d-gray-sprite.effect" "relativePath": "resources/effects/builtin-2d-gray-sprite.effect"
}, },
"8c5001fd-07ee-4a4b-a8a0-63e15195e94d": {
"asset": 1599374686827,
"meta": 1611300074457,
"relativePath": "prefab/webview.prefab"
},
"f18742d7-56d2-4eb5-ae49-2d9d710b37c8": { "f18742d7-56d2-4eb5-ae49-2d9d710b37c8": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422467, "meta": 1611300074473,
"relativePath": "resources/effects/builtin-2d-label.effect" "relativePath": "resources/effects/builtin-2d-label.effect"
}, },
"0e93aeaa-0b53-4e40-b8e0-6268b4e07bd7": { "0e93aeaa-0b53-4e40-b8e0-6268b4e07bd7": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422480, "meta": 1611300074483,
"relativePath": "resources/effects/builtin-2d-spine.effect" "relativePath": "resources/effects/builtin-2d-spine.effect"
}, },
"2874f8dd-416c-4440-81b7-555975426e93": { "2874f8dd-416c-4440-81b7-555975426e93": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422487, "meta": 1611300074491,
"relativePath": "resources/effects/builtin-2d-sprite.effect" "relativePath": "resources/effects/builtin-2d-sprite.effect"
}, },
"829a282c-b049-4019-bd38-5ace8d8a6417": { "829a282c-b049-4019-bd38-5ace8d8a6417": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422671, "meta": 1611300074605,
"relativePath": "resources/effects/builtin-3d-particle.effect" "relativePath": "resources/effects/builtin-3d-particle.effect"
}, },
"2a7c0036-e0b3-4fe1-8998-89a54b8a2bec": { "2a7c0036-e0b3-4fe1-8998-89a54b8a2bec": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422705, "meta": 1611300074630,
"relativePath": "resources/effects/builtin-3d-trail.effect" "relativePath": "resources/effects/builtin-3d-trail.effect"
}, },
"c0040c95-c57f-49cd-9cbc-12316b73d0d4": { "c0040c95-c57f-49cd-9cbc-12316b73d0d4": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422715, "meta": 1611300074650,
"relativePath": "resources/effects/builtin-clear-stencil.effect" "relativePath": "resources/effects/builtin-clear-stencil.effect"
}, },
"6d91e591-4ce0-465c-809f-610ec95019c6": { "6d91e591-4ce0-465c-809f-610ec95019c6": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422738, "meta": 1611300074677,
"relativePath": "resources/effects/builtin-unlit.effect" "relativePath": "resources/effects/builtin-unlit.effect"
}, },
"bbee2217-c261-49bd-a8ce-708d6bcc3500": { "bbee2217-c261-49bd-a8ce-708d6bcc3500": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422740, "meta": 1611300074682,
"relativePath": "resources/materials" "relativePath": "resources/materials"
}, },
"6f801092-0c37-4f30-89ef-c8d960825b36": { "6f801092-0c37-4f30-89ef-c8d960825b36": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422883, "meta": 1611300074764,
"relativePath": "resources/materials/builtin-2d-base.mtl" "relativePath": "resources/materials/builtin-2d-base.mtl"
}, },
"954fec8b-cd16-4bb9-a3b7-7719660e7558": {
"asset": 1592807258000,
"meta": 1611300074765,
"relativePath": "model/primitives.fbx"
},
"a153945d-2511-4c14-be7b-05d242f47d57": { "a153945d-2511-4c14-be7b-05d242f47d57": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422884, "meta": 1611300074766,
"relativePath": "resources/materials/builtin-2d-graphics.mtl" "relativePath": "resources/materials/builtin-2d-graphics.mtl"
}, },
"3a7bb79f-32fd-422e-ada2-96f518fed422": { "3a7bb79f-32fd-422e-ada2-96f518fed422": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422886, "meta": 1611300074766,
"relativePath": "resources/materials/builtin-2d-gray-sprite.mtl" "relativePath": "resources/materials/builtin-2d-gray-sprite.mtl"
}, },
"e02d87d4-e599-4d16-8001-e14891ac6506": { "e02d87d4-e599-4d16-8001-e14891ac6506": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422888, "meta": 1611300074767,
"relativePath": "resources/materials/builtin-2d-label.mtl" "relativePath": "resources/materials/builtin-2d-label.mtl"
}, },
"7afd064b-113f-480e-b793-8817d19f63c3": { "7afd064b-113f-480e-b793-8817d19f63c3": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422893, "meta": 1611300074767,
"relativePath": "resources/materials/builtin-2d-spine.mtl" "relativePath": "resources/materials/builtin-2d-spine.mtl"
}, },
"eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432": { "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422894, "meta": 1611300074768,
"relativePath": "resources/materials/builtin-2d-sprite.mtl" "relativePath": "resources/materials/builtin-2d-sprite.mtl"
}, },
"432fa09c-cf03-4cff-a186-982604408a07": { "432fa09c-cf03-4cff-a186-982604408a07": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422896, "meta": 1611300074769,
"relativePath": "resources/materials/builtin-3d-particle.mtl" "relativePath": "resources/materials/builtin-3d-particle.mtl"
}, },
"466d4f9b-e5f4-4ea8-85d5-3c6e9a65658a": { "466d4f9b-e5f4-4ea8-85d5-3c6e9a65658a": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422898, "meta": 1611300074769,
"relativePath": "resources/materials/builtin-3d-trail.mtl" "relativePath": "resources/materials/builtin-3d-trail.mtl"
}, },
"cf7e0bb8-a81c-44a9-ad79-d28d43991032": { "cf7e0bb8-a81c-44a9-ad79-d28d43991032": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422900, "meta": 1611300074770,
"relativePath": "resources/materials/builtin-clear-stencil.mtl" "relativePath": "resources/materials/builtin-clear-stencil.mtl"
}, },
"2a296057-247c-4a1c-bbeb-0548b6c98650": { "2a296057-247c-4a1c-bbeb-0548b6c98650": {
"asset": 1592807258000, "asset": 1592807258000,
"meta": 1611284422901, "meta": 1611300074771,
"relativePath": "resources/materials/builtin-unlit.mtl" "relativePath": "resources/materials/builtin-unlit.mtl"
},
"954fec8b-cd16-4bb9-a3b7-7719660e7558": {
"asset": 1592807258000,
"meta": 1611284425342,
"relativePath": "model/primitives.fbx"
},
"b3e401a5-91fc-4a28-87e3-0b4063ba359c": {
"asset": 1611191670619,
"meta": 1611192552874,
"relativePath": "mz_003"
},
"4622f21b-4a93-4460-bbc0-350907c5dded": {
"asset": 1611191670637,
"meta": 1611192553619,
"relativePath": "mz_003/texture"
},
"8beb45b3-f75e-4244-a612-1b675fada727": {
"asset": 1611191670617,
"meta": 1611192553226,
"relativePath": "mz_003/scene"
},
"c3f18614-c716-4f1f-899f-09f073ac6c43": {
"asset": 1611285212508,
"meta": 1611285212513,
"relativePath": "mz_003/scene/scene.fire"
},
"b5c6439b-d99b-428f-9454-22f767de4a02": {
"asset": 1611191670619,
"meta": 1611192553232,
"relativePath": "mz_003/script"
},
"3531d7ec-7dc9-49bd-be94-92677dc9b7c0": {
"asset": 1611191670628,
"meta": 1611192553827,
"relativePath": "mz_003/texture/bg.jpg"
},
"a6d5058d-4e6d-4f70-a783-6e6c6abe2bb3": {
"asset": 1611191670629,
"meta": 1611192553739,
"relativePath": "mz_003/texture/bg_bottom.png"
},
"f7f43987-0beb-4e02-a9da-ae5d16a05314": {
"asset": 1611191670616,
"meta": 1611192552885,
"relativePath": "mz_003/prefab"
},
"9993b7c8-e4e4-4b48-8922-9c55f423bdb3": {
"asset": 1611191670616,
"meta": 1611192553224,
"relativePath": "mz_003/prefab/bgBottom.prefab"
},
"3d28f1c9-8256-41cc-8f9e-01c7e3e1371f": {
"asset": 1611191670625,
"meta": 1611192553727,
"relativePath": "mz_003/texture/arrow_up.png"
},
"43748337-7845-480f-bab5-efe27789fdf2": {
"asset": 1611191670625,
"meta": 1611192553718,
"relativePath": "mz_003/texture/arrow_down.png"
},
"8b009fac-29e8-49d4-9d64-d84819f50033": {
"asset": 1611191670636,
"meta": 1611192553904,
"relativePath": "mz_003/texture/page_up.png"
},
"c81ac921-d809-45d5-9868-bbfdcfdb6b21": {
"asset": 1611191670635,
"meta": 1611192553893,
"relativePath": "mz_003/texture/page_down.png"
},
"8ef2eb77-9294-4186-92a6-5f876ad28041": {
"asset": 1611191670615,
"meta": 1611192553225,
"relativePath": "mz_003/prefab/KGMissKindyMarker.ttf"
},
"1e8e5fb3-d12b-442d-bda6-12f12267abe5": {
"asset": 1611191670632,
"meta": 1611192553796,
"relativePath": "mz_003/texture/bg_points.png"
},
"47201402-0495-40f8-9802-663f2185825e": {
"asset": 1611191670636,
"meta": 1611192553936,
"relativePath": "mz_003/texture/white_bg.jpg"
},
"2c7eddc1-2a29-4b59-845e-859d50eb2424": {
"asset": 1611191670634,
"meta": 1611192553882,
"relativePath": "mz_003/texture/circle_bg.png"
},
"7fcc5b13-a296-44a8-a5d4-e8dee564e2c9": {
"asset": 1611191670634,
"meta": 1611192553847,
"relativePath": "mz_003/texture/circle_bg_small.png"
},
"4fd428f3-cf22-467b-8ae4-09dfc1fa94c2": {
"asset": 1611282436124,
"meta": 1611283621750,
"relativePath": "mz_003/audio"
},
"d36dd89b-a002-4dc6-8383-ea534341830e": {
"asset": 1611191670614,
"meta": 1611192554001,
"relativePath": "mz_003/audio/wrong.mp3"
},
"a34b7897-1edf-4bb8-84f2-c97c4cb122ea": {
"asset": 1611191670624,
"meta": 1611192553710,
"relativePath": "mz_003/texture/02封面.png"
},
"ff0e987e-f8d9-4a38-b6c2-f81bbf447dbe": {
"asset": 1611281655054,
"meta": 1611281934473,
"relativePath": "mz_003/prefab/bgBottom.js"
},
"067e45c4-be38-4fd0-8274-0f92703002ad": {
"asset": 1601261450728,
"meta": 1611282436757,
"relativePath": "mz_003/audio/good_job.mp3"
},
"ab873eda-ffb5-46e2-8e57-b0892030d3df": {
"asset": 1611215831689,
"meta": 1611284493075,
"relativePath": "mz_003/texture/bg_sahua.png"
},
"5ac8bd7b-38a3-4969-ac2f-8aeef90c885e": {
"asset": 1611284930875,
"meta": 1611284966378,
"relativePath": "mz_003/script/util.js"
},
"c28e2c01-0a4a-4b28-b44e-7cf7c68f0ccf": {
"asset": 1611215831685,
"meta": 1611285136220,
"relativePath": "mz_003/audio/end.mp3"
},
"335fe6b8-2b52-45a9-a9c9-cb3b54014251": {
"asset": 1611286149391,
"meta": 1611286150799,
"relativePath": "mz_003/script/scene.js"
},
"5e66e21b-b845-488b-8dda-1bcb83c5262d": {
"asset": 1611286138979,
"meta": 1611286150966,
"relativePath": "mz_003/script/runtime.js"
} }
} }
\ No newline at end of file
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
"main": true, "main": true,
"url": "app://editor/index.html", "url": "app://editor/index.html",
"windowType": "dockable", "windowType": "dockable",
"x": -2385, "x": -1540,
"y": -289, "y": -308,
"width": 1275, "width": 1275,
"height": 841, "height": 841,
"layout": { "layout": {
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
"nodeFoldStates": [ "nodeFoldStates": [
"0fW1AnCvVEdp/UNXH5kf/P", "0fW1AnCvVEdp/UNXH5kf/P",
"72tcFd4DxIEJDCcVRwCiME", "72tcFd4DxIEJDCcVRwCiME",
"a5esZu+45LA5mBpvttspPD",
"e7J+q9Q8dARK2N/WFKEgVg", "e7J+q9Q8dARK2N/WFKEgVg",
"41vCxkDfBHS6frGy0vaPaC", "41vCxkDfBHS6frGy0vaPaC",
"e6w8+wEixNo5sZ+KiKjqTs", "e6w8+wEixNo5sZ+KiKjqTs",
...@@ -38,6 +37,9 @@ ...@@ -38,6 +37,9 @@
"5aAwYeWN5GlpJJBm6cMCUR", "5aAwYeWN5GlpJJBm6cMCUR",
"2daSEONptJQLYU9aq8TOd+", "2daSEONptJQLYU9aq8TOd+",
"01Xreos21IrrsAvhvN44JE", "01Xreos21IrrsAvhvN44JE",
"2dxuR150xHc7HMMzQsLpMh" "2dxuR150xHc7HMMzQsLpMh",
"54O4k0OQlAyKzr5gP+j8nY",
"abKXvlMl9MLJXGAhTbrllV",
"a5esZu+45LA5mBpvttspPD"
] ]
} }
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
"__id__": 2 "__id__": 2
}, },
{ {
"__id__": 59 "__id__": 61
} }
], ],
"_active": false, "_active": false,
...@@ -93,13 +93,13 @@ ...@@ -93,13 +93,13 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 56 "__id__": 58
}, },
{ {
"__id__": 57 "__id__": 59
}, },
{ {
"__id__": 58 "__id__": 60
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1894,12 +1894,15 @@ ...@@ -1894,12 +1894,15 @@
}, },
{ {
"__id__": 53 "__id__": 53
},
{
"__id__": 55
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 55 "__id__": 57
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2298,6 +2301,86 @@ ...@@ -2298,6 +2301,86 @@
"preload": false, "preload": false,
"_id": "bbofmPuftAVKY+pqncTW9+" "_id": "bbofmPuftAVKY+pqncTW9+"
}, },
{
"__type__": "cc.Node",
"_name": "end_audio",
"_objFlags": 0,
"_parent": {
"__id__": 46
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 56
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "f9Xp2kmx5M3pGLqSKdv+QB"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 55
},
"_enabled": true,
"_clip": {
"__uuid__": "c28e2c01-0a4a-4b28-b44e-7cf7c68f0ccf"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"playOnLoad": false,
"preload": false,
"_id": "96JW6kSV1BEp9LJP+HKIe5"
},
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
...@@ -2394,9 +2477,6 @@ ...@@ -2394,9 +2477,6 @@
"__id__": 1 "__id__": 1
}, },
"_children": [ "_children": [
{
"__id__": 60
},
{ {
"__id__": 62 "__id__": 62
}, },
...@@ -2405,6 +2485,9 @@ ...@@ -2405,6 +2485,9 @@
}, },
{ {
"__id__": 66 "__id__": 66
},
{
"__id__": 68
} }
], ],
"_active": true, "_active": true,
...@@ -2462,13 +2545,13 @@ ...@@ -2462,13 +2545,13 @@
"_name": "sahua", "_name": "sahua",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 59 "__id__": 61
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 61 "__id__": 63
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2524,7 +2607,7 @@ ...@@ -2524,7 +2607,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 60 "__id__": 62
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2556,22 +2639,22 @@ ...@@ -2556,22 +2639,22 @@
"_name": "sahua", "_name": "sahua",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 59 "__id__": 61
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 63 "__id__": 65
} }
], ],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 0, "r": 255,
"g": 255, "g": 183,
"b": 0, "b": 4,
"a": 255 "a": 255
}, },
"_contentSize": { "_contentSize": {
...@@ -2618,7 +2701,7 @@ ...@@ -2618,7 +2701,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 62 "__id__": 64
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2650,13 +2733,13 @@ ...@@ -2650,13 +2733,13 @@
"_name": "sahua", "_name": "sahua",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 59 "__id__": 61
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 65 "__id__": 67
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2712,7 +2795,7 @@ ...@@ -2712,7 +2795,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 64 "__id__": 66
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -2744,13 +2827,13 @@ ...@@ -2744,13 +2827,13 @@
"_name": "sahua", "_name": "sahua",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 59 "__id__": 61
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 67 "__id__": 69
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -2806,7 +2889,7 @@ ...@@ -2806,7 +2889,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 66 "__id__": 68
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
......
{"version":"1.0.8","stats":{"/Users/limingzhe/Documents/workspace/pro_hw/pro_cocos/cc_mz_003/play/temp/quick-scripts/src/__qc_index__.js":"2021-01-22T03:00:25.521Z","/Users/limingzhe/Documents/workspace/pro_hw/pro_cocos/cc_mz_003/play/temp/quick-scripts/src/assets/mz_003/script/util.js":"2021-01-22T03:00:25.500Z","/Users/limingzhe/Documents/workspace/pro_hw/pro_cocos/cc_mz_003/play/temp/quick-scripts/src/assets/mz_003/script/scene.js":"2021-01-22T03:00:25.499Z","/Users/limingzhe/Documents/workspace/pro_hw/pro_cocos/cc_mz_003/play/temp/quick-scripts/src/assets/mz_003/prefab/bgBottom.js":"2021-01-22T03:00:25.501Z"}} {"version":"1.0.8","stats":{"/Users/limingzhe/Documents/workspace/pro_hw/pro_cocos/cc_mz_003/play/temp/quick-scripts/src/__qc_index__.js":"2021-01-22T05:43:50.135Z","/Users/limingzhe/Documents/workspace/pro_hw/pro_cocos/cc_mz_003/play/temp/quick-scripts/src/assets/mz_003/prefab/bgBottom.js":"2021-01-22T05:43:50.111Z","/Users/limingzhe/Documents/workspace/pro_hw/pro_cocos/cc_mz_003/play/temp/quick-scripts/src/assets/mz_003/script/scene.js":"2021-01-22T05:43:50.108Z","/Users/limingzhe/Documents/workspace/pro_hw/pro_cocos/cc_mz_003/play/temp/quick-scripts/src/assets/mz_003/script/util.js":"2021-01-22T05:43:50.109Z","/Users/limingzhe/Documents/workspace/pro_hw/pro_cocos/cc_mz_003/play/temp/quick-scripts/src/assets/mz_003/script/runtime.js":"2021-01-22T05:43:50.110Z"}}
(function () { (function () {
var scripts = [{"deps":{"./assets/mz_003/script/runtime":4,"./assets/mz_003/prefab/bgBottom":3,"./assets/mz_003/script/util":1,"./assets/mz_003/script/scene":2},"path":"preview-scripts/__qc_index__.js"},{"deps":{},"path":"preview-scripts/assets/mz_003/script/util.js"},{"deps":{"./util":1},"path":"preview-scripts/assets/mz_003/script/scene.js"},{"deps":{"../script/util":1},"path":"preview-scripts/assets/mz_003/prefab/bgBottom.js"},{"deps":{},"path":"preview-scripts/assets/mz_003/script/runtime.js"}]; var scripts = [{"deps":{"./assets/mz_003/script/runtime":4,"./assets/mz_003/script/util":1,"./assets/mz_003/prefab/bgBottom":3,"./assets/mz_003/script/scene":2},"path":"preview-scripts/__qc_index__.js"},{"deps":{},"path":"preview-scripts/assets/mz_003/script/util.js"},{"deps":{"./util":1},"path":"preview-scripts/assets/mz_003/script/scene.js"},{"deps":{"../script/util":1},"path":"preview-scripts/assets/mz_003/prefab/bgBottom.js"},{"deps":{},"path":"preview-scripts/assets/mz_003/script/runtime.js"}];
var entries = ["preview-scripts/__qc_index__.js"]; var entries = ["preview-scripts/__qc_index__.js"];
var bundleScript = 'preview-scripts/__qc_bundle__.js'; var bundleScript = 'preview-scripts/__qc_bundle__.js';
......
{"version":3,"sources":["assets/mz_003/script/runtime.js"],"names":["global","Op","Object","prototype","hasOwn","hasOwnProperty","undefined","$Symbol","Symbol","iteratorSymbol","iterator","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","inModule","module","runtime","regeneratorRuntime","exports","wrap","innerFn","outerFn","self","tryLocsList","protoGenerator","Generator","generator","create","context","Context","_invoke","makeInvokeMethod","tryCatch","fn","obj","arg","type","call","err","GenStateSuspendedStart","GenStateSuspendedYield","GenStateExecuting","GenStateCompleted","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","constructor","displayName","defineIteratorMethods","forEach","method","isGeneratorFunction","genFun","ctor","name","mark","setPrototypeOf","__proto__","awrap","__await","AsyncIterator","invoke","resolve","reject","record","result","value","Promise","then","unwrapped","previousPromise","enqueue","callInvokeWithMethodAndArg","async","iter","next","done","state","Error","doneResult","delegate","delegateResult","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","TypeError","info","resultName","nextLoc","toString","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","keys","object","key","reverse","length","pop","iterable","iteratorMethod","isNaN","i","skipTempReset","prev","charAt","slice","stop","rootEntry","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","thrown","delegateYield","Function"],"mappings":";;;;;;AAAA;;;;;;AAOA,CAAE,UAAUA,MAAV,EAAkB;AAChB;;AAEA,MAAIC,EAAE,GAAGC,MAAM,CAACC,SAAhB;AACA,MAAIC,MAAM,GAAGH,EAAE,CAACI,cAAhB;AACA,MAAIC,SAAJ,CALgB,CAKD;;AACf,MAAIC,OAAO,GAAG,OAAOC,MAAP,KAAkB,UAAlB,GAA+BA,MAA/B,GAAwC,EAAtD;AACA,MAAIC,cAAc,GAAGF,OAAO,CAACG,QAAR,IAAoB,YAAzC;AACA,MAAIC,mBAAmB,GAAGJ,OAAO,CAACK,aAAR,IAAyB,iBAAnD;AACA,MAAIC,iBAAiB,GAAGN,OAAO,CAACO,WAAR,IAAuB,eAA/C;AAEA,MAAIC,QAAQ,GAAG,OAAOC,MAAP,KAAkB,QAAjC;AACA,MAAIC,OAAO,GAAGjB,MAAM,CAACkB,kB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L,CAAgBS,MAAhB,GAAyB,CAAtC,EAAyCK,CAAC,IAAI,CAA9C,EAAiD,EAAEA,CAAnD,EAAsD;AAClD,YAAInB,KAAK,GAAG,KAAKK,UAAL,CAAgBc,CAAhB,CAAZ;;AACA,YAAInB,KAAK,CAACC,MAAN,KAAiBA,MAArB,EAA6B;AACzB,cAAI/B,MAAM,GAAG8B,KAAK,CAACQ,UAAnB;;AACA,cAAItC,MAAM,CAAClC,IAAP,KAAgB,OAApB,EAA6B;AACzB,gBAAIqG,MAAM,GAAGnE,MAAM,CAACnC,GAApB;AACAwE,YAAAA,aAAa,CAACP,KAAD,CAAb;AACH;;AACD,iBAAOqC,MAAP;AACH;AACJ,OAXsB,CAavB;AACA;;;AACA,YAAM,IAAIrD,KAAJ,CAAU,uBAAV,CAAN;AACH,KArLe;AAuLhBsD,IAAAA,aAAa,EAAE,uBAAUtB,QAAV,EAAoBrB,UAApB,EAAgCC,OAAhC,EAAyC;AACpD,WAAKV,QAAL,GAAgB;AACZ7E,QAAAA,QAAQ,EAAEyC,MAAM,CAACkE,QAAD,CADJ;AAEZrB,QAAAA,UAAU,EAAEA,UAFA;AAGZC,QAAAA,OAAO,EAAEA;AAHG,OAAhB;;AAMA,UAAI,KAAKxC,MAAL,KAAgB,MAApB,EAA4B;AACxB;AACA;AACA,aAAKrB,GAAL,GAAW9B,SAAX;AACH;;AAED,aAAOsC,gBAAP;AACH;AArMe,GAApB;AAuMH,CA1sBA,EA2sBG;AACA;AACA;AACC,YAAY;AAAE,SAAO,IAAP;AAAa,CAA5B,MAAmCgG,QAAQ,CAAC,aAAD,CAAR,EA9sBtC,CAAD","sourceRoot":"/","sourcesContent":["/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n!(function (global) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n var inModule = typeof module === \"object\";\n var runtime = global.regeneratorRuntime;\n if (runtime) {\n if (inModule) {\n // If regeneratorRuntime is defined globally and we're in a module,\n // make the exports object identical to regeneratorRuntime.\n module.exports = runtime;\n }\n // Don't bother evaluating the rest of this file if the runtime was\n // already defined globally.\n return;\n }\n\n // Define the runtime globally (as expected by generated code) as either\n // module.exports (if we're in a module) or a new, empty object.\n runtime = global.regeneratorRuntime = inModule ? module.exports : {};\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n runtime.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() { }\n function GeneratorFunction() { }\n function GeneratorFunctionPrototype() { }\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n IteratorPrototype[iteratorSymbol] = function () {\n return this;\n };\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;\n GeneratorFunctionPrototype.constructor = GeneratorFunction;\n GeneratorFunctionPrototype[toStringTagSymbol] =\n GeneratorFunction.displayName = \"GeneratorFunction\";\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function (method) {\n prototype[method] = function (arg) {\n return this._invoke(method, arg);\n };\n });\n }\n\n runtime.isGeneratorFunction = function (genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n runtime.mark = function (genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n if (!(toStringTagSymbol in genFun)) {\n genFun[toStringTagSymbol] = \"GeneratorFunction\";\n }\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n runtime.awrap = function (arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return Promise.resolve(value.__await).then(function (value) {\n invoke(\"next\", value, resolve, reject);\n }, function (err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return Promise.resolve(value).then(function (unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration. If the Promise is rejected, however, the\n // result for this iteration will be rejected with the same\n // reason. Note that rejections of yielded Promises are not\n // thrown back into the generator function, as is the case\n // when an awaited Promise is rejected. This difference in\n // behavior between yield and await is important, because it\n // allows the consumer to decide what to do with the yielded\n // rejection (swallow it and continue, manually .throw it back\n // into the generator, abandon iteration, whatever). With\n // await, by contrast, there is no opportunity to examine the\n // rejection reason outside the generator function, so the\n // only option is to throw it from the await expression, and\n // let the generator function handle the exception.\n result.value = unwrapped;\n resolve(result);\n }, reject);\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new Promise(function (resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n AsyncIterator.prototype[asyncIteratorSymbol] = function () {\n return this;\n };\n runtime.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n runtime.async = function (innerFn, outerFn, self, tryLocsList) {\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList)\n );\n\n return runtime.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function (result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n if (delegate.iterator.return) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (!info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n Gp[toStringTagSymbol] = \"Generator\";\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n Gp[iteratorSymbol] = function () {\n return this;\n };\n\n Gp.toString = function () {\n return \"[object Generator]\";\n };\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n runtime.keys = function (object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n runtime.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function (skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function () {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function (exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !!caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function (type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function (record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function (finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function (tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function (iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n})(\n // In sloppy mode, unbound `this` refers to the global object, fallback to\n // Function constructor if we're in global strict mode. That is sadly a form\n // of indirect eval which violates Content Security Policy.\n (function () { return this })() || Function(\"return this\")()\n);\n"]}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
{"version":3,"sources":["assets/mz_003/script/util.js"],"names":["getPosByAngle","angle","len","radian","Math","PI","x","sin","y","cos","getAngleByPos","px","py","mx","my","abs","z","sqrt","pow","radina","acos","floor","exchangeNodePos","baseNode","targetNode","convertToNodeSpaceAR","_parent","convertToWorldSpaceAR","cc","v2","RandomInt","a","b","max","min","random","randomSortByArr","arr","newArr","tmpArr","concat","length","randomIndex","push","splice","setSprNodeMaxLen","sprNode","maxW","maxH","sx","width","sy","height","s","scale","round","localPosTolocalPos","worldPos","parent","localPos","playAudio","clip","volume","Promise","resolve","reject","id","audioEngine","play","setFinishCallback","e"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAO,SAASA,aAAT,CAAuBC,KAAvB,EAA8BC,GAA9B,EAAmC;AAExC,MAAMC,MAAM,GAAGF,KAAK,GAAGG,I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C,OAAJ,CAAY,UAACC,OAAD,EAAUC,MAAV,EAAqB;AACtC,kBAAI;AACF,oBAAI,CAACJ,IAAL,EAAW;AACTG,kBAAAA,OAAO;AACP;AACD;;AACD,oBAAME,EAAE,GAAGtC,EAAE,CAACuC,WAAH,CAAeC,IAAf,CAAoBP,IAApB,EAA0B,KAA1B,EAAiCC,MAAjC,CAAX;AACAlC,gBAAAA,EAAE,CAACuC,WAAH,CAAeE,iBAAf,CAAiCH,EAAjC,EAAqC,YAAM;AACzCF,kBAAAA,OAAO;AACR,iBAFD;AAGD,eATD,CASE,OAAOM,CAAP,EAAU;AACVL,gBAAAA,MAAM,CAACK,CAAD,CAAN;AACD;AACF,aAbM,CADF;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA","sourceRoot":"/","sourcesContent":["export function getPosByAngle(angle, len) {\n\n const radian = angle * Math.PI / 180;\n const x = Math.sin(radian) * len;\n const y = Math.cos(radian) * len;\n\n return { x, y };\n\n}\n\nexport function getAngleByPos(px, py, mx, my) {\n\n const x = Math.abs(px - mx);\n const y = Math.abs(py - my);\n\n const z = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2));\n const cos = y / z;\n const radina = Math.acos(cos); // 用反三角函数求弧度\n let angle = Math.floor(180 / (Math.PI / radina) * 100) / 100; // 将弧度转换成角度\n\n if (mx > px && my > py) {// 鼠标在第四象限\n angle = 180 - angle;\n }\n if (mx === px && my > py) {// 鼠标在y轴负方向上\n angle = 180;\n }\n if (mx > px && my === py) {// 鼠标在x轴正方向上\n angle = 90;\n }\n if (mx < px && my > py) {// 鼠标在第三象限\n angle = 180 + angle;\n }\n if (mx < px && my === py) {// 鼠标在x轴负方向\n angle = 270;\n }\n if (mx < px && my < py) {// 鼠标在第二象限\n angle = 360 - angle;\n }\n\n // console.log('angle: ', angle);\n return angle;\n\n}\n\nexport function exchangeNodePos(baseNode, targetNode) {\n return baseNode.convertToNodeSpaceAR(targetNode._parent.convertToWorldSpaceAR(cc.v2(targetNode.x, targetNode.y)));\n}\n\nexport function RandomInt(a, b = 0) {\n let max = Math.max(a, b);\n let min = Math.min(a, b);\n return Math.floor(Math.random() * (max - min) + min);\n}\n\nexport function randomSortByArr(arr) {\n const newArr = [];\n const tmpArr = arr.concat();\n while (tmpArr.length > 0) {\n const randomIndex = Math.floor(tmpArr.length * Math.random());\n newArr.push(tmpArr[randomIndex]);\n tmpArr.splice(randomIndex, 1);\n }\n return newArr;\n}\n\nexport function setSprNodeMaxLen(sprNode, maxW, maxH) {\n const sx = maxW / sprNode.width;\n const sy = maxH / sprNode.height;\n const s = Math.min(sx, sy);\n sprNode.scale = Math.round(s * 1000) / 1000;\n}\n\n\nexport function localPosTolocalPos(baseNode, targetNode) {\n\tconst worldPos = targetNode.parent.convertToWorldSpaceAR(cc.v2(targetNode.x, targetNode.y));\n\tconst localPos = baseNode.parent.convertToNodeSpaceAR(cc.v2(worldPos.x, worldPos.y));\n\treturn localPos;\n}\n\n\nexport async function playAudio(clip, volume = 1) {\n return new Promise((resolve, reject) => {\n try {\n if (!clip) {\n resolve();\n return;\n }\n const id = cc.audioEngine.play(clip, false, volume);\n cc.audioEngine.setFinishCallback(id, () => {\n resolve();\n });\n } catch (e) {\n reject(e);\n }\n });\n}\n\n"]} {"version":3,"sources":["assets/mz_003/script/util.js"],"names":["getPosByAngle","angle","len","radian","Math","PI","x","sin","y","cos","getAngleByPos","px","py","mx","my","abs","z","sqrt","pow","radina","acos","floor","exchangeNodePos","baseNode","targetNode","convertToNodeSpaceAR","_parent","convertToWorldSpaceAR","cc","v2","RandomInt","a","b","max","min","random","randomSortByArr","arr","newArr","tmpArr","concat","length","randomIndex","push","splice","setSprNodeMaxLen","sprNode","maxW","maxH","sx","width","sy","height","s","scale","round","localPosTolocalPos","worldPos","parent","localPos","getScaleRateBy2Node","maxFlag","worldRect1","getBoundingBoxToWorld","worldRect2","asyncCCLoad","resources","Promise","resolve","reject","loader","load","error","assets","e","loadDragonBones","image","atlas","ske","callback","all","url","type","then","texture","atlasJson","dragonBonesJson","console","log","playAudio","clip","volume","id","audioEngine","play","setFinishCallback","asyncDelay","time","setTimeout","FireworkSettings","nodeList","pos","side","range","number","scalseRange","copy","firework","showFireworks","fireworkSettings","Array","fill","forEach","_","i","rabbonNode","Node","node","instantiate","active","rate","asyncTweenBy","easing","tween","by","start","to","rabbonFall","union","repeatForever","delay","opacity","call","stopAllActions","offsetX","asyncTweenTo","duration","obj","ease","undefined","showTrebleFirework","rabbonList","middle","left","right"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAO,SAASA,aAAT,CAAuBC,KAAvB,EAA8BC,GAA9B,EAAmC;AAExC,MAAMC,MAAM,GAAGF,KAAK,GAAGG,IAAI,CAACC,EAAb,GAAkB,GAAjC;AACA,MAAMC,CAAC,GAAGF,IAAI,CAACG,GAAL,CAASJ,MAAT,IAAmBD,GAA7B;AACA,MAAMM,CAAC,GAAGJ,IAAI,CAACK,GAAL,CAASN,MAAT,IAAmBD,GAA7B;AAEA,SAAO;AAAEI,IAAAA,CAAC,EAADA,CAAF;AAAKE,IAAAA,CAAC,EAADA;AAAL,GAAP;AAED;;AAEM,SAASE,aAAT,CAAuBC,EAAvB,EAA2BC,EAA3B,EAA+BC,EAA/B,EAAmCC,EAAnC,EAAuC;AAE5C,MAAMR,CAAC,GAAGF,IAAI,CAACW,GAAL,CAASJ,EAAE,GAAGE,EAAd,CAAV;AACA,MAAML,CAAC,GAAGJ,IAAI,CAACW,GAAL,CAASH,EAAE,GAAGE,EAAd,CAAV;AAEA,MAAME,CAAC,GAAGZ,IAAI,CAACa,IAAL,CAAUb,IAAI,CAACc,GAAL,CAASZ,CAAT,EAAY,CAAZ,IAAiBF,IAAI,CAACc,GAAL,CAASV,CAAT,EAAY,CAAZ,CAA3B,CAAV;AACA,MAAMC,GAAG,GAAGD,CAAC,GAAGQ,CAAhB;AACA,MAAMG,MAAM,GAAGf,IAAI,CAACgB,IAAL,CAAUX,GAAV,CAAf,CAP4C,CAO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;AACAmH,EAAAA,KAAK,CAAC1C,IAAN,GAAa1E,EAAE,CAACC,EAAH,CAAM,CAAC,GAAP,EAAY,IAAZ,CAAb;AAEA+E,EAAAA,aAAa,CAACkC,MAAD,CAAb;AACAlC,EAAAA,aAAa,CAACmC,IAAD,CAAb;AACAnC,EAAAA,aAAa,CAACoC,KAAD,CAAb;AACD","sourceRoot":"/","sourcesContent":["export function getPosByAngle(angle, len) {\n\n const radian = angle * Math.PI / 180;\n const x = Math.sin(radian) * len;\n const y = Math.cos(radian) * len;\n\n return { x, y };\n\n}\n\nexport function getAngleByPos(px, py, mx, my) {\n\n const x = Math.abs(px - mx);\n const y = Math.abs(py - my);\n\n const z = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2));\n const cos = y / z;\n const radina = Math.acos(cos); // 用反三角函数求弧度\n let angle = Math.floor(180 / (Math.PI / radina) * 100) / 100; // 将弧度转换成角度\n\n if (mx > px && my > py) {// 鼠标在第四象限\n angle = 180 - angle;\n }\n if (mx === px && my > py) {// 鼠标在y轴负方向上\n angle = 180;\n }\n if (mx > px && my === py) {// 鼠标在x轴正方向上\n angle = 90;\n }\n if (mx < px && my > py) {// 鼠标在第三象限\n angle = 180 + angle;\n }\n if (mx < px && my === py) {// 鼠标在x轴负方向\n angle = 270;\n }\n if (mx < px && my < py) {// 鼠标在第二象限\n angle = 360 - angle;\n }\n\n // console.log('angle: ', angle);\n return angle;\n\n}\n\nexport function exchangeNodePos(baseNode, targetNode) {\n return baseNode.convertToNodeSpaceAR(targetNode._parent.convertToWorldSpaceAR(cc.v2(targetNode.x, targetNode.y)));\n}\n\nexport function RandomInt(a, b = 0) {\n let max = Math.max(a, b);\n let min = Math.min(a, b);\n return Math.floor(Math.random() * (max - min) + min);\n}\n\nexport function randomSortByArr(arr) {\n const newArr = [];\n const tmpArr = arr.concat();\n while (tmpArr.length > 0) {\n const randomIndex = Math.floor(tmpArr.length * Math.random());\n newArr.push(tmpArr[randomIndex]);\n tmpArr.splice(randomIndex, 1);\n }\n return newArr;\n}\n\nexport function setSprNodeMaxLen(sprNode, maxW, maxH) {\n const sx = maxW / sprNode.width;\n const sy = maxH / sprNode.height;\n const s = Math.min(sx, sy);\n sprNode.scale = Math.round(s * 1000) / 1000;\n}\n\nexport function localPosTolocalPos(baseNode, targetNode) {\n const worldPos = targetNode.parent.convertToWorldSpaceAR(cc.v2(targetNode.x, targetNode.y));\n const localPos = baseNode.parent.convertToNodeSpaceAR(cc.v2(worldPos.x, worldPos.y));\n return localPos;\n}\n\nexport function getScaleRateBy2Node(baseNode, targetNode, maxFlag = true) {\n const worldRect1 = targetNode.getBoundingBoxToWorld();\n const worldRect2 = baseNode.getBoundingBoxToWorld();\n\n const sx = worldRect1.width / worldRect2.width;\n const sy = worldRect1.height / worldRect2.height;\n if (maxFlag) {\n return Math.max(sx, sy);\n } else {\n return Math.min(sx, sy);\n }\n}\n\nexport function asyncCCLoad(resources) {\n return new Promise((resolve, reject) => {\n try {\n cc.loader.load(resources, (error, assets) => {\n resolve(assets)\n });\n } catch (e) {\n reject(e);\n }\n });\n}\n\nexport function loadDragonBones(image, atlas, ske, callback) {\n Promise.all([\n asyncCCLoad(image),\n asyncCCLoad({ url: atlas, type: 'txt' }),\n asyncCCLoad({ url: ske, type: 'txt' })\n ]).then(([texture, atlasJson, dragonBonesJson]) => {\n callback(texture, atlasJson, dragonBonesJson);\n }).catch((e) => {\n console.log(e);\n });\n}\n\nexport async function playAudio(clip, volume = 1) {\n return new Promise((resolve, reject) => {\n try {\n if (!clip) {\n resolve();\n return;\n }\n const id = cc.audioEngine.play(clip, false, volume);\n cc.audioEngine.setFinishCallback(id, () => {\n resolve();\n });\n } catch (e) {\n reject(e);\n }\n });\n}\n\nexport async function asyncDelay(time) {\n return new Promise((resolve, reject) => {\n try {\n setTimeout(() => {\n resolve();\n }, time * 1000);\n } catch (e) {\n reject(e);\n }\n })\n}\n\nexport class FireworkSettings {\n baseNode; // 父节点\n nodeList; // 火花节点的array\n pos; // 发射点\n side; // 发射方向\n range; // 扩散范围\n number; // 发射数量\n scalseRange; // 缩放范围\n constructor(baseNode, nodeList,\n pos = cc.v2(0, 0),\n side = cc.v2(0, 100),\n range = 50,\n number = 100,\n scalseRange = 0\n ) {\n this.baseNode = baseNode;\n this.nodeList = nodeList;\n this.pos = pos;\n this.side = side;\n this.range = range;\n this.number = number;\n this.scalseRange = scalseRange;\n }\n\n static copy(firework) {\n return new FireworkSettings(\n firework.baseNode,\n firework.nodeList,\n firework.pos,\n firework.side,\n firework.range,\n firework.number,\n );\n }\n}\n\nexport async function showFireworks(fireworkSettings) {\n const { baseNode, nodeList, pos, side, range, number, scalseRange } = fireworkSettings;\n new Array(number).fill(' ').forEach(async (_, i) => {\n\n let rabbonNode = new cc.Node();\n rabbonNode.parent = baseNode;\n rabbonNode.x = pos.x;\n rabbonNode.y = pos.y;\n rabbonNode.angle = 60 * Math.random() - 30;\n\n let node = cc.instantiate(nodeList[RandomInt(nodeList.length)]);\n node.parent = rabbonNode;\n node.active = true;\n node.x = 0;\n node.y = 0;\n node.angle = 0;\n node.scale = (Math.random() - 0.5) * scalseRange + 1;\n\n const rate = Math.random();\n const angle = Math.PI * (Math.random() * 2 - 1);\n\n await asyncTweenBy(rabbonNode, 0.3, {\n x: side.x * rate + Math.cos(angle) * range * rate,\n y: side.y * rate + Math.sin(angle) * range * rate\n }, {\n easing: 'quadIn'\n });\n\n cc.tween(rabbonNode)\n .by(8, { y: -2000 })\n .start();\n\n cc.tween(rabbonNode)\n .to(5, { scale: (Math.random() - 0.5) * scalseRange + 1 })\n .start();\n\n rabbonFall(rabbonNode);\n\n await asyncDelay(Math.random());\n cc.tween(node)\n .by(0.15, { x: -10, angle: -10 })\n .by(0.3, { x: 20, angle: 20 })\n .by(0.15, { x: -10, angle: -10 })\n .union()\n .repeatForever()\n .start();\n\n cc.tween(rabbonNode)\n .delay(5)\n .to(0.3, { opacity: 0 })\n .call(() => {\n node.stopAllActions();\n node.active = false;\n node.parent = null;\n node = null;\n })\n .start();\n });\n}\n\nasync function rabbonFall(node) {\n const time = 1 + Math.random();\n const offsetX = RandomInt(-200, 200) * time;\n await asyncTweenBy(node, time, { x: offsetX, angle: offsetX * 60 / 200 });\n rabbonFall(node);\n}\n\n\nexport async function asyncTweenTo(node, duration, obj, ease = undefined) {\n return new Promise((resolve, reject) => {\n try {\n cc.tween(node)\n .to(duration, obj, ease)\n .call(() => {\n resolve();\n })\n .start();\n } catch (e) {\n reject(e);\n }\n });\n}\n\nexport async function asyncTweenBy(node, duration, obj, ease = undefined) {\n return new Promise((resolve, reject) => {\n try {\n cc.tween(node)\n .by(duration, obj, ease)\n .call(() => {\n resolve();\n })\n .start();\n } catch (e) {\n reject(e);\n }\n });\n}\n\nexport function showTrebleFirework(baseNode, rabbonList) {\n const middle = new FireworkSettings(baseNode, rabbonList);\n middle.pos = cc.v2(0, -400);\n middle.side = cc.v2(0, 1000);\n middle.range = 200;\n middle.number = 100;\n middle.scalseRange = 0.4;\n\n const left = FireworkSettings.copy(middle);\n left.pos = cc.v2(-600, -400);\n left.side = cc.v2(200, 1000);\n\n const right = FireworkSettings.copy(middle);\n right.pos = cc.v2(600, -400);\n right.side = cc.v2(-200, 1000);\n\n showFireworks(middle);\n showFireworks(left);\n showFireworks(right);\n}\n"]}
\ No newline at end of file \ No newline at end of file
No preview for this file type
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
"paths": {}, "paths": {},
"uuids": [ "uuids": [
"02delMVqdBD70a/HSD99FK", "02delMVqdBD70a/HSD99FK",
"06fkXEvjhP0IJ0D5JwMAKt",
"07NeQx+mFJuaO0iSf/XOf0",
"10jEphdBFOu6ZZQmSeBs3z", "10jEphdBFOu6ZZQmSeBs3z",
"1ejl+z0StELb2mEvEiZ6vl", "1ejl+z0StELb2mEvEiZ6vl",
"2cft3BKilLWYRehZ1Q6yQk", "2cft3BKilLWYRehZ1Q6yQk",
...@@ -22,7 +24,9 @@ ...@@ -22,7 +24,9 @@
"a61QWNTm1PcKeDbmxqviuz", "a61QWNTm1PcKeDbmxqviuz",
"a8ok1LbyZDWKL7JK1OVhjE", "a8ok1LbyZDWKL7JK1OVhjE",
"abBAGcwMFDC6xD0tMtsFUn", "abBAGcwMFDC6xD0tMtsFUn",
"abhz7a/7VG4o5XsIkgMNPf",
"b8nYBWqRFFm6W9ONFNUD7C", "b8nYBWqRFFm6W9ONFNUD7C",
"c2jiwBCkpLKLROfPfGjwzP",
"c38YYUxxZPH4mfCfBzrGxD", "c38YYUxxZPH4mfCfBzrGxD",
"c8Gskh2AlF1Zhou/3P22sh", "c8Gskh2AlF1Zhou/3P22sh",
"d3bdiboAJNxoOD6lNDQYMO", "d3bdiboAJNxoOD6lNDQYMO",
...@@ -44,7 +48,7 @@ ...@@ -44,7 +48,7 @@
"internal" "internal"
], ],
"packs": { "packs": {
"04d1e4274": [ "062fc75bb": [
"1ejl+z0StELb2mEvEiZ6vl", "1ejl+z0StELb2mEvEiZ6vl",
"2cft3BKilLWYRehZ1Q6yQk", "2cft3BKilLWYRehZ1Q6yQk",
"35MdfsfclJvb6Ukmd9ybfA", "35MdfsfclJvb6Ukmd9ybfA",
...@@ -54,10 +58,13 @@ ...@@ -54,10 +58,13 @@
"7fzFsTopZEqKXU6N7lZOLJ", "7fzFsTopZEqKXU6N7lZOLJ",
"8bAJ+sKehJ1J1k2EgZ9QAz", "8bAJ+sKehJ1J1k2EgZ9QAz",
"a61QWNTm1PcKeDbmxqviuz", "a61QWNTm1PcKeDbmxqviuz",
"abhz7a/7VG4o5XsIkgMNPf",
"c8Gskh2AlF1Zhou/3P22sh", "c8Gskh2AlF1Zhou/3P22sh",
"d8HsitJHxOYqo801xBk8ev" "d8HsitJHxOYqo801xBk8ev"
], ],
"084ae3525": [ "06434a41e": [
"06fkXEvjhP0IJ0D5JwMAKt",
"07NeQx+mFJuaO0iSf/XOf0",
"10jEphdBFOu6ZZQmSeBs3z", "10jEphdBFOu6ZZQmSeBs3z",
"58amK658xERYqfswqnS0cS", "58amK658xERYqfswqnS0cS",
"715WE7gFNIGbQtzftIwBVD", "715WE7gFNIGbQtzftIwBVD",
...@@ -70,6 +77,7 @@ ...@@ -70,6 +77,7 @@
"a8ok1LbyZDWKL7JK1OVhjE", "a8ok1LbyZDWKL7JK1OVhjE",
"abBAGcwMFDC6xD0tMtsFUn", "abBAGcwMFDC6xD0tMtsFUn",
"b8nYBWqRFFm6W9ONFNUD7C", "b8nYBWqRFFm6W9ONFNUD7C",
"c2jiwBCkpLKLROfPfGjwzP",
"c38YYUxxZPH4mfCfBzrGxD", "c38YYUxxZPH4mfCfBzrGxD",
"d3bdiboAJNxoOD6lNDQYMO", "d3bdiboAJNxoOD6lNDQYMO",
"d9dporjeBOSIy7GiRYxWEt", "d9dporjeBOSIy7GiRYxWEt",
......
{
"type": "cc.Texture2D",
"data": "0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|1,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|1,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1|0,9729,9729,33071,33071,0,0,1"
}
\ No newline at end of file
[
{
"__type__": "cc.SpriteFrame",
"content": {
"name": "white_bg",
"texture": "47IBQCBJVA+JgCZj8hhYJe",
"rect": [
0,
0,
1280,
640
],
"offset": [
0,
0
],
"originalSize": [
1280,
640
],
"capInsets": [
0,
0,
0,
0
]
}
},
{
"__type__": "cc.SpriteFrame",
"content": {
"name": "bg",
"texture": "35MdfsfclJvb6Ukmd9ybfA",
"rect": [
0,
0,
715,
715
],
"offset": [
0,
0
],
"originalSize": [
715,
715
],
"capInsets": [
0,
0,
0,
0
]
}
},
{
"__type__": "cc.SpriteFrame",
"content": {
"name": "circle_bg",
"texture": "2cft3BKilLWYRehZ1Q6yQk",
"rect": [
0,
0,
620,
630
],
"offset": [
0,
0
],
"originalSize": [
620,
630
],
"capInsets": [
0,
0,
0,
0
]
}
},
{
"__type__": "cc.SpriteFrame",
"content": {
"name": "page_down",
"texture": "c8Gskh2AlF1Zhou/3P22sh",
"rect": [
0,
0,
22,
23
],
"offset": [
0,
0
],
"originalSize": [
22,
23
],
"capInsets": [
0,
0,
0,
0
]
}
},
{
"__type__": "cc.TTFFont",
"_name": "KGMissKindyMarker",
"_native": "KGMissKindyMarker.ttf"
},
{
"__type__": "cc.SpriteFrame",
"content": {
"name": "page_up",
"texture": "8bAJ+sKehJ1J1k2EgZ9QAz",
"rect": [
0,
0,
22,
23
],
"offset": [
0,
0
],
"originalSize": [
22,
23
],
"capInsets": [
0,
0,
0,
0
]
}
},
[
{
"__type__": "cc.Prefab",
"_name": "bgBottom",
"data": {
"__id__": 1
}
},
{
"__type__": "cc.Node",
"_name": "bgBottom",
"_children": [
{
"__id__": 2
},
{
"__id__": 3
},
{
"__id__": 4
},
{
"__id__": 5
},
{
"__id__": 7
},
{
"__id__": 9
}
],
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 1
},
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "a8ok1LbyZDWKL7JK1OVhjE"
},
"_sizeMode": 0
},
{
"__type__": "ff0e9h++NlKOLbC+Bu/RH2+",
"node": {
"__id__": 1
}
}
],
"_prefab": {
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "99k7fI5ORLSIkinFX0I72z"
},
"fileId": "b4DhAnBsxPoJbGH3BcGt5i"
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 132
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-360,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "btn",
"_parent": {
"__id__": 1
},
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 2
},
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "a2MjXRFdtLlYQ5ouAFv/+R"
},
"_sizeMode": 0
},
{
"__type__": "cc.Button",
"node": {
"__id__": 2
}
}
],
"_prefab": {
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "99k7fI5ORLSIkinFX0I72z"
},
"fileId": "084fApz9JAurWaytg+oJAF"
},
"_opacity": 0,
"_contentSize": {
"__type__": "cc.Size",
"width": 70,
"height": 50
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
1.55,
33.325,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "arrowUp",
"_parent": {
"__id__": 1
},
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 3
},
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "e5N4U/fdJDP7EIQ6GrCaVv"
}
}
],
"_prefab": {
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "99k7fI5ORLSIkinFX0I72z"
},
"fileId": "edRAfQIkFF1YKIsDN8VNAl"
},
"_contentSize": {
"__type__": "cc.Size",
"width": 24,
"height": 18
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
33,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "arrowDown",
"_parent": {
"__id__": 1
},
"_active": false,
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 4
},
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "b8nYBWqRFFm6W9ONFNUD7C"
}
}
],
"_prefab": {
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "99k7fI5ORLSIkinFX0I72z"
},
"fileId": "d7byJPt2FE3KHHfVE1bP90"
},
"_contentSize": {
"__type__": "cc.Size",
"width": 24,
"height": 18
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
33,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "pageUp",
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 6
}
],
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 5
},
"_enabled": false,
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "9bvaMerUlDyary99mJa6xp"
},
"_type": 1,
"_sizeMode": 0
},
{
"__type__": "cc.Button",
"node": {
"__id__": 5
}
}
],
"_prefab": {
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "99k7fI5ORLSIkinFX0I72z"
},
"fileId": "a9Fom8DbRPSZOeMw0Jqr8X"
},
"_contentSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
618.054,
-2.429,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "spr",
"_parent": {
"__id__": 5
},
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 6
},
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "8fjHmUGH5DnrGqgruYvYar"
}
}
],
"_prefab": {
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "99k7fI5ORLSIkinFX0I72z"
},
"fileId": "7aCx+Zp2ROf6cAIGRgh4ap"
},
"_contentSize": {
"__type__": "cc.Size",
"width": 22,
"height": 23
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-3,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "pageDown",
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 8
}
],
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 7
},
"_enabled": false,
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "9bvaMerUlDyary99mJa6xp"
},
"_type": 1,
"_sizeMode": 0
},
{
"__type__": "cc.Layout",
"node": {
"__id__": 7
},
"_enabled": false,
"_layoutSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
}
},
{
"__type__": "cc.Button",
"node": {
"__id__": 7
}
}
],
"_prefab": {
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "99k7fI5ORLSIkinFX0I72z"
},
"fileId": "295OcbmFNPGKH4Ej0r/d1D"
},
"_contentSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
618.054,
-43.563,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "spr",
"_parent": {
"__id__": 7
},
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 8
},
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "82nQe40gpGGLBfTRrGc7FO"
}
}
],
"_prefab": {
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "99k7fI5ORLSIkinFX0I72z"
},
"fileId": "acNVn9rVVHIrqRc23p2mf8"
},
"_contentSize": {
"__type__": "cc.Size",
"width": 22,
"height": 23
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
3,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "font",
"_parent": {
"__id__": 1
},
"_active": false,
"_components": [
{
"__type__": "cc.Label",
"node": {
"__id__": 9
},
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_useOriginalSize": false,
"_string": "Label",
"_N$string": "Label",
"_N$file": {
"__uuid__": "8e8ut3kpRBhpKmX4dq0oBB"
},
"_isSystemFontUsed": false,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1
}
],
"_prefab": {
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "99k7fI5ORLSIkinFX0I72z"
},
"fileId": "352OaAKCxOMYj+KGjjLk/4"
},
"_contentSize": {
"__type__": "cc.Size",
"width": 122.85,
"height": 50.4
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
}
}
],
{
"__type__": "cc.SpriteFrame",
"content": {
"name": "default_panel",
"texture": "d8HsitJHxOYqo801xBk8ev",
"rect": [
0,
0,
20,
20
],
"offset": [
0,
0
],
"originalSize": [
20,
20
],
"capInsets": [
6,
6,
6,
6
]
}
},
{
"__type__": "cc.SpriteFrame",
"content": {
"name": "default_sprite_splash",
"texture": "02delMVqdBD70a/HSD99FK",
"rect": [
0,
0,
2,
2
],
"offset": [
0,
0
],
"originalSize": [
2,
2
],
"capInsets": [
0,
0,
0,
0
]
}
},
{
"__type__": "cc.SpriteFrame",
"content": {
"name": "bg_bottom",
"texture": "a61QWNTm1PcKeDbmxqviuz",
"rect": [
0,
0,
1280,
132
],
"offset": [
0,
0
],
"originalSize": [
1280,
132
],
"capInsets": [
0,
0,
0,
0
]
}
},
{
"__type__": "cc.SpriteFrame",
"content": {
"name": "bg_points",
"texture": "1ejl+z0StELb2mEvEiZ6vl",
"rect": [
0,
0,
1279,
720
],
"offset": [
-0.5,
0
],
"originalSize": [
1280,
720
],
"capInsets": [
0,
0,
0,
0
]
}
},
{
"__type__": "cc.SpriteFrame",
"content": {
"name": "arrow_down",
"texture": "43dIM3eEVID7q17+J3if3y",
"rect": [
0,
0,
24,
18
],
"offset": [
0,
0
],
"originalSize": [
24,
18
],
"capInsets": [
0,
0,
0,
0
]
}
},
[
{
"__type__": "cc.SceneAsset",
"_name": "scene",
"scene": {
"__id__": 1
},
"asyncLoadAssets": null
},
{
"__type__": "cc.Scene",
"_name": "New Node",
"_children": [
{
"__id__": 2
}
],
"_active": false,
"_anchorPoint": {
"__type__": "cc.Vec2"
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "Canvas",
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 3
},
{
"__id__": 4
},
{
"__id__": 5
},
{
"__id__": 6
},
{
"__id__": 7
},
{
"__id__": 16
}
],
"_components": [
{
"__type__": "cc.Canvas",
"node": {
"__id__": 2
},
"_designResolution": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_fitHeight": false
},
{
"__type__": "cc.Widget",
"node": {
"__id__": 2
},
"_alignFlags": 45
},
{
"__type__": "335fea4K1JFqanJyztUAUJR",
"node": {
"__id__": 2
}
}
],
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
640,
360,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_id": "a5esZu+45LA5mBpvttspPD"
},
{
"__type__": "cc.Node",
"_name": "Main Camera",
"_parent": {
"__id__": 2
},
"_components": [
{
"__type__": "cc.Camera",
"node": {
"__id__": 3
},
"_clearFlags": 7,
"_depth": -1
},
{
"__type__": "cc.Widget",
"node": {
"__id__": 3
},
"_alignFlags": 45,
"_originalWidth": 1280,
"_originalHeight": 720
}
],
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "bg",
"_parent": {
"__id__": 2
},
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 4
},
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "58amK658xERYqfswqnS0cS"
},
"_sizeMode": 0
},
{
"__type__": "cc.Widget",
"node": {
"__id__": 4
},
"alignMode": 2,
"_left": 282.5,
"_top": 2.5,
"_originalWidth": 715,
"_originalHeight": 715
}
],
"_contentSize": {
"__type__": "cc.Size",
"width": 715,
"height": 715
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "bgPoint",
"_parent": {
"__id__": 2
},
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 5
},
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "abBAGcwMFDC6xD0tMtsFUn"
},
"_sizeMode": 0
},
{
"__type__": "cc.Widget",
"node": {
"__id__": 5
},
"_alignFlags": 44,
"_bottom": -10,
"_originalWidth": 1280
}
],
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-10,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "bgWhite",
"_parent": {
"__id__": 2
},
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 6
},
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "10jEphdBFOu6ZZQmSeBs3z"
}
}
],
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 640
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
38.789,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "bgBottom",
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 8
},
{
"__id__": 9
},
{
"__id__": 10
},
{
"__id__": 11
},
{
"__id__": 13
},
{
"__id__": 15
}
],
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 7
},
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "a8ok1LbyZDWKL7JK1OVhjE"
},
"_sizeMode": 0
},
{
"__type__": "ff0e9h++NlKOLbC+Bu/RH2+",
"node": {
"__id__": 7
}
}
],
"_prefab": {
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 7
},
"asset": {
"__uuid__": "99k7fI5ORLSIkinFX0I72z"
},
"fileId": "b4DhAnBsxPoJbGH3BcGt5i"
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 132
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-360,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "btn",
"_parent": {
"__id__": 7
},
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 8
},
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "a2MjXRFdtLlYQ5ouAFv/+R"
},
"_sizeMode": 0
},
{
"__type__": "cc.Button",
"node": {
"__id__": 8
}
}
],
"_prefab": {
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 7
},
"asset": {
"__uuid__": "99k7fI5ORLSIkinFX0I72z"
},
"fileId": "084fApz9JAurWaytg+oJAF"
},
"_opacity": 0,
"_contentSize": {
"__type__": "cc.Size",
"width": 70,
"height": 50
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
1.55,
33.325,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "arrowUp",
"_parent": {
"__id__": 7
},
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 9
},
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "e5N4U/fdJDP7EIQ6GrCaVv"
}
}
],
"_prefab": {
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 7
},
"asset": {
"__uuid__": "99k7fI5ORLSIkinFX0I72z"
},
"fileId": "edRAfQIkFF1YKIsDN8VNAl"
},
"_contentSize": {
"__type__": "cc.Size",
"width": 24,
"height": 18
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
33,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "arrowDown",
"_parent": {
"__id__": 7
},
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 10
},
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "b8nYBWqRFFm6W9ONFNUD7C"
}
}
],
"_prefab": {
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 7
},
"asset": {
"__uuid__": "99k7fI5ORLSIkinFX0I72z"
},
"fileId": "d7byJPt2FE3KHHfVE1bP90"
},
"_contentSize": {
"__type__": "cc.Size",
"width": 24,
"height": 18
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
33,
0,
0,
0,
0,
1,
0,
0,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "pageUp",
"_parent": {
"__id__": 7
},
"_children": [
{
"__id__": 12
}
],
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 11
},
"_enabled": false,
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "9bvaMerUlDyary99mJa6xp"
},
"_type": 1,
"_sizeMode": 0
},
{
"__type__": "cc.Button",
"node": {
"__id__": 11
}
}
],
"_prefab": {
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 7
},
"asset": {
"__uuid__": "99k7fI5ORLSIkinFX0I72z"
},
"fileId": "a9Fom8DbRPSZOeMw0Jqr8X"
},
"_contentSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
618.054,
-2.429,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "spr",
"_parent": {
"__id__": 11
},
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 12
},
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "8fjHmUGH5DnrGqgruYvYar"
}
}
],
"_prefab": {
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 7
},
"asset": {
"__uuid__": "99k7fI5ORLSIkinFX0I72z"
},
"fileId": "7aCx+Zp2ROf6cAIGRgh4ap"
},
"_contentSize": {
"__type__": "cc.Size",
"width": 22,
"height": 23
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-3,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "pageDown",
"_parent": {
"__id__": 7
},
"_children": [
{
"__id__": 14
}
],
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 13
},
"_enabled": false,
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "9bvaMerUlDyary99mJa6xp"
},
"_type": 1,
"_sizeMode": 0
},
{
"__type__": "cc.Layout",
"node": {
"__id__": 13
},
"_enabled": false,
"_layoutSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
}
},
{
"__type__": "cc.Button",
"node": {
"__id__": 13
}
}
],
"_prefab": {
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 7
},
"asset": {
"__uuid__": "99k7fI5ORLSIkinFX0I72z"
},
"fileId": "295OcbmFNPGKH4Ej0r/d1D"
},
"_contentSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
618.054,
-43.563,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "spr",
"_parent": {
"__id__": 13
},
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 14
},
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "82nQe40gpGGLBfTRrGc7FO"
}
}
],
"_prefab": {
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 7
},
"asset": {
"__uuid__": "99k7fI5ORLSIkinFX0I72z"
},
"fileId": "acNVn9rVVHIrqRc23p2mf8"
},
"_contentSize": {
"__type__": "cc.Size",
"width": 22,
"height": 23
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
3,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "font",
"_parent": {
"__id__": 7
},
"_active": false,
"_components": [
{
"__type__": "cc.Label",
"node": {
"__id__": 15
},
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_useOriginalSize": false,
"_string": "Label",
"_N$string": "Label",
"_N$file": {
"__uuid__": "8e8ut3kpRBhpKmX4dq0oBB"
},
"_isSystemFontUsed": false,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1
}
],
"_prefab": {
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 7
},
"asset": {
"__uuid__": "99k7fI5ORLSIkinFX0I72z"
},
"fileId": "352OaAKCxOMYj+KGjjLk/4"
},
"_contentSize": {
"__type__": "cc.Size",
"width": 122.85,
"height": 50.4
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "res",
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 17
},
{
"__id__": 18
},
{
"__id__": 19
}
],
"_active": false,
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 16
},
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "715WE7gFNIGbQtzftIwBVD"
}
}
],
"_contentSize": {
"__type__": "cc.Size",
"width": 620,
"height": 630
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "circle_bg",
"_parent": {
"__id__": 16
},
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 17
},
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "715WE7gFNIGbQtzftIwBVD"
}
}
],
"_contentSize": {
"__type__": "cc.Size",
"width": 620,
"height": 630
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "circle_bg_small",
"_parent": {
"__id__": 16
},
"_components": [
{
"__type__": "cc.Sprite",
"node": {
"__id__": 18
},
"_materials": [
{
"__uuid__": "ecpdLyjvZBwrvm+cedCcQy"
}
],
"_spriteFrame": {
"__uuid__": "d9dporjeBOSIy7GiRYxWEt"
}
}
],
"_contentSize": {
"__type__": "cc.Size",
"width": 98,
"height": 98
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
}
},
{
"__type__": "cc.Node",
"_name": "wrong_audio",
"_parent": {
"__id__": 16
},
"_components": [
{
"__type__": "cc.AudioSource",
"node": {
"__id__": 19
},
"_clip": {
"__uuid__": "d3bdiboAJNxoOD6lNDQYMO"
},
"_volume": 0.4,
"preload": true
}
],
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
}
}
],
{
"__type__": "cc.AudioClip",
"_name": "wrong",
"_native": ".mp3",
"duration": 1.802449
},
{
"__type__": "cc.SpriteFrame",
"content": {
"name": "circle_bg_small",
"texture": "7fzFsTopZEqKXU6N7lZOLJ",
"rect": [
0,
0,
98,
98
],
"offset": [
0,
0
],
"originalSize": [
98,
98
],
"capInsets": [
0,
0,
0,
0
]
}
},
{
"__type__": "cc.SpriteFrame",
"content": {
"name": "arrow_up",
"texture": "3dKPHJglZBzI+eAcfj4Tcf",
"rect": [
0,
0,
24,
18
],
"offset": [
0,
0
],
"originalSize": [
24,
18
],
"capInsets": [
0,
0,
0,
0
]
}
}
]
\ No newline at end of file
...@@ -172,6 +172,7 @@ window.__require = function e(t, n, r) { ...@@ -172,6 +172,7 @@ window.__require = function e(t, n, r) {
if (curLen > this._maxW) { if (curLen > this._maxW) {
tmpArr = [ item ]; tmpArr = [ item ];
this._pageArr.push(tmpArr); this._pageArr.push(tmpArr);
curLen = this._disW + item.width + this._disW;
} else tmpArr.push(item); } else tmpArr.push(item);
} }
this._maxPage = this._pageArr.length; this._maxPage = this._pageArr.length;
...@@ -275,6 +276,411 @@ window.__require = function e(t, n, r) { ...@@ -275,6 +276,411 @@ window.__require = function e(t, n, r) {
}, { }, {
"../script/util": "util" "../script/util": "util"
} ], } ],
runtime: [ function(require, module, exports) {
"use strict";
cc._RF.push(module, "5e66eIbuEVIi43aG8uDxSYt", "runtime");
"use strict";
!function(global) {
var Op = Object.prototype;
var hasOwn = Op.hasOwnProperty;
var undefined;
var $Symbol = "function" === typeof Symbol ? Symbol : {};
var iteratorSymbol = $Symbol.iterator || "@@iterator";
var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
var inModule = "object" === typeof module;
var runtime = global.regeneratorRuntime;
if (runtime) {
inModule && (module.exports = runtime);
return;
}
runtime = global.regeneratorRuntime = inModule ? module.exports : {};
function wrap(innerFn, outerFn, self, tryLocsList) {
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
var generator = Object.create(protoGenerator.prototype);
var context = new Context(tryLocsList || []);
generator._invoke = makeInvokeMethod(innerFn, self, context);
return generator;
}
runtime.wrap = wrap;
function tryCatch(fn, obj, arg) {
try {
return {
type: "normal",
arg: fn.call(obj, arg)
};
} catch (err) {
return {
type: "throw",
arg: err
};
}
}
var GenStateSuspendedStart = "suspendedStart";
var GenStateSuspendedYield = "suspendedYield";
var GenStateExecuting = "executing";
var GenStateCompleted = "completed";
var ContinueSentinel = {};
function Generator() {}
function GeneratorFunction() {}
function GeneratorFunctionPrototype() {}
var IteratorPrototype = {};
IteratorPrototype[iteratorSymbol] = function() {
return this;
};
var getProto = Object.getPrototypeOf;
var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
GeneratorFunctionPrototype.constructor = GeneratorFunction;
GeneratorFunctionPrototype[toStringTagSymbol] = GeneratorFunction.displayName = "GeneratorFunction";
function defineIteratorMethods(prototype) {
[ "next", "throw", "return" ].forEach(function(method) {
prototype[method] = function(arg) {
return this._invoke(method, arg);
};
});
}
runtime.isGeneratorFunction = function(genFun) {
var ctor = "function" === typeof genFun && genFun.constructor;
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
};
runtime.mark = function(genFun) {
if (Object.setPrototypeOf) Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); else {
genFun.__proto__ = GeneratorFunctionPrototype;
toStringTagSymbol in genFun || (genFun[toStringTagSymbol] = "GeneratorFunction");
}
genFun.prototype = Object.create(Gp);
return genFun;
};
runtime.awrap = function(arg) {
return {
__await: arg
};
};
function AsyncIterator(generator) {
function invoke(method, arg, resolve, reject) {
var record = tryCatch(generator[method], generator, arg);
if ("throw" !== record.type) {
var result = record.arg;
var value = result.value;
if (value && "object" === typeof value && hasOwn.call(value, "__await")) return Promise.resolve(value.__await).then(function(value) {
invoke("next", value, resolve, reject);
}, function(err) {
invoke("throw", err, resolve, reject);
});
return Promise.resolve(value).then(function(unwrapped) {
result.value = unwrapped;
resolve(result);
}, reject);
}
reject(record.arg);
}
var previousPromise;
function enqueue(method, arg) {
function callInvokeWithMethodAndArg() {
return new Promise(function(resolve, reject) {
invoke(method, arg, resolve, reject);
});
}
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
}
this._invoke = enqueue;
}
defineIteratorMethods(AsyncIterator.prototype);
AsyncIterator.prototype[asyncIteratorSymbol] = function() {
return this;
};
runtime.AsyncIterator = AsyncIterator;
runtime.async = function(innerFn, outerFn, self, tryLocsList) {
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList));
return runtime.isGeneratorFunction(outerFn) ? iter : iter.next().then(function(result) {
return result.done ? result.value : iter.next();
});
};
function makeInvokeMethod(innerFn, self, context) {
var state = GenStateSuspendedStart;
return function invoke(method, arg) {
if (state === GenStateExecuting) throw new Error("Generator is already running");
if (state === GenStateCompleted) {
if ("throw" === method) throw arg;
return doneResult();
}
context.method = method;
context.arg = arg;
while (true) {
var delegate = context.delegate;
if (delegate) {
var delegateResult = maybeInvokeDelegate(delegate, context);
if (delegateResult) {
if (delegateResult === ContinueSentinel) continue;
return delegateResult;
}
}
if ("next" === context.method) context.sent = context._sent = context.arg; else if ("throw" === context.method) {
if (state === GenStateSuspendedStart) {
state = GenStateCompleted;
throw context.arg;
}
context.dispatchException(context.arg);
} else "return" === context.method && context.abrupt("return", context.arg);
state = GenStateExecuting;
var record = tryCatch(innerFn, self, context);
if ("normal" === record.type) {
state = context.done ? GenStateCompleted : GenStateSuspendedYield;
if (record.arg === ContinueSentinel) continue;
return {
value: record.arg,
done: context.done
};
}
if ("throw" === record.type) {
state = GenStateCompleted;
context.method = "throw";
context.arg = record.arg;
}
}
};
}
function maybeInvokeDelegate(delegate, context) {
var method = delegate.iterator[context.method];
if (method === undefined) {
context.delegate = null;
if ("throw" === context.method) {
if (delegate.iterator["return"]) {
context.method = "return";
context.arg = undefined;
maybeInvokeDelegate(delegate, context);
if ("throw" === context.method) return ContinueSentinel;
}
context.method = "throw";
context.arg = new TypeError("The iterator does not provide a 'throw' method");
}
return ContinueSentinel;
}
var record = tryCatch(method, delegate.iterator, context.arg);
if ("throw" === record.type) {
context.method = "throw";
context.arg = record.arg;
context.delegate = null;
return ContinueSentinel;
}
var info = record.arg;
if (!info) {
context.method = "throw";
context.arg = new TypeError("iterator result is not an object");
context.delegate = null;
return ContinueSentinel;
}
if (!info.done) return info;
context[delegate.resultName] = info.value;
context.next = delegate.nextLoc;
if ("return" !== context.method) {
context.method = "next";
context.arg = undefined;
}
context.delegate = null;
return ContinueSentinel;
}
defineIteratorMethods(Gp);
Gp[toStringTagSymbol] = "Generator";
Gp[iteratorSymbol] = function() {
return this;
};
Gp.toString = function() {
return "[object Generator]";
};
function pushTryEntry(locs) {
var entry = {
tryLoc: locs[0]
};
1 in locs && (entry.catchLoc = locs[1]);
if (2 in locs) {
entry.finallyLoc = locs[2];
entry.afterLoc = locs[3];
}
this.tryEntries.push(entry);
}
function resetTryEntry(entry) {
var record = entry.completion || {};
record.type = "normal";
delete record.arg;
entry.completion = record;
}
function Context(tryLocsList) {
this.tryEntries = [ {
tryLoc: "root"
} ];
tryLocsList.forEach(pushTryEntry, this);
this.reset(true);
}
runtime.keys = function(object) {
var keys = [];
for (var key in object) keys.push(key);
keys.reverse();
return function next() {
while (keys.length) {
var key = keys.pop();
if (key in object) {
next.value = key;
next.done = false;
return next;
}
}
next.done = true;
return next;
};
};
function values(iterable) {
if (iterable) {
var iteratorMethod = iterable[iteratorSymbol];
if (iteratorMethod) return iteratorMethod.call(iterable);
if ("function" === typeof iterable.next) return iterable;
if (!isNaN(iterable.length)) {
var i = -1, next = function next() {
while (++i < iterable.length) if (hasOwn.call(iterable, i)) {
next.value = iterable[i];
next.done = false;
return next;
}
next.value = undefined;
next.done = true;
return next;
};
return next.next = next;
}
}
return {
next: doneResult
};
}
runtime.values = values;
function doneResult() {
return {
value: undefined,
done: true
};
}
Context.prototype = {
constructor: Context,
reset: function reset(skipTempReset) {
this.prev = 0;
this.next = 0;
this.sent = this._sent = undefined;
this.done = false;
this.delegate = null;
this.method = "next";
this.arg = undefined;
this.tryEntries.forEach(resetTryEntry);
if (!skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
},
stop: function stop() {
this.done = true;
var rootEntry = this.tryEntries[0];
var rootRecord = rootEntry.completion;
if ("throw" === rootRecord.type) throw rootRecord.arg;
return this.rval;
},
dispatchException: function dispatchException(exception) {
if (this.done) throw exception;
var context = this;
function handle(loc, caught) {
record.type = "throw";
record.arg = exception;
context.next = loc;
if (caught) {
context.method = "next";
context.arg = undefined;
}
return !!caught;
}
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
var entry = this.tryEntries[i];
var record = entry.completion;
if ("root" === entry.tryLoc) return handle("end");
if (entry.tryLoc <= this.prev) {
var hasCatch = hasOwn.call(entry, "catchLoc");
var hasFinally = hasOwn.call(entry, "finallyLoc");
if (hasCatch && hasFinally) {
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, true);
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
} else if (hasCatch) {
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, true);
} else {
if (!hasFinally) throw new Error("try statement without catch or finally");
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
}
}
}
},
abrupt: function abrupt(type, arg) {
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
var entry = this.tryEntries[i];
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
var finallyEntry = entry;
break;
}
}
finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
var record = finallyEntry ? finallyEntry.completion : {};
record.type = type;
record.arg = arg;
if (finallyEntry) {
this.method = "next";
this.next = finallyEntry.finallyLoc;
return ContinueSentinel;
}
return this.complete(record);
},
complete: function complete(record, afterLoc) {
if ("throw" === record.type) throw record.arg;
if ("break" === record.type || "continue" === record.type) this.next = record.arg; else if ("return" === record.type) {
this.rval = this.arg = record.arg;
this.method = "return";
this.next = "end";
} else "normal" === record.type && afterLoc && (this.next = afterLoc);
return ContinueSentinel;
},
finish: function finish(finallyLoc) {
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
var entry = this.tryEntries[i];
if (entry.finallyLoc === finallyLoc) {
this.complete(entry.completion, entry.afterLoc);
resetTryEntry(entry);
return ContinueSentinel;
}
}
},
catch: function _catch(tryLoc) {
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
var entry = this.tryEntries[i];
if (entry.tryLoc === tryLoc) {
var record = entry.completion;
if ("throw" === record.type) {
var thrown = record.arg;
resetTryEntry(entry);
}
return thrown;
}
}
throw new Error("illegal catch attempt");
},
delegateYield: function delegateYield(iterable, resultName, nextLoc) {
this.delegate = {
iterator: values(iterable),
resultName: resultName,
nextLoc: nextLoc
};
"next" === this.method && (this.arg = undefined);
return ContinueSentinel;
}
};
}(function() {
return this;
}() || Function("return this")());
cc._RF.pop();
}, {} ],
scene: [ function(require, module, exports) { scene: [ function(require, module, exports) {
"use strict"; "use strict";
cc._RF.push(module, "335fea4K1JFqanJyztUAUJR", "scene"); cc._RF.push(module, "335fea4K1JFqanJyztUAUJR", "scene");
...@@ -404,8 +810,12 @@ window.__require = function e(t, n, r) { ...@@ -404,8 +810,12 @@ window.__require = function e(t, n, r) {
}); });
}, },
_wrongAudioSource: null, _wrongAudioSource: null,
_gjAudioSource: null,
_endAudio: null,
initAudio: function initAudio() { initAudio: function initAudio() {
this._wrongAudioSource = cc.find("Canvas/res/wrong_audio").getComponent(cc.AudioSource); this._wrongAudioSource = cc.find("Canvas/res/wrong_audio").getComponent(cc.AudioSource);
this._gjAudioSource = cc.find("Canvas/res/good_job").getComponent(cc.AudioSource);
this._endAudio = cc.find("Canvas/res/end_audio").getComponent(cc.AudioSource);
}, },
initListener: function initListener() { initListener: function initListener() {
var _this6 = this; var _this6 = this;
...@@ -598,6 +1008,7 @@ window.__require = function e(t, n, r) { ...@@ -598,6 +1008,7 @@ window.__require = function e(t, n, r) {
var mask = node.addComponent(cc.Mask); var mask = node.addComponent(cc.Mask);
mask.type = cc.Mask.Type.RECT; mask.type = cc.Mask.Type.RECT;
}, },
bottomPicArr: null,
initBottomPart: function initBottomPart() { initBottomPart: function initBottomPart() {
var bgBottom = cc.find("Canvas/bgBottom"); var bgBottom = cc.find("Canvas/bgBottom");
var script = bgBottom.getComponent("bgBottom"); var script = bgBottom.getComponent("bgBottom");
...@@ -606,6 +1017,7 @@ window.__require = function e(t, n, r) { ...@@ -606,6 +1017,7 @@ window.__require = function e(t, n, r) {
"0" == item.gIdx && picArr.push(item); "0" == item.gIdx && picArr.push(item);
}); });
script.setItemData(picArr); script.setItemData(picArr);
this.bottomPicArr = picArr;
}, },
getBottomPicArr: function getBottomPicArr() { getBottomPicArr: function getBottomPicArr() {
var arr = []; var arr = [];
...@@ -724,6 +1136,7 @@ window.__require = function e(t, n, r) { ...@@ -724,6 +1136,7 @@ window.__require = function e(t, n, r) {
}); });
}, },
setOneCirclePoint: function setOneCirclePoint(data) { setOneCirclePoint: function setOneCirclePoint(data) {
var _this9 = this;
var rate = this.hotZoneBg.scale * this.hotZoneBg.width / this.data.bgItem.rect.width; var rate = this.hotZoneBg.scale * this.hotZoneBg.width / this.data.bgItem.rect.width;
var rectNode = new cc.Node(); var rectNode = new cc.Node();
rectNode.name = "rect" + data.index; rectNode.name = "rect" + data.index;
...@@ -790,7 +1203,14 @@ window.__require = function e(t, n, r) { ...@@ -790,7 +1203,14 @@ window.__require = function e(t, n, r) {
console.log("clicked"); console.log("clicked");
if (animaNode.audioClip) { if (animaNode.audioClip) {
cc.audioEngine.stopAllEffects(); cc.audioEngine.stopAllEffects();
cc.audioEngine.playEffect(animaNode.audioClip, false, .8); var audioID = cc.audioEngine.playEffect(animaNode.audioClip, false, .8);
cc.audioEngine.setFinishCallback(audioID, function() {
var gjId = cc.audioEngine.playEffect(_this9._gjAudioSource.clip, false, .8);
cc.audioEngine.setFinishCallback(gjId, function() {
var isEnd = _this9.checkGameEnd();
isEnd && _this9.gameEnd();
});
});
} }
animationNames.length > 0 && dragonDisplay.playAnimation(animationNames[0], 1); animationNames.length > 0 && dragonDisplay.playAnimation(animationNames[0], 1);
}; };
...@@ -799,9 +1219,23 @@ window.__require = function e(t, n, r) { ...@@ -799,9 +1219,23 @@ window.__require = function e(t, n, r) {
}); });
}); });
}, },
checkGameEnd: function checkGameEnd() {
for (var i = 0; i < this.hotzoneCircleArr.length; i++) if (this.hotzoneCircleArr[i].active) return false;
return true;
},
gameEnd: function gameEnd() {
console.log("this.gameEnd");
this.playEndEffect();
},
playEndEffect: function playEndEffect() {
(0, _util.playAudio)(this._endAudio.clip, .8);
var camera = cc.find("Canvas/Main Camera");
camera.zIndex = 100;
(0, _util.showTrebleFirework)(camera, cc.find("RibbonNodeBase").children);
},
_curShowItem: null, _curShowItem: null,
bottomItemClick: function bottomItemClick(item) { bottomItemClick: function bottomItemClick(item) {
var _this9 = this; var _this10 = this;
return; return;
var newNode; var newNode;
var spr; var spr;
...@@ -990,6 +1424,41 @@ window.__require = function e(t, n, r) { ...@@ -990,6 +1424,41 @@ window.__require = function e(t, n, r) {
exports.randomSortByArr = randomSortByArr; exports.randomSortByArr = randomSortByArr;
exports.setSprNodeMaxLen = setSprNodeMaxLen; exports.setSprNodeMaxLen = setSprNodeMaxLen;
exports.localPosTolocalPos = localPosTolocalPos; exports.localPosTolocalPos = localPosTolocalPos;
exports.getScaleRateBy2Node = getScaleRateBy2Node;
exports.asyncCCLoad = asyncCCLoad;
exports.loadDragonBones = loadDragonBones;
exports.playAudio = playAudio;
exports.asyncDelay = asyncDelay;
exports.showFireworks = showFireworks;
exports.asyncTweenTo = asyncTweenTo;
exports.asyncTweenBy = asyncTweenBy;
exports.showTrebleFirework = showTrebleFirework;
exports.FireworkSettings = void 0;
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
try {
var info = gen[key](arg);
var value = info.value;
} catch (error) {
reject(error);
return;
}
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
}
function _asyncToGenerator(fn) {
return function() {
var self = this, args = arguments;
return new Promise(function(resolve, reject) {
var gen = fn.apply(self, args);
function _next(value) {
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
}
function _throw(err) {
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
}
_next(void 0);
});
};
}
function getPosByAngle(angle, len) { function getPosByAngle(angle, len) {
var radian = angle * Math.PI / 180; var radian = angle * Math.PI / 180;
var x = Math.sin(radian) * len; var x = Math.sin(radian) * len;
...@@ -1044,6 +1513,314 @@ window.__require = function e(t, n, r) { ...@@ -1044,6 +1513,314 @@ window.__require = function e(t, n, r) {
var localPos = baseNode.parent.convertToNodeSpaceAR(cc.v2(worldPos.x, worldPos.y)); var localPos = baseNode.parent.convertToNodeSpaceAR(cc.v2(worldPos.x, worldPos.y));
return localPos; return localPos;
} }
function getScaleRateBy2Node(baseNode, targetNode, maxFlag) {
void 0 === maxFlag && (maxFlag = true);
var worldRect1 = targetNode.getBoundingBoxToWorld();
var worldRect2 = baseNode.getBoundingBoxToWorld();
var sx = worldRect1.width / worldRect2.width;
var sy = worldRect1.height / worldRect2.height;
return maxFlag ? Math.max(sx, sy) : Math.min(sx, sy);
}
function asyncCCLoad(resources) {
return new Promise(function(resolve, reject) {
try {
cc.loader.load(resources, function(error, assets) {
resolve(assets);
});
} catch (e) {
reject(e);
}
});
}
function loadDragonBones(image, atlas, ske, callback) {
Promise.all([ asyncCCLoad(image), asyncCCLoad({
url: atlas,
type: "txt"
}), asyncCCLoad({
url: ske,
type: "txt"
}) ]).then(function(_ref) {
var texture = _ref[0], atlasJson = _ref[1], dragonBonesJson = _ref[2];
callback(texture, atlasJson, dragonBonesJson);
})["catch"](function(e) {
console.log(e);
});
}
function playAudio(_x, _x2) {
return _playAudio.apply(this, arguments);
}
function _playAudio() {
_playAudio = _asyncToGenerator(regeneratorRuntime.mark(function _callee(clip, volume) {
return regeneratorRuntime.wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
void 0 === volume && (volume = 1);
return _context.abrupt("return", new Promise(function(resolve, reject) {
try {
if (!clip) {
resolve();
return;
}
var id = cc.audioEngine.play(clip, false, volume);
cc.audioEngine.setFinishCallback(id, function() {
resolve();
});
} catch (e) {
reject(e);
}
}));
case 2:
case "end":
return _context.stop();
}
}, _callee);
}));
return _playAudio.apply(this, arguments);
}
function asyncDelay(_x3) {
return _asyncDelay.apply(this, arguments);
}
function _asyncDelay() {
_asyncDelay = _asyncToGenerator(regeneratorRuntime.mark(function _callee2(time) {
return regeneratorRuntime.wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
return _context2.abrupt("return", new Promise(function(resolve, reject) {
try {
setTimeout(function() {
resolve();
}, 1e3 * time);
} catch (e) {
reject(e);
}
}));
case 1:
case "end":
return _context2.stop();
}
}, _callee2);
}));
return _asyncDelay.apply(this, arguments);
}
var FireworkSettings = function() {
function FireworkSettings(baseNode, nodeList, pos, side, range, number, scalseRange) {
void 0 === pos && (pos = cc.v2(0, 0));
void 0 === side && (side = cc.v2(0, 100));
void 0 === range && (range = 50);
void 0 === number && (number = 100);
void 0 === scalseRange && (scalseRange = 0);
this.baseNode = void 0;
this.nodeList = void 0;
this.pos = void 0;
this.side = void 0;
this.range = void 0;
this.number = void 0;
this.scalseRange = void 0;
this.baseNode = baseNode;
this.nodeList = nodeList;
this.pos = pos;
this.side = side;
this.range = range;
this.number = number;
this.scalseRange = scalseRange;
}
FireworkSettings.copy = function copy(firework) {
return new FireworkSettings(firework.baseNode, firework.nodeList, firework.pos, firework.side, firework.range, firework.number);
};
return FireworkSettings;
}();
exports.FireworkSettings = FireworkSettings;
function showFireworks(_x4) {
return _showFireworks.apply(this, arguments);
}
function _showFireworks() {
_showFireworks = _asyncToGenerator(regeneratorRuntime.mark(function _callee4(fireworkSettings) {
var baseNode, nodeList, pos, side, range, number, scalseRange;
return regeneratorRuntime.wrap(function _callee4$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
case 0:
baseNode = fireworkSettings.baseNode, nodeList = fireworkSettings.nodeList, pos = fireworkSettings.pos,
side = fireworkSettings.side, range = fireworkSettings.range, number = fireworkSettings.number,
scalseRange = fireworkSettings.scalseRange;
new Array(number).fill(" ").forEach(function() {
var _ref2 = _asyncToGenerator(regeneratorRuntime.mark(function _callee3(_, i) {
var rabbonNode, node, rate, angle;
return regeneratorRuntime.wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
rabbonNode = new cc.Node();
rabbonNode.parent = baseNode;
rabbonNode.x = pos.x;
rabbonNode.y = pos.y;
rabbonNode.angle = 60 * Math.random() - 30;
node = cc.instantiate(nodeList[RandomInt(nodeList.length)]);
node.parent = rabbonNode;
node.active = true;
node.x = 0;
node.y = 0;
node.angle = 0;
node.scale = (Math.random() - .5) * scalseRange + 1;
rate = Math.random();
angle = Math.PI * (2 * Math.random() - 1);
_context3.next = 16;
return asyncTweenBy(rabbonNode, .3, {
x: side.x * rate + Math.cos(angle) * range * rate,
y: side.y * rate + Math.sin(angle) * range * rate
}, {
easing: "quadIn"
});
case 16:
cc.tween(rabbonNode).by(8, {
y: -2e3
}).start();
cc.tween(rabbonNode).to(5, {
scale: (Math.random() - .5) * scalseRange + 1
}).start();
rabbonFall(rabbonNode);
_context3.next = 21;
return asyncDelay(Math.random());
case 21:
cc.tween(node).by(.15, {
x: -10,
angle: -10
}).by(.3, {
x: 20,
angle: 20
}).by(.15, {
x: -10,
angle: -10
}).union().repeatForever().start();
cc.tween(rabbonNode).delay(5).to(.3, {
opacity: 0
}).call(function() {
node.stopAllActions();
node.active = false;
node.parent = null;
node = null;
}).start();
case 23:
case "end":
return _context3.stop();
}
}, _callee3);
}));
return function(_x14, _x15) {
return _ref2.apply(this, arguments);
};
}());
case 2:
case "end":
return _context4.stop();
}
}, _callee4);
}));
return _showFireworks.apply(this, arguments);
}
function rabbonFall(_x5) {
return _rabbonFall.apply(this, arguments);
}
function _rabbonFall() {
_rabbonFall = _asyncToGenerator(regeneratorRuntime.mark(function _callee5(node) {
var time, offsetX;
return regeneratorRuntime.wrap(function _callee5$(_context5) {
while (1) switch (_context5.prev = _context5.next) {
case 0:
time = 1 + Math.random();
offsetX = RandomInt(-200, 200) * time;
_context5.next = 4;
return asyncTweenBy(node, time, {
x: offsetX,
angle: 60 * offsetX / 200
});
case 4:
rabbonFall(node);
case 5:
case "end":
return _context5.stop();
}
}, _callee5);
}));
return _rabbonFall.apply(this, arguments);
}
function asyncTweenTo(_x6, _x7, _x8, _x9) {
return _asyncTweenTo.apply(this, arguments);
}
function _asyncTweenTo() {
_asyncTweenTo = _asyncToGenerator(regeneratorRuntime.mark(function _callee6(node, duration, obj, ease) {
return regeneratorRuntime.wrap(function _callee6$(_context6) {
while (1) switch (_context6.prev = _context6.next) {
case 0:
void 0 === ease && (ease = void 0);
return _context6.abrupt("return", new Promise(function(resolve, reject) {
try {
cc.tween(node).to(duration, obj, ease).call(function() {
resolve();
}).start();
} catch (e) {
reject(e);
}
}));
case 2:
case "end":
return _context6.stop();
}
}, _callee6);
}));
return _asyncTweenTo.apply(this, arguments);
}
function asyncTweenBy(_x10, _x11, _x12, _x13) {
return _asyncTweenBy.apply(this, arguments);
}
function _asyncTweenBy() {
_asyncTweenBy = _asyncToGenerator(regeneratorRuntime.mark(function _callee7(node, duration, obj, ease) {
return regeneratorRuntime.wrap(function _callee7$(_context7) {
while (1) switch (_context7.prev = _context7.next) {
case 0:
void 0 === ease && (ease = void 0);
return _context7.abrupt("return", new Promise(function(resolve, reject) {
try {
cc.tween(node).by(duration, obj, ease).call(function() {
resolve();
}).start();
} catch (e) {
reject(e);
}
}));
case 2:
case "end":
return _context7.stop();
}
}, _callee7);
}));
return _asyncTweenBy.apply(this, arguments);
}
function showTrebleFirework(baseNode, rabbonList) {
var middle = new FireworkSettings(baseNode, rabbonList);
middle.pos = cc.v2(0, -400);
middle.side = cc.v2(0, 1e3);
middle.range = 200;
middle.number = 100;
middle.scalseRange = .4;
var left = FireworkSettings.copy(middle);
left.pos = cc.v2(-600, -400);
left.side = cc.v2(200, 1e3);
var right = FireworkSettings.copy(middle);
right.pos = cc.v2(600, -400);
right.side = cc.v2(-200, 1e3);
showFireworks(middle);
showFireworks(left);
showFireworks(right);
}
cc._RF.pop(); cc._RF.pop();
}, {} ] }, {} ]
}, {}, [ "bgBottom", "scene", "util" ]); }, {}, [ "bgBottom", "runtime", "scene", "util" ]);
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment