Commit 934dd06d authored by Lwd's avatar Lwd

aaaa

parent cb1367da
{
"ver": "1.1.2",
"uuid": "a878983d-6b10-4de7-915d-86629281850a",
"isBundle": true,
"bundleName": "resources",
"priority": 8,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "c35bb2f6-f24a-4850-ae44-643f2fdc7541", "uuid": "5e84bf78-6d16-45a9-91c1-59c221adf5c0",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
{
"ver": "1.1.0",
"uuid": "4fe6019f-f84c-439f-97b8-a4cfe2ddc7ca",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.0",
"uuid": "f0214b38-1b2a-41ef-aa3e-1d6949fd3b12",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.0",
"uuid": "1fc51dd0-d295-4a33-8b99-adcb5978c932",
"subMetas": {}
}
\ No newline at end of file
import { onHomeworkFinish } from "../script/util";
import { defaultData } from "../script/defaultData";
cc.Class({
extends: cc.Component,
properties: {
},
// 生命周期 onLoad
onLoad() {
this.initSceneData();
this.initSize();
},
_imageResList: null,
_audioResList: null,
_animaResList: null,
initSceneData() {
this._imageResList = [];
this._audioResList = [];
this._animaResList = [];
},
_designSize: null, // 设计分辨率
_frameSize: null, // 屏幕分辨率
_mapScaleMin: null, // 场景中常用缩放(取大值)
_mapScaleMax: null, // 场景中常用缩放(取小值)
_cocosScale: null, // cocos 自缩放 (较少用到)
initSize() {
// 注意cc.winSize只有在适配后(修改fitHeight/fitWidth后)才能获取到正确的值,因此使用cc.getFrameSize()来获取初始的屏幕大小
let screen_size = cc.view.getFrameSize().width / cc.view.getFrameSize().height
let design_size = cc.Canvas.instance.designResolution.width / cc.Canvas.instance.designResolution.height
let f = screen_size >= design_size
cc.Canvas.instance.fitHeight = f
cc.Canvas.instance.fitWidth = !f
const frameSize = cc.view.getFrameSize();
this._frameSize = frameSize;
this._designSize = cc.view.getDesignResolutionSize();
let sx = cc.winSize.width / frameSize.width;
let sy = cc.winSize.height / frameSize.height;
this._cocosScale = Math.min(sx, sy);
sx = frameSize.width / this._designSize.width;
sy = frameSize.height / this._designSize.height;
this._mapScaleMin = Math.min(sx, sy) * this._cocosScale;
this._mapScaleMax = Math.max(sx, sy) * this._cocosScale;
},
// 生命周期 start
start() {
let getData = this.getData.bind(this);
if (window && window.courseware) {
getData = window.courseware.getData;
}
getData((data) => {
console.log('data:', data);
this.data = data || this.getDefaultData();
this.data = JSON.parse(JSON.stringify(this.data))
this.preloadItem()
})
},
getData(func) {
if (window && window.courseware) {
window.courseware.getData(func, 'scene');
return;
}
const middleLayer = cc.find('middleLayer');
if (middleLayer) {
const middleLayerComponent = middleLayer.getComponent('middleLayer');
middleLayerComponent.getData(func);
return;
}
func(this.getDefaultData());
},
getDefaultData() {
return defaultData;
},
preloadItem() {
this.addPreloadImage();
this.addPreloadAudio();
this.addPreloadAnima();
this.preload();
},
addPreloadImage() {
this._imageResList.push({ url: this.data.pic_url });
this._imageResList.push({ url: this.data.pic_url_2 });
},
addPreloadAudio() {
this._audioResList.push({ url: this.data.audio_url });
},
addPreloadAnima() {
},
preload() {
const preloadArr = this._imageResList.concat(this._audioResList).concat(this._animaResList);
cc.assetManager.loadAny(preloadArr, null, null, (err, data) => {
this.loadEnd();
if (window && window["air"]) {
window["air"].hideAirClassLoading();
}
cc.debug.setDisplayStats(false);
});
},
loadEnd() {
this.initData();
this.initAudio();
this.initView();
// this.initListener();
},
_cantouch: null,
initData() {
// 所有全局变量 默认都是null
this._cantouch = true;
},
audioBtn: null,
initAudio() {
const audioNode = cc.find('Canvas/res/audio');
const getAudioByResName = (resName) => {
return audioNode.getChildByName(resName).getComponent(cc.AudioSource);
}
this.audioBtn = getAudioByResName('btn');
},
initView() {
this.initBg();
this.initPic();
this.initBtn();
this.initIcon();
},
initBg() {
const bgNode = cc.find('Canvas/bg');
bgNode.scale = this._mapScaleMax;
},
pic1: null,
pic2: null,
initPic() {
const canvas = cc.find('Canvas');
const maxW = canvas.width * 0.7;
this.getSprNodeByUrl(this.data.pic_url, (sprNode) => {
const picNode1 = sprNode;
picNode1.scale = maxW / picNode1.width;
picNode1.baseX = picNode1.x;
canvas.addChild(picNode1);
this.pic1 = picNode1;
const labelNode = new cc.Node();
labelNode.color = cc.Color.YELLOW;
const label = labelNode.addComponent(cc.Label);
label.string = this.data.text;
label.fontSize = 60;
label.lineHeight = 60;
label.font = cc.find('Canvas/res/font/BRLNSDB').getComponent('cc.Label').font;
picNode1.addChild(labelNode);
});
this.getSprNodeByUrl(this.data.pic_url_2, (sprNode) => {
const picNode2 = sprNode;
picNode2.scale = maxW / picNode2.width;
canvas.addChild(picNode2);
picNode2.x = canvas.width;
picNode2.baseX = picNode2.x;
this.pic2 = picNode2;
const labelNode = new cc.Node();
const label = labelNode.addComponent(cc.RichText);
const size = 60
label.font = cc.find('Canvas/res/font/BRLNSDB').getComponent(cc.Label).font;
label.string = `<outline color=#751e00 width=4><size=${size}><color=#ffffff>${this.data.text}</color></size></outline>`
label.lineHeight = size;
picNode2.addChild(labelNode);
});
},
initIcon() {
const iconNode = this.getSprNode('icon');
iconNode.zIndex = 5;
iconNode.anchorX = 1;
iconNode.anchorY = 1;
iconNode.parent = cc.find('Canvas');
iconNode.x = iconNode.parent.width / 2 - 10;
iconNode.y = iconNode.parent.height / 2 - 10;
iconNode.on(cc.Node.EventType.TOUCH_START, () => {
this.playAudioByUrl(this.data.audio_url);
})
},
curPage: null,
initBtn() {
this.curPage = 0;
const bottomPart = cc.find('Canvas/bottomPart');
bottomPart.zIndex = 5; // 提高层级
bottomPart.x = bottomPart.parent.width / 2;
bottomPart.y = -bottomPart.parent.height / 2;
const leftBtnNode = bottomPart.getChildByName('btn_left');
//节点中添加了button组件 则可以添加click事件监听
leftBtnNode.on('click', () => {
if (!this._cantouch) {
return;
}
if (this.curPage == 0) {
return;
}
this.curPage = 0
this.leftMove();
// 游戏结束时需要调用这个方法通知系统作业完成
onHomeworkFinish();
cc.audioEngine.play(this.audioBtn.clip, false, 0.8)
})
const rightBtnNode = bottomPart.getChildByName('btn_right');
//节点中添加了button组件 则可以添加click事件监听
rightBtnNode.on('click', () => {
if (!this._cantouch) {
return;
}
if (this.curPage == 1) {
return;
}
this.curPage = 1
this.rightMove();
cc.audioEngine.play(this.audioBtn.clip, false, 0.5)
})
},
leftMove() {
this._cantouch = false;
const len = this.pic1.parent.width;
cc.tween(this.pic1)
.to(1, { x: this.pic1.baseX }, { easing: 'cubicInOut' })
.start();
cc.tween(this.pic2)
.to(1, { x: this.pic2.baseX }, { easing: 'cubicInOut' })
.call(() => {
this._cantouch = true;
})
.start();
},
rightMove() {
this._cantouch = false;
const len = this.pic1.parent.width;
cc.tween(this.pic1)
.to(1, { x: this.pic1.baseX - len }, { easing: 'cubicInOut' })
.start();
cc.tween(this.pic2)
.to(1, { x: this.pic2.baseX - len }, { easing: 'cubicInOut' })
.call(() => {
this._cantouch = true;
})
.start();
},
// update (dt) {},
// ------------------------------------------------
getSprNode(resName) {
const sf = cc.find('Canvas/res/img/' + resName).getComponent(cc.Sprite).spriteFrame;
const node = new cc.Node();
node.addComponent(cc.Sprite).spriteFrame = sf;
return node;
},
getSpriteFrimeByUrl(url, cb) {
cc.loader.load({ url }, (err, img) => {
const spriteFrame = new cc.SpriteFrame(img)
if (cb) {
cb(spriteFrame);
}
})
},
getSprNodeByUrl(url, cb) {
const node = new cc.Node();
const spr = node.addComponent(cc.Sprite);
this.getSpriteFrimeByUrl(url, (sf) => {
spr.spriteFrame = sf;
if (cb) {
cb(node);
}
})
},
playAudioByUrl(audio_url, cb = null) {
if (audio_url) {
cc.assetManager.loadRemote(audio_url, (err, audioClip) => {
const audioId = cc.audioEngine.play(audioClip, false, 0.8);
if (cb) {
cc.audioEngine.setFinishCallback(audioId, () => {
cb();
});
}
});
}
},
// ------------------------------------------
});
export const defaultData = {
"pic_url": "http://staging-teach.cdn.ireadabc.com/ed94332a503c31e0908bd4c6923a2665.png",
"pic_url_2": "http://staging-teach.cdn.ireadabc.com/5fb60317ade0195d35ad8034d5370a7f.png",
"text": "This is a test label.",
"audio_url": "http://staging-teach.cdn.ireadabc.com/f47f1d7b5c160fe1c59500d180346240.mp3"
}
\ No newline at end of file
/**
* Copyright (c) 2014-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
!(function (global) {
"use strict";
var Op = Object.prototype;
var hasOwn = Op.hasOwnProperty;
var undefined; // More compressible than void 0.
var $Symbol = typeof Symbol === "function" ? Symbol : {};
var iteratorSymbol = $Symbol.iterator || "@@iterator";
var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
var inModule = typeof module === "object";
var runtime = global.regeneratorRuntime;
if (runtime) {
if (inModule) {
// If regeneratorRuntime is defined globally and we're in a module,
// make the exports object identical to regeneratorRuntime.
module.exports = runtime;
}
// Don't bother evaluating the rest of this file if the runtime was
// already defined globally.
return;
}
// Define the runtime globally (as expected by generated code) as either
// module.exports (if we're in a module) or a new, empty object.
runtime = global.regeneratorRuntime = inModule ? module.exports : {};
function wrap(innerFn, outerFn, self, tryLocsList) {
// If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
var generator = Object.create(protoGenerator.prototype);
var context = new Context(tryLocsList || []);
// The ._invoke method unifies the implementations of the .next,
// .throw, and .return methods.
generator._invoke = makeInvokeMethod(innerFn, self, context);
return generator;
}
runtime.wrap = wrap;
// Try/catch helper to minimize deoptimizations. Returns a completion
// record like context.tryEntries[i].completion. This interface could
// have been (and was previously) designed to take a closure to be
// invoked without arguments, but in all the cases we care about we
// already have an existing method we want to call, so there's no need
// to create a new function object. We can even get away with assuming
// the method takes exactly one argument, since that happens to be true
// in every case, so we don't have to touch the arguments object. The
// only additional allocation required is the completion record, which
// has a stable shape and so hopefully should be cheap to allocate.
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";
// Returning this object from the innerFn has the same effect as
// breaking out of the dispatch switch statement.
var ContinueSentinel = {};
// Dummy constructor functions that we use as the .constructor and
// .constructor.prototype properties for functions that return Generator
// objects. For full spec compliance, you may wish to configure your
// minifier not to mangle the names of these two functions.
function Generator() { }
function GeneratorFunction() { }
function GeneratorFunctionPrototype() { }
// This is a polyfill for %IteratorPrototype% for environments that
// don't natively support it.
var IteratorPrototype = {};
IteratorPrototype[iteratorSymbol] = function () {
return this;
};
var getProto = Object.getPrototypeOf;
var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
if (NativeIteratorPrototype &&
NativeIteratorPrototype !== Op &&
hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
// This environment has a native %IteratorPrototype%; use it instead
// of the polyfill.
IteratorPrototype = NativeIteratorPrototype;
}
var Gp = GeneratorFunctionPrototype.prototype =
Generator.prototype = Object.create(IteratorPrototype);
GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
GeneratorFunctionPrototype.constructor = GeneratorFunction;
GeneratorFunctionPrototype[toStringTagSymbol] =
GeneratorFunction.displayName = "GeneratorFunction";
// Helper for defining the .next, .throw, and .return methods of the
// Iterator interface in terms of a single ._invoke method.
function defineIteratorMethods(prototype) {
["next", "throw", "return"].forEach(function (method) {
prototype[method] = function (arg) {
return this._invoke(method, arg);
};
});
}
runtime.isGeneratorFunction = function (genFun) {
var ctor = typeof genFun === "function" && genFun.constructor;
return ctor
? ctor === GeneratorFunction ||
// For the native GeneratorFunction constructor, the best we can
// do is to check its .name property.
(ctor.displayName || ctor.name) === "GeneratorFunction"
: false;
};
runtime.mark = function (genFun) {
if (Object.setPrototypeOf) {
Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
} else {
genFun.__proto__ = GeneratorFunctionPrototype;
if (!(toStringTagSymbol in genFun)) {
genFun[toStringTagSymbol] = "GeneratorFunction";
}
}
genFun.prototype = Object.create(Gp);
return genFun;
};
// Within the body of any async function, `await x` is transformed to
// `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
// `hasOwn.call(value, "__await")` to determine if the yielded value is
// meant to be awaited.
runtime.awrap = function (arg) {
return { __await: arg };
};
function AsyncIterator(generator) {
function invoke(method, arg, resolve, reject) {
var record = tryCatch(generator[method], generator, arg);
if (record.type === "throw") {
reject(record.arg);
} else {
var result = record.arg;
var value = result.value;
if (value &&
typeof value === "object" &&
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) {
// When a yielded Promise is resolved, its final value becomes
// the .value of the Promise<{value,done}> result for the
// current iteration. If the Promise is rejected, however, the
// result for this iteration will be rejected with the same
// reason. Note that rejections of yielded Promises are not
// thrown back into the generator function, as is the case
// when an awaited Promise is rejected. This difference in
// behavior between yield and await is important, because it
// allows the consumer to decide what to do with the yielded
// rejection (swallow it and continue, manually .throw it back
// into the generator, abandon iteration, whatever). With
// await, by contrast, there is no opportunity to examine the
// rejection reason outside the generator function, so the
// only option is to throw it from the await expression, and
// let the generator function handle the exception.
result.value = unwrapped;
resolve(result);
}, reject);
}
}
var previousPromise;
function enqueue(method, arg) {
function callInvokeWithMethodAndArg() {
return new Promise(function (resolve, reject) {
invoke(method, arg, resolve, reject);
});
}
return previousPromise =
// If enqueue has been called before, then we want to wait until
// all previous Promises have been resolved before calling invoke,
// so that results are always delivered in the correct order. If
// enqueue has not been called before, then it is important to
// call invoke immediately, without waiting on a callback to fire,
// so that the async generator function has the opportunity to do
// any necessary setup in a predictable way. This predictability
// is why the Promise constructor synchronously invokes its
// executor callback, and why async functions synchronously
// execute code before the first await. Since we implement simple
// async functions in terms of async generators, it is especially
// important to get this right, even though it requires care.
previousPromise ? previousPromise.then(
callInvokeWithMethodAndArg,
// Avoid propagating failures to Promises returned by later
// invocations of the iterator.
callInvokeWithMethodAndArg
) : callInvokeWithMethodAndArg();
}
// Define the unified helper method that is used to implement .next,
// .throw, and .return (see defineIteratorMethods).
this._invoke = enqueue;
}
defineIteratorMethods(AsyncIterator.prototype);
AsyncIterator.prototype[asyncIteratorSymbol] = function () {
return this;
};
runtime.AsyncIterator = AsyncIterator;
// Note that simple async functions are implemented on top of
// AsyncIterator objects; they just return a Promise for the value of
// the final result produced by the iterator.
runtime.async = function (innerFn, outerFn, self, tryLocsList) {
var iter = new AsyncIterator(
wrap(innerFn, outerFn, self, tryLocsList)
);
return runtime.isGeneratorFunction(outerFn)
? iter // If outerFn is a generator, return the full iterator.
: 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 (method === "throw") {
throw arg;
}
// Be forgiving, per 25.3.3.3.3 of the spec:
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
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 (context.method === "next") {
// Setting context._sent for legacy support of Babel's
// function.sent implementation.
context.sent = context._sent = context.arg;
} else if (context.method === "throw") {
if (state === GenStateSuspendedStart) {
state = GenStateCompleted;
throw context.arg;
}
context.dispatchException(context.arg);
} else if (context.method === "return") {
context.abrupt("return", context.arg);
}
state = GenStateExecuting;
var record = tryCatch(innerFn, self, context);
if (record.type === "normal") {
// If an exception is thrown from innerFn, we leave state ===
// GenStateExecuting and loop back for another invocation.
state = context.done
? GenStateCompleted
: GenStateSuspendedYield;
if (record.arg === ContinueSentinel) {
continue;
}
return {
value: record.arg,
done: context.done
};
} else if (record.type === "throw") {
state = GenStateCompleted;
// Dispatch the exception by looping back around to the
// context.dispatchException(context.arg) call above.
context.method = "throw";
context.arg = record.arg;
}
}
};
}
// Call delegate.iterator[context.method](context.arg) and handle the
// result, either by returning a { value, done } result from the
// delegate iterator, or by modifying context.method and context.arg,
// setting context.delegate to null, and returning the ContinueSentinel.
function maybeInvokeDelegate(delegate, context) {
var method = delegate.iterator[context.method];
if (method === undefined) {
// A .throw or .return when the delegate iterator has no .throw
// method always terminates the yield* loop.
context.delegate = null;
if (context.method === "throw") {
if (delegate.iterator.return) {
// If the delegate iterator has a return method, give it a
// chance to clean up.
context.method = "return";
context.arg = undefined;
maybeInvokeDelegate(delegate, context);
if (context.method === "throw") {
// If maybeInvokeDelegate(context) changed context.method from
// "return" to "throw", let that override the TypeError below.
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 (record.type === "throw") {
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) {
// Assign the result of the finished delegate to the temporary
// variable specified by delegate.resultName (see delegateYield).
context[delegate.resultName] = info.value;
// Resume execution at the desired location (see delegateYield).
context.next = delegate.nextLoc;
// If context.method was "throw" but the delegate handled the
// exception, let the outer generator proceed normally. If
// context.method was "next", forget context.arg since it has been
// "consumed" by the delegate iterator. If context.method was
// "return", allow the original .return call to continue in the
// outer generator.
if (context.method !== "return") {
context.method = "next";
context.arg = undefined;
}
} else {
// Re-yield the result returned by the delegate method.
return info;
}
// The delegate iterator is finished, so forget it and continue with
// the outer generator.
context.delegate = null;
return ContinueSentinel;
}
// Define Generator.prototype.{next,throw,return} in terms of the
// unified ._invoke helper method.
defineIteratorMethods(Gp);
Gp[toStringTagSymbol] = "Generator";
// A Generator should always return itself as the iterator object when the
// @@iterator function is called on it. Some browsers' implementations of the
// iterator prototype chain incorrectly implement this, causing the Generator
// object to not be returned from this call. This ensures that doesn't happen.
// See https://github.com/facebook/regenerator/issues/274 for more details.
Gp[iteratorSymbol] = function () {
return this;
};
Gp.toString = function () {
return "[object Generator]";
};
function pushTryEntry(locs) {
var entry = { tryLoc: locs[0] };
if (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) {
// The root entry object (effectively a try statement without a catch
// or a finally block) gives us a place to store values thrown from
// locations where there is no enclosing try statement.
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();
// Rather than returning an object with a next method, we keep
// things simple and return the next function itself.
return function next() {
while (keys.length) {
var key = keys.pop();
if (key in object) {
next.value = key;
next.done = false;
return next;
}
}
// To avoid creating an additional object, we just hang the .value
// and .done properties off the next function object itself. This
// also ensures that the minifier will not anonymize the function.
next.done = true;
return next;
};
};
function values(iterable) {
if (iterable) {
var iteratorMethod = iterable[iteratorSymbol];
if (iteratorMethod) {
return iteratorMethod.call(iterable);
}
if (typeof iterable.next === "function") {
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 an iterator with no values.
return { next: doneResult };
}
runtime.values = values;
function doneResult() {
return { value: undefined, done: true };
}
Context.prototype = {
constructor: Context,
reset: function (skipTempReset) {
this.prev = 0;
this.next = 0;
// Resetting context._sent for legacy support of Babel's
// function.sent implementation.
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) {
// Not sure about the optimal order of these conditions:
if (name.charAt(0) === "t" &&
hasOwn.call(this, name) &&
!isNaN(+name.slice(1))) {
this[name] = undefined;
}
}
}
},
stop: function () {
this.done = true;
var rootEntry = this.tryEntries[0];
var rootRecord = rootEntry.completion;
if (rootRecord.type === "throw") {
throw rootRecord.arg;
}
return this.rval;
},
dispatchException: function (exception) {
if (this.done) {
throw exception;
}
var context = this;
function handle(loc, caught) {
record.type = "throw";
record.arg = exception;
context.next = loc;
if (caught) {
// If the dispatched exception was caught by a catch block,
// then let that catch block handle the exception normally.
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 (entry.tryLoc === "root") {
// Exception thrown outside of any try block that could handle
// it, so set the completion value of the entire function to
// throw the exception.
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);
} else 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) {
if (this.prev < entry.finallyLoc) {
return handle(entry.finallyLoc);
}
} else {
throw new Error("try statement without catch or finally");
}
}
}
},
abrupt: function (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;
}
}
if (finallyEntry &&
(type === "break" ||
type === "continue") &&
finallyEntry.tryLoc <= arg &&
arg <= finallyEntry.finallyLoc) {
// Ignore the finally entry if control is not jumping to a
// location outside the try/catch block.
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 (record, afterLoc) {
if (record.type === "throw") {
throw record.arg;
}
if (record.type === "break" ||
record.type === "continue") {
this.next = record.arg;
} else if (record.type === "return") {
this.rval = this.arg = record.arg;
this.method = "return";
this.next = "end";
} else if (record.type === "normal" && afterLoc) {
this.next = afterLoc;
}
return ContinueSentinel;
},
finish: function (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 (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 (record.type === "throw") {
var thrown = record.arg;
resetTryEntry(entry);
}
return thrown;
}
}
// The context.catch method must only be called with a location
// argument that corresponds to a known catch block.
throw new Error("illegal catch attempt");
},
delegateYield: function (iterable, resultName, nextLoc) {
this.delegate = {
iterator: values(iterable),
resultName: resultName,
nextLoc: nextLoc
};
if (this.method === "next") {
// Deliberately forget the last sent value so that we don't
// accidentally pass it on to the delegate.
this.arg = undefined;
}
return ContinueSentinel;
}
};
})(
// In sloppy mode, unbound `this` refers to the global object, fallback to
// Function constructor if we're in global strict mode. That is sadly a form
// of indirect eval which violates Content Security Policy.
(function () { return this })() || Function("return this")()
);
export function getPosByAngle(angle, len) {
const radian = angle * Math.PI / 180;
const x = Math.sin(radian) * len;
const y = Math.cos(radian) * len;
return { x, y };
}
export function getAngleByPos(px, py, mx, my) {
const x = Math.abs(px - mx);
const y = Math.abs(py - my);
const z = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2));
const cos = y / z;
const radina = Math.acos(cos); // 用反三角函数求弧度
let angle = Math.floor(180 / (Math.PI / radina) * 100) / 100; // 将弧度转换成角度
if (mx > px && my > py) {// 鼠标在第四象限
angle = 180 - angle;
}
if (mx === px && my > py) {// 鼠标在y轴负方向上
angle = 180;
}
if (mx > px && my === py) {// 鼠标在x轴正方向上
angle = 90;
}
if (mx < px && my > py) {// 鼠标在第三象限
angle = 180 + angle;
}
if (mx < px && my === py) {// 鼠标在x轴负方向
angle = 270;
}
if (mx < px && my < py) {// 鼠标在第二象限
angle = 360 - angle;
}
// console.log('angle: ', angle);
return angle;
}
export function exchangeNodePos(baseNode, targetNode) {
return baseNode.convertToNodeSpaceAR(targetNode._parent.convertToWorldSpaceAR(cc.v2(targetNode.x, targetNode.y)));
}
export function RandomInt(a, b = 0) {
let max = Math.max(a, b);
let min = Math.min(a, b);
return Math.floor(Math.random() * (max - min) + min);
}
export function randomSortByArr(arr) {
const newArr = [];
const tmpArr = arr.concat();
while (tmpArr.length > 0) {
const randomIndex = Math.floor(tmpArr.length * Math.random());
newArr.push(tmpArr[randomIndex]);
tmpArr.splice(randomIndex, 1);
}
return newArr;
}
export function setSprNodeMaxLen(sprNode, maxW, maxH) {
const sx = maxW / sprNode.width;
const sy = maxH / sprNode.height;
const s = Math.min(sx, sy);
sprNode.scale = Math.round(s * 1000) / 1000;
}
export function localPosTolocalPos(baseNode, targetNode) {
const worldPos = targetNode.parent.convertToWorldSpaceAR(cc.v2(targetNode.x, targetNode.y));
const localPos = baseNode.parent.convertToNodeSpaceAR(cc.v2(worldPos.x, worldPos.y));
return localPos;
}
export function worldPosToLocalPos(worldPos, baseNode) {
const localPos = baseNode.parent.convertToNodeSpaceAR(cc.v2(worldPos.x, worldPos.y));
return localPos;
}
export function getScaleRateBy2Node(baseNode, targetNode, maxFlag = true) {
const worldRect1 = targetNode.getBoundingBoxToWorld();
const worldRect2 = baseNode.getBoundingBoxToWorld();
const sx = worldRect1.width / worldRect2.width;
const sy = worldRect1.height / worldRect2.height;
if (maxFlag) {
return Math.max(sx, sy);
} else {
return Math.min(sx, sy);
}
}
export function getDistance (start, end){
var pos = cc.v2(start.x - end.x, start.y - end.y);
var dis = Math.sqrt(pos.x*pos.x + pos.y*pos.y);
return dis;
}
export function playAudioByUrl(audio_url, cb=null) {
if (audio_url) {
cc.assetManager.loadRemote(audio_url, (err, audioClip) => {
const audioId = cc.audioEngine.play(audioClip, false, 0.8);
if (cb) {
cc.audioEngine.setFinishCallback(audioId, () => {
cb();
});
}
});
}
}
export function btnClickAnima(btn, time=0.15, rate=1.05) {
btn.tmpScale = btn.scale;
btn.on(cc.Node.EventType.TOUCH_START, () => {
cc.tween(btn)
.to(time / 2, {scale: btn.scale * rate})
.start()
})
btn.on(cc.Node.EventType.TOUCH_CANCEL, () => {
cc.tween(btn)
.to(time / 2, {scale: btn.tmpScale})
.start()
})
btn.on(cc.Node.EventType.TOUCH_END, () => {
cc.tween(btn)
.to(time / 2, {scale: btn.tmpScale})
.start()
})
}
export function getSpriteFrimeByUrl(url, cb) {
cc.loader.load({ url }, (err, img) => {
const spriteFrame = new cc.SpriteFrame(img)
if (cb) {
cb(spriteFrame);
}
})
}
export function getSprNode(resName) {
const sf = cc.find('Canvas/res/img/' + resName).getComponent(cc.Sprite).spriteFrame;
const node = new cc.Node();
node.addComponent(cc.Sprite).spriteFrame = sf;
return node;
}
export function getSprNodeByUrl(url, cb) {
const node = new cc.Node();
const spr = node.addComponent(cc.Sprite);
getSpriteFrimeByUrl(url, (sf) => {
spr.spriteFrame = sf;
if (cb) {
cb(spr);
}
})
}
export function playAudio(audioClip, cb = null) {
if (audioClip) {
const audioId = cc.audioEngine.playEffect(audioClip, false, 0.8);
if (cb) {
cc.audioEngine.setFinishCallback(audioId, () => {
cb();
});
}
}
}
export async function asyncDelay(time) {
return new Promise((resolve, reject) => {
try {
setTimeout(() => {
resolve();
}, time * 1000);
} catch (e) {
reject(e);
}
})
}
export class FireworkSettings {
baseNode; // 父节点
nodeList; // 火花节点的array
pos; // 发射点
side; // 发射方向
range; // 扩散范围
number; // 发射数量
scalseRange; // 缩放范围
constructor(baseNode, nodeList,
pos = cc.v2(0, 0),
side = cc.v2(0, 100),
range = 50,
number = 100,
scalseRange = 0
) {
this.baseNode = baseNode;
this.nodeList = nodeList;
this.pos = pos;
this.side = side;
this.range = range;
this.number = number;
this.scalseRange = scalseRange;
}
static copy(firework) {
return new FireworkSettings(
firework.baseNode,
firework.nodeList,
firework.pos,
firework.side,
firework.range,
firework.number,
);
}
}
export async function showFireworks(fireworkSettings) {
const { baseNode, nodeList, pos, side, range, number, scalseRange } = fireworkSettings;
new Array(number).fill(' ').forEach(async (_, i) => {
let rabbonNode = new cc.Node();
rabbonNode.parent = baseNode;
rabbonNode.x = pos.x;
rabbonNode.y = pos.y;
rabbonNode.angle = 60 * Math.random() - 30;
let 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() - 0.5) * scalseRange + 1;
const rate = Math.random();
const angle = Math.PI * (Math.random() * 2 - 1);
await asyncTweenBy(rabbonNode, 0.3, {
x: side.x * rate + Math.cos(angle) * range * rate,
y: side.y * rate + Math.sin(angle) * range * rate
}, {
easing: 'quadIn'
});
cc.tween(rabbonNode)
.by(8, { y: -2000 })
.start();
cc.tween(rabbonNode)
.to(5, { scale: (Math.random() - 0.5) * scalseRange + 1 })
.start();
rabbonFall(rabbonNode);
await asyncDelay(Math.random());
cc.tween(node)
.by(0.15, { x: -10, angle: -10 })
.by(0.3, { x: 20, angle: 20 })
.by(0.15, { x: -10, angle: -10 })
.union()
.repeatForever()
.start();
cc.tween(rabbonNode)
.delay(5)
.to(0.3, { opacity: 0 })
.call(() => {
node.stopAllActions();
node.active = false;
node.parent = null;
node = null;
})
.start();
});
}
async function rabbonFall(node) {
const time = 1 + Math.random();
const offsetX = RandomInt(-200, 200) * time;
await asyncTweenBy(node, time, { x: offsetX, angle: offsetX * 60 / 200 });
rabbonFall(node);
}
export async function asyncTweenTo(node, duration, obj, ease = undefined) {
return new Promise((resolve, reject) => {
try {
cc.tween(node)
.to(duration, obj, ease)
.call(() => {
resolve();
})
.start();
} catch (e) {
reject(e);
}
});
}
export async function asyncTweenBy(node, duration, obj, ease = undefined) {
return new Promise((resolve, reject) => {
try {
cc.tween(node)
.by(duration, obj, ease)
.call(() => {
resolve();
})
.start();
} catch (e) {
reject(e);
}
});
}
export function showTrebleFirework(baseNode, rabbonList) {
const middle = new FireworkSettings(baseNode, rabbonList);
middle.pos = cc.v2(0, -400);
middle.side = cc.v2(0, 1000);
middle.range = 200;
middle.number = 100;
middle.scalseRange = 0.4;
const left = FireworkSettings.copy(middle);
left.pos = cc.v2(-600, -400);
left.side = cc.v2(200, 1000);
const right = FireworkSettings.copy(middle);
right.pos = cc.v2(600, -400);
right.side = cc.v2(-200, 1000);
showFireworks(middle);
showFireworks(left);
showFireworks(right);
}
export function onHomeworkFinish() {
const middleLayer = cc.find('middleLayer');
if (middleLayer) {
const middleLayerComponent = middleLayer.getComponent('middleLayer');
if (middleLayerComponent.role == 'student') {
middleLayerComponent.onHomeworkFinish(() => { });
}
} else {
console.log('onHomeworkFinish');
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "35e7895d-d54a-4940-840f-e7ec5d397aca",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{ {
"ver": "2.0.1", "ver": "2.0.1",
"uuid": "f0680ae0-c079-45ef-abd7-9e63d90b982b", "uuid": "1da4a1eb-1b7f-4c66-b682-afb2bb2c25f8",
"downloadMode": 0, "downloadMode": 0,
"duration": 0.130612, "duration": 0.141083,
"subMetas": {} "subMetas": {}
} }
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "897db934-b5dd-4d83-b482-45c92812366e",
"downloadMode": 0,
"duration": 4.179592,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "6c4277af-aebb-470b-bce6-5215a5edee90",
"downloadMode": 0,
"duration": 1.688,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "8e061c88-bf21-44e1-8360-13bd6085b2bf",
"downloadMode": 0,
"duration": 1.044898,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "e84b4934-1211-4c2b-86c8-b0cb8ff50ab2",
"downloadMode": 0,
"duration": 0.19325,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "326dee4a-6daf-4748-86a3-acecad20fc07",
"downloadMode": 0,
"duration": 0.20898,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "4cd1a303-1f39-40a3-9127-5afcad88e2af",
"downloadMode": 0,
"duration": 3.343673,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "be885015-b019-4b28-8900-dcb6b18752f3",
"downloadMode": 0,
"duration": 1.3865,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "a9d1d994-0776-4dcf-9bb7-eac5dbee2854",
"downloadMode": 0,
"duration": 3.787755,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "c533d5b8-bf5c-48ce-aa60-ccc7195ec880",
"downloadMode": 0,
"duration": 0.938688,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "24c4d28a-b9c9-4d73-8bd6-bd2101ffba7c",
"downloadMode": 0,
"duration": 0.556563,
"subMetas": {}
}
\ No newline at end of file
{"name":"正确效果","isGlobal":0,"version":"5.5","armature":[{"name":"Armature","ik":[],"defaultActions":[{"gotoAndPlay":"newAnimation"}],"slot":[{"name":"圆","color":{},"parent":"圆"},{"name":"星1","color":{},"z":1,"parent":"星1"},{"name":"星2","color":{},"z":2,"parent":"星2"},{"name":"星3","color":{},"z":3,"parent":"星3"},{"name":"星4","color":{},"z":4,"parent":"星4"},{"name":"星6","color":{},"z":5,"parent":"星6"},{"name":"星7","displayIndex":1,"color":{},"z":6,"parent":"星7"},{"name":"星8","color":{},"z":7,"parent":"星8"},{"name":"星9","color":{},"z":8,"parent":"星9"},{"name":"星61","color":{},"z":9,"parent":"星61"},{"name":"星31","color":{},"z":10,"parent":"星31"},{"name":"星11","color":{},"z":11,"parent":"星11"},{"name":"星71","displayIndex":1,"color":{},"z":12,"parent":"星71"},{"name":"星72","displayIndex":1,"color":{},"z":13,"parent":"星72"},{"name":"星711","displayIndex":1,"color":{},"z":14,"parent":"星711"}],"bone":[{"name":"root","transform":{}},{"name":"圆","transform":{"scX":0.1,"scY":0.1,"skX":-89.6569,"skY":-89.6569},"length":41,"parent":"root"},{"name":"星6","transform":{"x":0.1442,"y":-31.5107},"parent":"root"},{"name":"星8","transform":{"x":41.1298,"y":-39.776,"skX":135,"skY":135},"parent":"root"},{"name":"星3","transform":{"x":24.7785,"y":-4.3335},"parent":"root"},{"name":"星2","transform":{"x":24.8087,"y":-25.5917},"parent":"root"},{"name":"星4","transform":{"x":7.0488,"y":8.8215},"parent":"root"},{"name":"星7","transform":{"x":-20.4814,"y":5.3537,"skX":-135,"skY":-135},"parent":"root"},{"name":"星9","transform":{"x":-33.2434,"y":-13.9017,"skX":-45,"skY":-45},"parent":"root"},{"name":"星1","transform":{"x":-18.8442,"y":-17.612,"skX":180,"skY":180},"parent":"root"},{"name":"星61","transform":{"x":23.0639,"scX":0.7,"y":-38.5822,"scY":0.7,"skX":32.5617,"skY":32.5617},"parent":"root"},{"name":"星31","transform":{"x":3.6733,"scX":0.8,"y":-5.783,"scY":0.8,"skX":17.0044,"skY":17.0044},"parent":"root"},{"name":"星11","transform":{"x":0.7025,"y":-9.1509,"skX":-14.3406,"skY":-14.3406},"parent":"root"},{"name":"星71","transform":{"x":-2.2132,"scX":0.6,"y":16.0506,"scY":0.6,"skX":136.3452,"skY":136.3452},"parent":"root"},{"name":"星72","transform":{"x":-18.9634,"y":-7.9725,"skX":73.3148,"skY":73.3148},"parent":"root"},{"name":"星711","transform":{"x":-8.6825,"scX":0.8,"y":26.0182,"scY":0.8,"skX":-87.3096,"skY":-87.3096},"parent":"root"}],"aabb":{"x":-64,"height":128.32128078297362,"y":-72.32128078297362,"width":128},"frameRate":24,"animation":[{"name":"newAnimation","frame":[],"duration":26,"slot":[{"name":"圆","colorFrame":[{"duration":4},{"duration":8,"tweenEasing":0},{"color":{"aM":0},"duration":14}],"displayFrame":[]},{"name":"星1","colorFrame":[{"duration":4},{"duration":18,"tweenEasing":0},{"color":{"aM":0},"duration":4}],"displayFrame":[]},{"name":"星2","colorFrame":[{"duration":4},{"duration":20,"tweenEasing":0},{"color":{"aM":0},"duration":2}],"displayFrame":[]},{"name":"星3","colorFrame":[{"duration":4},{"duration":14,"tweenEasing":0},{"color":{"aM":0},"duration":8}],"displayFrame":[]},{"name":"星4","colorFrame":[{"duration":4},{"duration":22,"tweenEasing":0},{"color":{"aM":0},"duration":0}],"displayFrame":[]},{"name":"星6","colorFrame":[{"duration":4},{"duration":14,"tweenEasing":0},{"color":{"aM":0},"duration":8}],"displayFrame":[]},{"name":"星7","colorFrame":[{"duration":4},{"duration":20,"tweenEasing":0},{"color":{"aM":0},"duration":2}],"displayFrame":[]},{"name":"星8","colorFrame":[{"duration":4},{"duration":18,"tweenEasing":0},{"color":{"aM":0},"duration":4}],"displayFrame":[]},{"name":"星9","colorFrame":[{"duration":4},{"duration":16,"tweenEasing":0},{"color":{"aM":0},"duration":6}],"displayFrame":[]},{"name":"星61","colorFrame":[{"duration":7},{"duration":11,"tweenEasing":0},{"color":{"aM":0},"duration":8}],"displayFrame":[]},{"name":"星31","colorFrame":[{"duration":7},{"duration":11,"tweenEasing":0},{"color":{"aM":0},"duration":8}],"displayFrame":[]},{"name":"星11","colorFrame":[{"duration":7},{"duration":15,"tweenEasing":0},{"color":{"aM":0},"duration":4}],"displayFrame":[]},{"name":"星71","colorFrame":[{"duration":7},{"duration":17,"tweenEasing":0},{"color":{"aM":0},"duration":2}],"displayFrame":[]},{"name":"星72","colorFrame":[{"duration":7},{"duration":17,"tweenEasing":0},{"color":{"aM":0},"duration":2}],"displayFrame":[]},{"name":"星711","colorFrame":[{"duration":7},{"duration":17,"tweenEasing":0},{"color":{"aM":0},"duration":2}],"displayFrame":[]}],"bone":[{"name":"root","scaleFrame":[],"translateFrame":[],"rotateFrame":[]},{"name":"圆","scaleFrame":[{"duration":4,"tweenEasing":0},{"x":10,"duration":22,"y":10}],"translateFrame":[],"rotateFrame":[]},{"name":"星6","scaleFrame":[{"duration":4},{"duration":14,"tweenEasing":0},{"x":0.6,"duration":8,"y":0.6}],"translateFrame":[{"duration":4,"curve":[0,0,0.5,1]},{"x":38.3058,"duration":3,"tweenEasing":0,"y":-60.5579},{"x":38.3058,"duration":19,"y":-89.2535}],"rotateFrame":[{"duration":4,"curve":[0,0,0.5,1]},{"rotate":42.9161,"duration":22}]},{"name":"星8","scaleFrame":[],"translateFrame":[{"duration":4,"tweenEasing":0},{"x":65.1904,"duration":22,"y":-16.9062}],"rotateFrame":[{"duration":4,"tweenEasing":0},{"rotate":-280.7822,"duration":22}]},{"name":"星3","scaleFrame":[{"duration":4},{"duration":14,"tweenEasing":0},{"x":0.7,"duration":8,"y":0.7}],"translateFrame":[{"duration":4,"tweenEasing":0},{"x":77.9671,"duration":22,"y":38.7037}],"rotateFrame":[{"duration":4,"tweenEasing":0},{"rotate":74.0647,"duration":22}]},{"name":"星2","scaleFrame":[{"duration":4},{"duration":20,"tweenEasing":0},{"x":0.9,"duration":2,"y":0.9}],"translateFrame":[{"duration":4,"curve":[0,0,0.5,1]},{"x":73.3471,"duration":22,"y":22.5}],"rotateFrame":[{"duration":4,"curve":[0,0,0.5,1]},{"rotate":104.5284,"duration":22}]},{"name":"星4","scaleFrame":[],"translateFrame":[{"duration":4,"curve":[0,0,0.5,1]},{"x":61.4575,"duration":22,"y":98.3431}],"rotateFrame":[{"duration":4,"curve":[0,0,0.5,1]},{"rotate":-117.9757,"duration":22}]},{"name":"星7","scaleFrame":[{"duration":4},{"duration":20,"tweenEasing":0},{"x":0.6,"duration":2,"y":0.6}],"translateFrame":[{"duration":4,"tweenEasing":0},{"x":-57.0486,"duration":22,"y":81.3916}],"rotateFrame":[{"duration":4,"tweenEasing":0},{"rotate":88.876,"duration":22}]},{"name":"星9","scaleFrame":[{"duration":4},{"duration":16,"tweenEasing":0},{"x":0.9,"duration":6,"y":0.9}],"translateFrame":[{"duration":4,"curve":[0,0,0.5,1]},{"x":-71.6637,"duration":22,"y":-21.9835}],"rotateFrame":[{"rotate":45,"duration":4,"curve":[0,0,0.5,1]},{"duration":22}]},{"name":"星1","scaleFrame":[{"duration":4},{"duration":18,"tweenEasing":0},{"x":0.6,"duration":4,"y":0.6}],"translateFrame":[{"duration":4,"curve":[0,0,0.5,1]},{"x":-49.7215,"duration":22,"y":-72.3329}],"rotateFrame":[{"duration":4,"curve":[0,0,0.5,1]},{"rotate":-285.7677,"duration":22}]},{"name":"星61","scaleFrame":[{"duration":7},{"duration":11,"tweenEasing":0},{"x":0.6,"duration":8,"y":0.6}],"translateFrame":[{"duration":7,"curve":[0,0,0.5,1]},{"x":83.4688,"duration":19,"y":-84.797}],"rotateFrame":[{"duration":7,"curve":[0,0,0.5,1]},{"rotate":42.9161,"duration":19}]},{"name":"星31","scaleFrame":[{"duration":7},{"duration":11,"tweenEasing":0},{"x":0.7,"duration":8,"y":0.7}],"translateFrame":[{"duration":7,"tweenEasing":0},{"x":81.2468,"duration":19,"y":-25.1106}],"rotateFrame":[{"duration":7,"tweenEasing":0},{"rotate":74.0647,"duration":19}]},{"name":"星11","scaleFrame":[{"duration":7},{"duration":15,"tweenEasing":0},{"x":0.6,"duration":4,"y":0.6}],"translateFrame":[{"duration":7,"curve":[0,0,0.5,1]},{"x":-17.132,"duration":19,"y":-85.5193}],"rotateFrame":[{"duration":7,"curve":[0,0,0.5,1]},{"rotate":73.2489,"duration":19}]},{"name":"星71","scaleFrame":[{"duration":7},{"duration":17,"tweenEasing":0},{"x":0.6,"duration":2,"y":0.6}],"translateFrame":[{"duration":7,"tweenEasing":0},{"x":-35.332,"duration":19,"y":93.2033}],"rotateFrame":[{"duration":7,"tweenEasing":0},{"rotate":88.876,"duration":19}]},{"name":"星72","scaleFrame":[{"duration":7},{"duration":17,"tweenEasing":0},{"x":0.6,"duration":2,"y":0.6}],"translateFrame":[{"duration":7,"tweenEasing":0},{"x":-87.0726,"duration":19,"y":22.0384}],"rotateFrame":[{"duration":7,"tweenEasing":0},{"rotate":88.876,"duration":19}]},{"name":"星711","scaleFrame":[{"duration":7},{"duration":17,"tweenEasing":0},{"x":0.6,"duration":2,"y":0.6}],"translateFrame":[{"duration":7,"tweenEasing":0},{"x":32.2728,"duration":19,"y":59.8038}],"rotateFrame":[{"duration":7,"tweenEasing":0},{"rotate":88.876,"duration":19}]}],"playTimes":0,"ffd":[],"ik":[]}],"type":"Armature","skin":[{"name":"","slot":[{"name":"星4","display":[{"name":"1/星4","transform":{"x":1.1,"y":0.1},"type":"image","path":"1/星4"}]},{"name":"圆","display":[{"name":"1/圆","transform":{"skX":89.6569,"skY":89.6569},"type":"image","path":"1/勾"}]},{"name":"星61","display":[{"name":"1/星6","transform":{"x":1.55,"y":0.3},"type":"image","path":"1/星6"}]},{"name":"星31","display":[{"name":"1/星3","transform":{"x":0.8,"y":-0.15},"type":"image","path":"1/星3"}]},{"name":"星3","display":[{"name":"1/星3","transform":{"x":0.8,"y":-0.15},"type":"image","path":"1/星3"}]},{"name":"星11","display":[{"name":"1/星1","transform":{"x":-0.65,"y":-0.55,"skX":180,"skY":180},"type":"image","path":"1/星1"}]},{"name":"星71","display":[{"name":"1/星7","transform":{"x":-51.937,"y":13.4704,"skX":135,"skY":135},"type":"image","path":"1/星7"},{"name":"1/星5","transform":{"x":0.3889,"y":0.0354,"skX":135,"skY":135},"type":"image","path":"1/星5"}]},{"name":"星2","display":[{"name":"1/星2","transform":{"x":0.65,"y":1.1},"type":"image","path":"1/星2"}]},{"name":"星72","display":[{"name":"1/星7","transform":{"x":-51.937,"y":13.4704,"skX":135,"skY":135},"type":"image","path":"1/星7"},{"name":"1/星5","transform":{"x":0.3889,"y":0.0354,"skX":135,"skY":135},"type":"image","path":"1/星5"}]},{"name":"星8","display":[{"name":"1/星8","transform":{"x":0.0707,"y":-0.495,"skX":-135,"skY":-135},"type":"image","path":"1/星8"}]},{"name":"星9","display":[{"name":"1/星9","transform":{"x":0.2475,"y":0.3889,"skX":45,"skY":45},"type":"image","path":"1/星9"}]},{"name":"星711","display":[{"name":"1/星7","transform":{"x":-51.937,"y":13.4704,"skX":135,"skY":135},"type":"image","path":"1/星7"},{"name":"1/星5","transform":{"x":0.3889,"y":0.0354,"skX":135,"skY":135},"type":"image","path":"1/星5"}]},{"name":"星1","display":[{"name":"1/星1","transform":{"x":-0.65,"y":-0.55,"skX":180,"skY":180},"type":"image","path":"1/星1"}]},{"name":"星7","display":[{"name":"1/星7","transform":{"x":-51.937,"y":13.4704,"skX":135,"skY":135},"type":"image","path":"1/星7"},{"name":"1/星5","transform":{"x":0.3889,"y":0.0354,"skX":135,"skY":135},"type":"image","path":"1/星5"}]},{"name":"星6","display":[{"name":"1/星6","transform":{"x":1.55,"y":0.3,"skX":0.1937,"skY":0.1937},"type":"image","path":"1/星6"}]}]}]}],"frameRate":24}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "bf718d00-23b5-4393-8285-ef7a241b9afa",
"subMetas": {}
}
\ No newline at end of file
{"name":"正确效果","SubTexture":[{"name":"1/勾","x":1,"height":112,"y":1,"width":128},{"name":"1/星1","x":196,"height":59,"y":72,"width":57},{"name":"1/星2","x":1,"height":45,"y":192,"width":43},{"name":"1/星3","x":131,"height":64,"y":72,"width":63},{"name":"1/星4","x":201,"height":45,"y":1,"width":45},{"name":"1/星6","x":131,"height":69,"y":1,"width":68},{"name":"1/星7","x":1,"height":40,"y":115,"width":37},{"name":"1/星5","x":196,"height":57,"y":133,"width":56},{"name":"1/星8","x":78,"height":33,"y":115,"width":32},{"name":"1/星9","x":40,"height":37,"y":115,"width":36}],"imagePath":"正确效果_tex.png","height":256,"width":256}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "2a1c4975-20c7-425f-a159-537a0e44fbcb",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "ff0f9fe1-277f-4d06-9a86-2b838f49e899",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 256,
"height": 256,
"platformSettings": {},
"subMetas": {
"正确效果_tex": {
"ver": "1.0.4",
"uuid": "ef344e8b-5ff7-495c-8441-7891c9963a6f",
"rawTextureUuid": "ff0f9fe1-277f-4d06-9a86-2b838f49e899",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -1,
"offsetY": 9,
"trimX": 1,
"trimY": 1,
"width": 252,
"height": 236,
"rawWidth": 256,
"rawHeight": 256,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "455577d8-9fe9-451b-8bb0-241ffe3d08ef",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"__type__": "cc.AnimationClip",
"_name": "eff_sahua",
"_objFlags": 0,
"_native": "",
"_duration": 2.5,
"sample": 8,
"speed": 1,
"wrapMode": 1,
"curveData": {
"paths": {
"1": {
"props": {
"opacity": [
{
"frame": 0,
"value": 0
},
{
"frame": 0.125,
"value": 255
},
{
"frame": 1,
"value": 255
},
{
"frame": 1.25,
"value": 0
}
],
"position": [
{
"frame": 0.125,
"value": [
0,
0
],
"motionPath": []
},
{
"frame": 1.25,
"value": [
-369,
-212
],
"motionPath": []
}
],
"angle": [
{
"frame": 0.125,
"value": 0
},
{
"frame": 1.25,
"value": 180
}
]
}
},
"2": {
"props": {
"opacity": [
{
"frame": 0.25,
"value": 0
},
{
"frame": 0.375,
"value": 255
},
{
"frame": 1.25,
"value": 255
},
{
"frame": 1.5,
"value": 0
}
],
"position": [
{
"frame": 0.375,
"value": [
0,
0
]
},
{
"frame": 1.5,
"value": [
-308,
-294
]
}
],
"angle": [
{
"frame": 0.375,
"value": 0
},
{
"frame": 1.5,
"value": 180
}
]
}
},
"3": {
"props": {
"opacity": [
{
"frame": 0.5,
"value": 0
},
{
"frame": 0.625,
"value": 255
},
{
"frame": 1.5,
"value": 255
},
{
"frame": 1.75,
"value": 0
}
],
"position": [
{
"frame": 0.625,
"value": [
0,
0
]
},
{
"frame": 1.75,
"value": [
-161,
-422
]
}
],
"angle": [
{
"frame": 0.625,
"value": 0
},
{
"frame": 1.75,
"value": 180
}
]
}
},
"4": {
"props": {
"opacity": [
{
"frame": 0.875,
"value": 0
},
{
"frame": 1,
"value": 255
},
{
"frame": 1.875,
"value": 255
},
{
"frame": 2.125,
"value": 0
}
],
"position": [
{
"frame": 1,
"value": [
0,
0,
0
]
},
{
"frame": 2.125,
"value": [
-335,
-340.142,
0
]
}
],
"angle": [
{
"frame": 1,
"value": 0
},
{
"frame": 2.125,
"value": 180
}
]
}
},
"5": {
"props": {
"opacity": [
{
"frame": 0,
"value": 0
},
{
"frame": 0.125,
"value": 255
},
{
"frame": 1,
"value": 255
},
{
"frame": 1.25,
"value": 0
}
],
"position": [
{
"frame": 0.125,
"value": [
0,
0
],
"motionPath": []
},
{
"frame": 1.25,
"value": [
280,
-272
],
"motionPath": []
}
],
"angle": [
{
"frame": 0.125,
"value": 0
},
{
"frame": 1.25,
"value": 180
}
]
}
},
"6": {
"props": {
"opacity": [
{
"frame": 0.25,
"value": 0
},
{
"frame": 0.375,
"value": 255
},
{
"frame": 1.25,
"value": 255
},
{
"frame": 1.5,
"value": 0
}
],
"position": [
{
"frame": 0.375,
"value": [
0,
0
]
},
{
"frame": 1.5,
"value": [
351,
-196
]
}
],
"angle": [
{
"frame": 0.375,
"value": 0
},
{
"frame": 1.5,
"value": 180
}
]
}
},
"7": {
"props": {
"opacity": [
{
"frame": 0.5,
"value": 0
},
{
"frame": 0.625,
"value": 255
},
{
"frame": 1.5,
"value": 255
},
{
"frame": 1.75,
"value": 0
}
],
"position": [
{
"frame": 0.625,
"value": [
0,
0
]
},
{
"frame": 1.75,
"value": [
435,
-141
]
}
],
"angle": [
{
"frame": 0.625,
"value": 0
},
{
"frame": 1.75,
"value": 180
}
]
}
},
"8": {
"props": {
"opacity": [
{
"frame": 0.875,
"value": 0
},
{
"frame": 1,
"value": 255
},
{
"frame": 1.875,
"value": 255
},
{
"frame": 2.125,
"value": 0
}
],
"position": [
{
"frame": 1,
"value": [
0,
0
]
},
{
"frame": 2.125,
"value": [
249,
-607
]
}
],
"angle": [
{
"frame": 1,
"value": 0
},
{
"frame": 2.125,
"value": 180
}
]
}
},
"9": {
"props": {
"opacity": [
{
"frame": 0,
"value": 0
},
{
"frame": 0.125,
"value": 255
},
{
"frame": 1,
"value": 255
},
{
"frame": 1.25,
"value": 0
}
],
"position": [
{
"frame": 0.125,
"value": [
0,
0
],
"motionPath": []
},
{
"frame": 1.25,
"value": [
-222,
-499
],
"motionPath": []
}
],
"angle": [
{
"frame": 0.125,
"value": 0
},
{
"frame": 1.25,
"value": 180
}
]
}
},
"10": {
"props": {
"opacity": [
{
"frame": 0.25,
"value": 0
},
{
"frame": 0.375,
"value": 255
},
{
"frame": 1.25,
"value": 255
},
{
"frame": 1.5,
"value": 0
}
],
"position": [
{
"frame": 0.375,
"value": [
0,
0
]
},
{
"frame": 1.5,
"value": [
351,
-393
]
}
],
"angle": [
{
"frame": 0.375,
"value": 0
},
{
"frame": 1.5,
"value": 180
}
]
}
},
"11": {
"props": {
"opacity": [
{
"frame": 0.625,
"value": 0
},
{
"frame": 0.75,
"value": 255
},
{
"frame": 1.625,
"value": 255
},
{
"frame": 1.875,
"value": 0
}
],
"position": [
{
"frame": 0.75,
"value": [
0,
0
]
},
{
"frame": 1.875,
"value": [
-359,
-99
]
}
],
"angle": [
{
"frame": 0.75,
"value": 0
},
{
"frame": 1.875,
"value": 180
}
]
}
},
"12": {
"props": {
"opacity": [
{
"frame": 0.875,
"value": 0
},
{
"frame": 1,
"value": 255
},
{
"frame": 2.125,
"value": 255
},
{
"frame": 2.5,
"value": 0
}
],
"position": [
{
"frame": 1,
"value": [
0,
0
],
"motionPath": []
},
{
"frame": 2.5,
"value": [
171,
-424
],
"motionPath": []
}
],
"angle": [
{
"frame": 1,
"value": 0
},
{
"frame": 2.5,
"value": 180
}
]
}
},
"13": {
"props": {
"opacity": [
{
"frame": 0,
"value": 0
},
{
"frame": 0.125,
"value": 255
},
{
"frame": 1,
"value": 255
},
{
"frame": 1.25,
"value": 0
}
],
"position": [
{
"frame": 0.125,
"value": [
0,
0,
0
]
},
{
"frame": 1.25,
"value": [
186,
-208
],
"motionPath": []
}
],
"angle": [
{
"frame": 0.125,
"value": 0
},
{
"frame": 1.25,
"value": 180
}
]
}
},
"14": {
"props": {
"opacity": [
{
"frame": 0,
"value": 0
},
{
"frame": 0.125,
"value": 255
},
{
"frame": 1.625,
"value": 255
},
{
"frame": 1.875,
"value": 0
}
],
"position": [
{
"frame": 0.125,
"value": [
0,
0,
0
]
},
{
"frame": 1.875,
"value": [
150,
-443
]
}
],
"angle": [
{
"frame": 0.125,
"value": 0
},
{
"frame": 1.875,
"value": 180
}
]
}
},
"15": {
"props": {
"opacity": [
{
"frame": 0.375,
"value": 0
},
{
"frame": 0.5,
"value": 255
},
{
"frame": 1.375,
"value": 255
},
{
"frame": 1.625,
"value": 0
}
],
"position": [
{
"frame": 0.5,
"value": [
0,
0,
0
]
},
{
"frame": 1.625,
"value": [
-204.867,
-257.913,
0
]
}
],
"angle": [
{
"frame": 0.5,
"value": 0
},
{
"frame": 1.625,
"value": 180
}
]
}
}
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.1.0",
"uuid": "ac5cd74f-7311-4fae-a586-f37a87e61455",
"subMetas": {}
}
\ No newline at end of file
{
"__type__": "cc.AnimationClip",
"_name": "eff_welldown",
"_objFlags": 0,
"_native": "",
"_duration": 2,
"sample": 4,
"speed": 1,
"wrapMode": 1,
"curveData": {
"paths": {
"1": {
"props": {
"position": [
{
"frame": 0.25,
"value": [
50,
50,
0
]
},
{
"frame": 1.25,
"value": [
500,
0,
0
]
}
],
"opacity": [
{
"frame": 0,
"value": 0
},
{
"frame": 0.25,
"value": 255
},
{
"frame": 1,
"value": 255
},
{
"frame": 1.25,
"value": 0
}
],
"angle": [
{
"frame": 0,
"value": 0
},
{
"frame": 1.25,
"value": 360
}
]
}
},
"2": {
"props": {
"position": [
{
"frame": 0.5,
"value": [
0,
0,
0
]
},
{
"frame": 1.5,
"value": [
500,
-300,
0
]
}
],
"opacity": [
{
"frame": 0.25,
"value": 0
},
{
"frame": 0.5,
"value": 255
},
{
"frame": 1.25,
"value": 255
},
{
"frame": 1.5,
"value": 0
}
],
"angle": [
{
"frame": 0.25,
"value": 0
},
{
"frame": 1.5,
"value": 360
}
]
}
},
"3": {
"props": {
"position": [
{
"frame": 0.75,
"value": [
0,
0,
0
]
},
{
"frame": 2,
"value": [
-167.884,
-461.671,
0
]
}
],
"opacity": [
{
"frame": 0.5,
"value": 0
},
{
"frame": 0.75,
"value": 255
},
{
"frame": 1.75,
"value": 255
},
{
"frame": 2,
"value": 0
}
],
"angle": [
{
"frame": 0.5,
"value": 0
},
{
"frame": 2,
"value": 360
}
]
}
},
"4": {
"props": {
"position": [
{
"frame": 0.25,
"value": [
-50,
-100,
0
]
},
{
"frame": 1.25,
"value": [
-470.48,
-173.571,
0
]
}
],
"opacity": [
{
"frame": 0,
"value": 0
},
{
"frame": 0.25,
"value": 255
},
{
"frame": 1,
"value": 255
},
{
"frame": 1.25,
"value": 0
}
],
"angle": [
{
"frame": 0,
"value": 0
},
{
"frame": 1.25,
"value": 360
}
]
}
},
"5": {
"props": {
"position": [
{
"frame": 0.75,
"value": [
0,
0,
0
]
},
{
"frame": 1.75,
"value": [
-583.699,
269.428,
0
]
}
],
"opacity": [
{
"frame": 0.5,
"value": 0
},
{
"frame": 0.75,
"value": 255
},
{
"frame": 1.5,
"value": 255
},
{
"frame": 1.75,
"value": 0
}
],
"angle": [
{
"frame": 0.5,
"value": 0
},
{
"frame": 1.75,
"value": 360
}
]
}
},
"6": {
"props": {
"position": [
{
"frame": 0.5,
"value": [
0,
0,
0
]
},
{
"frame": 1.5,
"value": [
-374.144,
395.161,
0
]
}
],
"opacity": [
{
"frame": 0.25,
"value": 0
},
{
"frame": 0.5,
"value": 255
},
{
"frame": 1.25,
"value": 255
},
{
"frame": 1.5,
"value": 0
}
],
"angle": [
{
"frame": 0.25,
"value": 0
},
{
"frame": 1.5,
"value": 360
}
]
}
},
"7": {
"props": {
"position": [
{
"frame": 0.25,
"value": [
61,
70,
0
]
},
{
"frame": 1.25,
"value": [
92.864,
443.059,
0
]
}
],
"opacity": [
{
"frame": 0,
"value": 0
},
{
"frame": 0.25,
"value": 255
},
{
"frame": 1,
"value": 255
},
{
"frame": 1.25,
"value": 0
}
],
"angle": [
{
"frame": 0,
"value": 0
},
{
"frame": 1.25,
"value": 360
}
]
}
},
"8": {
"props": {
"position": [
{
"frame": 1,
"value": [
0,
0,
0
]
},
{
"frame": 2,
"value": [
314.394,
353.25,
0
]
}
],
"opacity": [
{
"frame": 0.75,
"value": 0
},
{
"frame": 1,
"value": 255
},
{
"frame": 1.75,
"value": 255
},
{
"frame": 2,
"value": 0
}
],
"angle": [
{
"frame": 0.75,
"value": 0
},
{
"frame": 2,
"value": 360
}
]
}
},
"9": {
"props": {
"position": [
{
"frame": 0.25,
"value": [
0,
0,
0
]
},
{
"frame": 1.25,
"value": [
-326.246,
-167.644,
0
]
}
],
"opacity": [
{
"frame": 0,
"value": 0
},
{
"frame": 0.25,
"value": 255
},
{
"frame": 1,
"value": 255
},
{
"frame": 1.25,
"value": 0
}
],
"angle": [
{
"frame": 0,
"value": 0
},
{
"frame": 1.25,
"value": 360
}
]
}
},
"10": {
"props": {
"position": [
{
"frame": 1,
"value": [
0,
0,
0
]
},
{
"frame": 2,
"value": [
188.661,
347.263,
0
]
}
],
"opacity": [
{
"frame": 0.75,
"value": 0
},
{
"frame": 1,
"value": 255
},
{
"frame": 1.75,
"value": 255
},
{
"frame": 2,
"value": 0
}
],
"angle": [
{
"frame": 0.75,
"value": 0
},
{
"frame": 2,
"value": 360
}
]
}
},
"11": {
"props": {
"position": [
{
"frame": 0.75,
"value": [
0,
0,
0
]
},
{
"frame": 1.75,
"value": [
-350.195,
-359.237,
0
]
}
],
"opacity": [
{
"frame": 0.5,
"value": 0
},
{
"frame": 0.75,
"value": 255
},
{
"frame": 1.5,
"value": 255
},
{
"frame": 1.75,
"value": 0
}
],
"angle": [
{
"frame": 0.5,
"value": 0
},
{
"frame": 1.75,
"value": 360
}
]
}
},
"12": {
"props": {
"position": [
{
"frame": 0.25,
"value": [
-60,
80,
0
]
},
{
"frame": 1.25,
"value": [
251.579,
248.754,
0
]
}
],
"opacity": [
{
"frame": 0,
"value": 0
},
{
"frame": 0.25,
"value": 255
},
{
"frame": 1,
"value": 255
},
{
"frame": 1.25,
"value": 0
}
],
"angle": [
{
"frame": 0,
"value": 0
},
{
"frame": 1.25,
"value": 360
}
]
}
},
"13": {
"props": {
"position": [
{
"frame": 1,
"value": [
0,
0,
0
]
},
{
"frame": 2,
"value": [
-224.462,
317.326,
0
]
}
],
"opacity": [
{
"frame": 0.75,
"value": 0
},
{
"frame": 1,
"value": 255
},
{
"frame": 1.75,
"value": 255
},
{
"frame": 2,
"value": 0
}
],
"angle": [
{
"frame": 0.75,
"value": 0
},
{
"frame": 2,
"value": 360
}
]
}
},
"14": {
"props": {
"position": [
{
"frame": 0.25,
"value": [
60,
-80,
0
]
},
{
"frame": 1.25,
"value": [
158.725,
335.288,
0
]
}
],
"opacity": [
{
"frame": 0,
"value": 0
},
{
"frame": 0.25,
"value": 255
},
{
"frame": 1,
"value": 255
},
{
"frame": 1.25,
"value": 0
}
],
"angle": [
{
"frame": 0,
"value": 0
},
{
"frame": 1.25,
"value": 360
}
]
}
},
"15": {
"props": {
"position": [
{
"frame": 0.75,
"value": [
0,
0,
0
]
},
{
"frame": 1.75,
"value": [
182.674,
-275.415,
0
]
}
],
"opacity": [
{
"frame": 0.5,
"value": 0
},
{
"frame": 0.75,
"value": 255
},
{
"frame": 1.5,
"value": 255
},
{
"frame": 1.75,
"value": 0
}
],
"angle": [
{
"frame": 0.5,
"value": 0
},
{
"frame": 1.75,
"value": 360
}
]
}
},
"lb_welldone": {
"props": {
"scale": [
{
"frame": 0,
"value": {
"__type__": "cc.Vec2",
"x": 0,
"y": 1
}
},
{
"frame": 0.25,
"value": {
"__type__": "cc.Vec2",
"x": 1,
"y": 1
}
},
{
"frame": 0.5,
"value": {
"__type__": "cc.Vec2",
"x": 0,
"y": 1
}
},
{
"frame": 0.75,
"value": {
"__type__": "cc.Vec2",
"x": 1,
"y": 1
}
}
]
}
}
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.1.0",
"uuid": "ce2d6cce-f4b4-4f14-b57c-f026dc181a88",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.0",
"uuid": "61fcc759-2eb5-4e50-a2f3-0cc3393881d8",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "a777fdf7-eb0b-41df-b0f7-ada8ed99b97d",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
[ [
{ {
"__type__": "cc.SceneAsset", "__type__": "cc.Prefab",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"_native": "", "_native": "",
"scene": { "data": {
"__id__": 1 "__id__": 1
} },
"optimizationPolicy": 0,
"asyncLoadAssets": false,
"readonly": false
}, },
{ {
"__type__": "cc.Scene", "__type__": "cc.Node",
"_name": "node_eff",
"_objFlags": 0, "_objFlags": 0,
"_parent": null, "_parent": null,
"_children": [ "_children": [
{ {
"__id__": 2 "__id__": 2
}
],
"_active": false,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
}, },
"_contentSize": { {
"__type__": "cc.Size", "__id__": 5
"width": 0,
"height": 0
}, },
"_anchorPoint": { {
"__type__": "cc.Vec2", "__id__": 8
"x": 0,
"y": 0
}, },
"_trs": { {
"__type__": "TypedArray", "__id__": 11
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
}, },
"_is3DNode": true, {
"_groupIndex": 0, "__id__": 14
"groupIndex": 0,
"autoReleaseAssets": true,
"_id": "57ea7c61-9b8b-498a-b024-c98ee9124beb"
}, },
{ {
"__type__": "cc.Node", "__id__": 17
"_name": "Canvas",
"_objFlags": 0,
"_parent": {
"__id__": 1
}, },
"_children": [
{ {
"__id__": 3 "__id__": 20
}, },
{ {
"__id__": 5 "__id__": 23
}, },
{ {
"__id__": 7 "__id__": 26
}, },
{ {
"__id__": 14 "__id__": 29
},
{
"__id__": 32
},
{
"__id__": 35
},
{
"__id__": 38
},
{
"__id__": 41
},
{
"__id__": 44
},
{
"__id__": 47
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 24 "__id__": 50
},
{
"__id__": 25
}, },
{ {
"__id__": 26 "__id__": 51
} }
], ],
"_prefab": null, "_prefab": {
"__id__": 52
},
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -104,8 +88,8 @@ ...@@ -104,8 +88,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1280, "width": 0,
"height": 720 "height": 0
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -116,8 +100,8 @@ ...@@ -116,8 +100,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
640, 0,
360, 0,
0, 0,
0, 0,
0, 0,
...@@ -139,23 +123,25 @@ ...@@ -139,23 +123,25 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "a5esZu+45LA5mBpvttspPD" "_id": ""
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "Main Camera", "_name": "lb_welldone",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 1
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 4 "__id__": 3
} }
], ],
"_prefab": null, "_prefab": {
"__id__": 4
},
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -166,8 +152,8 @@ ...@@ -166,8 +152,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1280, "width": 652,
"height": 720 "height": 105
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -180,7 +166,7 @@ ...@@ -180,7 +166,7 @@
"array": [ "array": [
0, 0,
0, 0,
362.85545494732423, 0,
0, 0,
0, 0,
0, 0,
...@@ -201,50 +187,57 @@ ...@@ -201,50 +187,57 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "e1WoFrQ79G7r4ZuQE3HlNb" "_id": ""
}, },
{ {
"__type__": "cc.Camera", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 3 "__id__": 2
}, },
"_enabled": true, "_enabled": true,
"_cullingMask": 4294967295, "_materials": [
"_clearFlags": 7, {
"_backgroundColor": { "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
"__type__": "cc.Color", }
"r": 0, ],
"g": 0, "_srcBlendFactor": 770,
"b": 0, "_dstBlendFactor": 771,
"a": 255 "_spriteFrame": {
"__uuid__": "04f73d5e-ffe4-45eb-9e9e-2413b32266a9"
}, },
"_depth": -1, "_type": 0,
"_zoomRatio": 1, "_sizeMode": 1,
"_targetTexture": null, "_fillType": 0,
"_fov": 60, "_fillCenter": {
"_orthoSize": 10, "__type__": "cc.Vec2",
"_nearClip": 1,
"_farClip": 4096,
"_ortho": true,
"_rect": {
"__type__": "cc.Rect",
"x": 0, "x": 0,
"y": 0, "y": 0
"width": 1, },
"height": 1 "_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
}, },
"_renderStages": 1, {
"_alignWithScreen": true, "__type__": "cc.PrefabInfo",
"_id": "81GN3uXINKVLeW4+iKSlim" "root": {
"__id__": 1
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "35Tyw/P31GdIO3gK5IBrbS",
"sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bg", "_name": "1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 1
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
...@@ -253,7 +246,9 @@ ...@@ -253,7 +246,9 @@
"__id__": 6 "__id__": 6
} }
], ],
"_prefab": null, "_prefab": {
"__id__": 7
},
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -264,8 +259,8 @@ ...@@ -264,8 +259,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1280, "width": 42,
"height": 720 "height": 41
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -299,7 +294,7 @@ ...@@ -299,7 +294,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "32MJMZ2HRGF4BOf533Avyi" "_id": ""
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
...@@ -317,7 +312,7 @@ ...@@ -317,7 +312,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "8288e3d4-4c75-4b27-8f01-f7014417f4dd" "__uuid__": "72726b06-efbb-49a1-906e-3d0b4f8f812a"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -331,26 +326,36 @@ ...@@ -331,26 +326,36 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "97/S6HDq9MeqgmV1Zwnhbb" "_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "76m/1YoXhKuLw/wo3pf/Np",
"sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bottomPart", "_name": "2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 1
},
"_children": [
{
"__id__": 8
}, },
"_children": [],
"_active": true,
"_components": [
{ {
"__id__": 11 "__id__": 9
} }
], ],
"_active": true, "_prefab": {
"_components": [], "__id__": 10
"_prefab": null, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -361,8 +366,8 @@ ...@@ -361,8 +366,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 42,
"height": 0 "height": 41
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -373,8 +378,8 @@ ...@@ -373,8 +378,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
635.132, 0,
-356.326, 0,
0, 0,
0, 0,
0, 0,
...@@ -396,26 +401,68 @@ ...@@ -396,26 +401,68 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "8c7k8ep/ZFNpO263+1QHz9" "_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "72726b06-efbb-49a1-906e-3d0b4f8f812a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "fe0+rb/NdGvZJ+82PToAHV",
"sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "btn_left", "_name": "3",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 7 "__id__": 1
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 9 "__id__": 12
},
{
"__id__": 10
} }
], ],
"_prefab": null, "_prefab": {
"__id__": 13
},
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -426,8 +473,8 @@ ...@@ -426,8 +473,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 61, "width": 42,
"height": 67 "height": 41
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -438,8 +485,8 @@ ...@@ -438,8 +485,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-148.464, 0,
34, 0,
0, 0,
0, 0,
0, 0,
...@@ -461,14 +508,14 @@ ...@@ -461,14 +508,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "5ad2wLQLxIN5Eg7OHecSH6" "_id": ""
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 8 "__id__": 11
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -479,7 +526,7 @@ ...@@ -479,7 +526,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "ce19457d-e8f3-4c38-ae3e-d4b99208ddb5" "__uuid__": "72726b06-efbb-49a1-906e-3d0b4f8f812a"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -493,94 +540,36 @@ ...@@ -493,94 +540,36 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "84mqOgJ3JNqZrYVTEU8CjE" "_id": ""
}, },
{ {
"__type__": "cc.Button", "__type__": "cc.PrefabInfo",
"_name": "", "root": {
"_objFlags": 0, "__id__": 1
"node": {
"__id__": 8
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
}, },
"_N$disabledColor": { "asset": {
"__type__": "cc.Color", "__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
"r": 124,
"g": 124,
"b": 124,
"a": 255
}, },
"_N$normalSprite": null, "fileId": "05I9Q0wcNCX7VelH7HyzIJ",
"_N$pressedSprite": null, "sync": false
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "bcYN/4EKBJhbIAfovo9Ah1"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "btn_right", "_name": "4",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 7 "__id__": 1
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 12 "__id__": 15
},
{
"__id__": 13
} }
], ],
"_prefab": null, "_prefab": {
"__id__": 16
},
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -591,8 +580,8 @@ ...@@ -591,8 +580,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 60, "width": 42,
"height": 66 "height": 41
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -603,8 +592,8 @@ ...@@ -603,8 +592,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-47.164, 0,
34, 0,
0, 0,
0, 0,
0, 0,
...@@ -626,14 +615,14 @@ ...@@ -626,14 +615,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "46i3stdzpHX6zQHTGnRsNE" "_id": ""
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 11 "__id__": 14
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -644,7 +633,7 @@ ...@@ -644,7 +633,7 @@
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "e5a2dbaa-a677-4a32-90d7-a1b057d7fb59" "__uuid__": "72726b06-efbb-49a1-906e-3d0b4f8f812a"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -658,97 +647,464 @@ ...@@ -658,97 +647,464 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "42Sh8QS/BHn4WiGyPQPKPt" "_id": ""
}, },
{ {
"__type__": "cc.Button", "__type__": "cc.PrefabInfo",
"_name": "", "root": {
"_objFlags": 0, "__id__": 1
"node": {
"__id__": 11
}, },
"_enabled": true, "asset": {
"_normalMaterial": null, "__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
}, },
"_N$pressedColor": { "fileId": "75F78+Bb1A/LuyTYLiB5pf",
"__type__": "cc.Color", "sync": false
"r": 211,
"g": 211,
"b": 211,
"a": 255
}, },
"pressedColor": { {
"__type__": "cc.Color", "__type__": "cc.Node",
"r": 211, "_name": "5",
"g": 211, "_objFlags": 0,
"b": 211, "_parent": {
"a": 255 "__id__": 1
}, },
"_N$hoverColor": { "_children": [],
"_active": true,
"_components": [
{
"__id__": 18
}
],
"_prefab": {
"__id__": 19
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
"g": 255, "g": 255,
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"hoverColor": { "_contentSize": {
"__type__": "cc.Size",
"width": 42,
"height": 41
},
"_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": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 17
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "72726b06-efbb-49a1-906e-3d0b4f8f812a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "e6KZjHeZxCDJHAE3HHqAZM",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "6",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 21
}
],
"_prefab": {
"__id__": 22
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
"g": 255, "g": 255,
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"_N$disabledColor": { "_contentSize": {
"__type__": "cc.Size",
"width": 42,
"height": 41
},
"_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": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 20
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "72726b06-efbb-49a1-906e-3d0b4f8f812a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "aaCZGxbvtCZr7M96nARYBC",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "7",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 24
}
],
"_prefab": {
"__id__": 25
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 124, "r": 255,
"g": 124, "g": 255,
"b": 124, "b": 255,
"a": 255 "a": 255
}, },
"_N$normalSprite": null, "_contentSize": {
"_N$pressedSprite": null, "__type__": "cc.Size",
"pressedSprite": null, "width": 42,
"_N$hoverSprite": null, "height": 41
"hoverSprite": null, },
"_N$disabledSprite": null, "_anchorPoint": {
"_N$target": null, "__type__": "cc.Vec2",
"_id": "1aj32fYY1IxLesa77E70Qu" "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": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 23
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "72726b06-efbb-49a1-906e-3d0b4f8f812a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "89VfwaCwNMm6ZNNf/QcepQ",
"sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "res", "_name": "8",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 1
}, },
"_children": [ "_children": [],
"_active": true,
"_components": [
{ {
"__id__": 15 "__id__": 27
}
],
"_prefab": {
"__id__": 28
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 42,
"height": 41
},
"_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": ""
}, },
{ {
"__id__": 18 "__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 26
}, },
"_enabled": true,
"_materials": [
{ {
"__id__": 21 "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "72726b06-efbb-49a1-906e-3d0b4f8f812a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "71mfBcU+hAHIOKuyR4nVOB",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "9",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 30
} }
], ],
"_active": false, "_prefab": {
"_components": [], "__id__": 31
"_prefab": null, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -759,8 +1115,8 @@ ...@@ -759,8 +1115,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 42,
"height": 0 "height": 41
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -786,31 +1142,76 @@ ...@@ -786,31 +1142,76 @@
"_eulerAngles": { "_eulerAngles": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 0, "y": 0,
"z": 0 "z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 29
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "72726b06-efbb-49a1-906e-3d0b4f8f812a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
}, },
"_skewX": 0, "_fillStart": 0,
"_skewY": 0, "_fillRange": 0,
"_is3DNode": false, "_isTrimmedMode": true,
"_groupIndex": 0, "_atlas": null,
"groupIndex": 0, "_id": ""
"_id": "0aAzbH6R1E+6AmGRrkKa5O" },
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "b36x1JLelErbYfGF0+OIOQ",
"sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "font", "_name": "10",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 14 "__id__": 1
}, },
"_children": [ "_children": [],
"_active": true,
"_components": [
{ {
"__id__": 16 "__id__": 33
} }
], ],
"_active": true, "_prefab": {
"_components": [], "__id__": 34
"_prefab": null, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -821,8 +1222,8 @@ ...@@ -821,8 +1222,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 42,
"height": 0 "height": 41
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -856,23 +1257,68 @@ ...@@ -856,23 +1257,68 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "9bLfcYeeNKrr524vzWchiM" "_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 32
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "72726b06-efbb-49a1-906e-3d0b4f8f812a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "2007RB/yROS7T9pAnLMUyO",
"sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "BRLNSDB", "_name": "11",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 15 "__id__": 1
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 17 "__id__": 36
} }
], ],
"_prefab": null, "_prefab": {
"__id__": 37
},
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -883,8 +1329,8 @@ ...@@ -883,8 +1329,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 42,
"height": 0 "height": 41
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -918,55 +1364,68 @@ ...@@ -918,55 +1364,68 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "cfMLGsq0BMhJARv+ySMAxS" "_id": ""
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 16 "__id__": 35
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_useOriginalSize": true, "_spriteFrame": {
"_string": "", "__uuid__": "72726b06-efbb-49a1-906e-3d0b4f8f812a"
"_N$string": "", },
"_fontSize": 40, "_type": 0,
"_lineHeight": 40, "_sizeMode": 1,
"_enableWrapText": true, "_fillType": 0,
"_N$file": { "_fillCenter": {
"__uuid__": "c551970e-b095-45f3-9f1d-25cde8b8deb1" "__type__": "cc.Vec2",
}, "x": 0,
"_isSystemFontUsed": false, "y": 0
"_spacingX": 0, },
"_batchAsBitmap": false, "_fillStart": 0,
"_styleFlags": 0, "_fillRange": 0,
"_underlineHeight": 0, "_isTrimmedMode": true,
"_N$horizontalAlign": 0, "_atlas": null,
"_N$verticalAlign": 0, "_id": ""
"_N$fontFamily": "Arial", },
"_N$overflow": 0, {
"_N$cacheMode": 0, "__type__": "cc.PrefabInfo",
"_id": "9bNHNPu5lC7rQYyr8ai/sY" "root": {
"__id__": 1
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "86yRQTftpHHoE3o/n11Zrg",
"sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "img", "_name": "12",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 14 "__id__": 1
}, },
"_children": [ "_children": [],
"_active": true,
"_components": [
{ {
"__id__": 19 "__id__": 39
} }
], ],
"_active": true, "_prefab": {
"_components": [], "__id__": 40
"_prefab": null, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -977,8 +1436,8 @@ ...@@ -977,8 +1436,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 42,
"height": 0 "height": 41
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1012,23 +1471,68 @@ ...@@ -1012,23 +1471,68 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "53LUHHG2pEr79fyrvazXJs" "_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 38
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "72726b06-efbb-49a1-906e-3d0b4f8f812a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "ecz6dAtJdOLoaMFFJn7RuH",
"sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "icon", "_name": "13",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 18 "__id__": 1
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 20 "__id__": 42
} }
], ],
"_prefab": null, "_prefab": {
"__id__": 43
},
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -1039,8 +1543,8 @@ ...@@ -1039,8 +1543,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 138, "width": 42,
"height": 141 "height": 41
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1074,21 +1578,25 @@ ...@@ -1074,21 +1578,25 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "1blU2OArJIfoC9XfupGxJG" "_id": ""
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 19 "__id__": 41
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770, "_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "6fbc30a8-3c49-44ae-8ba4-7f56f385b78a" "__uuid__": "72726b06-efbb-49a1-906e-3d0b4f8f812a"
}, },
"_type": 0, "_type": 0,
"_sizeMode": 1, "_sizeMode": 1,
...@@ -1102,23 +1610,36 @@ ...@@ -1102,23 +1610,36 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "03GEWUEZJGyKormWgIWCtM" "_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "7ay8+OihNLD7RC2UiwXQmm",
"sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "audio", "_name": "14",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 14 "__id__": 1
}, },
"_children": [ "_children": [],
"_active": true,
"_components": [
{ {
"__id__": 22 "__id__": 45
} }
], ],
"_active": true, "_prefab": {
"_components": [], "__id__": 46
"_prefab": null, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -1129,8 +1650,8 @@ ...@@ -1129,8 +1650,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 42,
"height": 0 "height": 41
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1164,23 +1685,68 @@ ...@@ -1164,23 +1685,68 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "b823DIVC9L+Ihc3T9Bt7m3" "_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 44
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "72726b06-efbb-49a1-906e-3d0b4f8f812a"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "3520pMhBlGxJitYgHAHJQf",
"sync": false
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "btn", "_name": "15",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 21 "__id__": 1
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 23 "__id__": 48
} }
], ],
"_prefab": null, "_prefab": {
"__id__": 49
},
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
...@@ -1191,8 +1757,8 @@ ...@@ -1191,8 +1757,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 42,
"height": 0 "height": 41
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -1226,78 +1792,92 @@ ...@@ -1226,78 +1792,92 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "3d0p0/uJZJIoRva5Br2iqv" "_id": ""
}, },
{ {
"__type__": "cc.AudioSource", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 22 "__id__": 47
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_materials": [
"__uuid__": "f0680ae0-c079-45ef-abd7-9e63d90b982b" {
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "72726b06-efbb-49a1-906e-3d0b4f8f812a"
}, },
"_volume": 1, "_type": 0,
"_mute": false, "_sizeMode": 1,
"_loop": false, "_fillType": 0,
"playOnLoad": false, "_fillCenter": {
"preload": false, "__type__": "cc.Vec2",
"_id": "0adN50f61DlbmppsPkOnjX" "x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
}, },
{ {
"__type__": "cc.Canvas", "__type__": "cc.PrefabInfo",
"_name": "", "root": {
"_objFlags": 0, "__id__": 1
"node": {
"__id__": 2
}, },
"_enabled": true, "asset": {
"_designResolution": { "__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
"__type__": "cc.Size",
"width": 1280,
"height": 720
}, },
"_fitWidth": false, "fileId": "0ciXghXNpARaE1WPm2o5ps",
"_fitHeight": false, "sync": false
"_id": "59Cd0ovbdF4byw5sbjJDx7"
}, },
{ {
"__type__": "cc.Widget", "__type__": "cc.Animation",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 2 "__id__": 1
}, },
"_enabled": true, "_enabled": true,
"alignMode": 1, "_defaultClip": {
"_target": null, "__uuid__": "ce2d6cce-f4b4-4f14-b57c-f026dc181a88"
"_alignFlags": 45, },
"_left": 0, "_clips": [
"_right": 0, {
"_top": 0, "__uuid__": "ce2d6cce-f4b4-4f14-b57c-f026dc181a88"
"_bottom": 0, }
"_verticalCenter": 0, ],
"_horizontalCenter": 0, "playOnLoad": false,
"_isAbsLeft": true, "_id": ""
"_isAbsRight": true, },
"_isAbsTop": true, {
"_isAbsBottom": true, "__type__": "872dfN0oZxGYp09H4Uym11J",
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "29zXboiXFBKoIV4PQ2liTe"
},
{
"__type__": "f4edeRi+NdAabqAkVYRwFjK",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 2 "__id__": 1
}, },
"_enabled": true, "_enabled": true,
"_id": "e687yyoRBIzZAOVRL8Sseh" "eff_welldown": {
"__id__": 50
},
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "c020c4aa-c261-4e24-ae6e-a564a5bb6865"
},
"fileId": "",
"sync": false
} }
] ]
\ No newline at end of file
{
"ver": "1.2.9",
"uuid": "c020c4aa-c261-4e24-ae6e-a564a5bb6865",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
[
{
"__type__": "cc.SceneAsset",
"_name": "",
"_objFlags": 0,
"_native": "",
"scene": {
"__id__": 1
}
},
{
"__type__": "cc.Scene",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": false,
"_components": [],
"_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,
"y": 0
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_is3DNode": true,
"_groupIndex": 0,
"groupIndex": 0,
"autoReleaseAssets": true,
"_id": "57ea7c61-9b8b-498a-b024-c98ee9124beb"
},
{
"__type__": "cc.Node",
"_name": "Canvas",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 3
},
{
"__id__": 5
},
{
"__id__": 67
}
],
"_active": true,
"_components": [
{
"__id__": 69
},
{
"__id__": 70
},
{
"__id__": 71
},
{
"__id__": 72
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
640,
360,
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": "a5esZu+45LA5mBpvttspPD"
},
{
"__type__": "cc.Node",
"_name": "Main Camera",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
349.2653390168773,
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": "e1WoFrQ79G7r4ZuQE3HlNb"
},
{
"__type__": "cc.Camera",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 3
},
"_enabled": true,
"_cullingMask": 4294967295,
"_clearFlags": 7,
"_backgroundColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_depth": -1,
"_zoomRatio": 1,
"_targetTexture": null,
"_fov": 60,
"_orthoSize": 10,
"_nearClip": 1,
"_farClip": 4096,
"_ortho": true,
"_rect": {
"__type__": "cc.Rect",
"x": 0,
"y": 0,
"width": 1,
"height": 1
},
"_renderStages": 1,
"_alignWithScreen": true,
"_id": "81GN3uXINKVLeW4+iKSlim"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 6
},
{
"__id__": 8
},
{
"__id__": 63
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_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": "31WDCA+BhIJpE3V08br5ei"
},
{
"__type__": "cc.Node",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 7
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_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": "96kTNdO0dBloqWEU2sep7T"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a6ff9da0-8d31-4365-95d1-713cbc1875ab"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "1aHJtSgYNCY4arOE6l5oI0"
},
{
"__type__": "cc.Node",
"_name": "connent",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [
{
"__id__": 9
},
{
"__id__": 12
},
{
"__id__": 18
},
{
"__id__": 50
},
{
"__id__": 53
},
{
"__id__": 62
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_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": "8c3EPXCsRPfZ18UCoc4q9a"
},
{
"__type__": "cc.Node",
"_name": "bg_1",
"_objFlags": 0,
"_parent": {
"__id__": 8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
},
{
"__id__": 11
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 664
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-28,
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": "b0+T6Ik0ZLbIvq07nEv7TH"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "8d6cfdb8-7a9e-4ca0-b659-bfbdac1bec32"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "03UcoHKI1CZqrzZ8KMAMea"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
},
"_enabled": true,
"alignMode": 2,
"_target": null,
"_alignFlags": 44,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1280,
"_originalHeight": 0,
"_id": "ea1jxkYKJLqb6ZGvB2chFj"
},
{
"__type__": "cc.Node",
"_name": "top_frame",
"_objFlags": 0,
"_parent": {
"__id__": 8
},
"_children": [
{
"__id__": 13
}
],
"_active": true,
"_components": [
{
"__id__": 16
},
{
"__id__": 17
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 535,
"height": 83
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-372.5,
298.5,
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": "45GHytAI9BRZdIaLRb5S6N"
},
{
"__type__": "cc.Node",
"_name": "title",
"_objFlags": 0,
"_parent": {
"__id__": 12
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 14
},
{
"__id__": 15
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 108.09,
"height": 56.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
10,
8,
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": "368ZcPdldPF7fGnyXkyUiz"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "Label",
"_N$string": "Label",
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "1fc51dd0-d295-4a33-8b99-adcb5978c932"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "deuV1Ug8dCCIp9i/v1Cu6f"
},
{
"__type__": "cc.LabelOutline",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
},
"_enabled": true,
"_color": {
"__type__": "cc.Color",
"r": 15,
"g": 94,
"b": 15,
"a": 255
},
"_width": 3,
"_id": "7frrmdk2NGMbzvXCwfUI+h"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "ab23c2df-4942-4fcf-9443-592af1d01ed2"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "be0ELsarhIuoUSRbBJ5I7d"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 9,
"_left": 0,
"_right": 0,
"_top": 20,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "30udG3x11IJILlcDYWntvI"
},
{
"__type__": "cc.Node",
"_name": "Layout",
"_objFlags": 0,
"_parent": {
"__id__": 8
},
"_children": [
{
"__id__": 19
},
{
"__id__": 34
}
],
"_active": true,
"_components": [
{
"__id__": 49
}
],
"_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,
40,
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": "d1RyAsaahGvpBCCKBcLWhg"
},
{
"__type__": "cc.Node",
"_name": "connent_1",
"_objFlags": 0,
"_parent": {
"__id__": 18
},
"_children": [
{
"__id__": 20
},
{
"__id__": 22
},
{
"__id__": 24
},
{
"__id__": 28
},
{
"__id__": 30
}
],
"_active": true,
"_components": [
{
"__id__": 33
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 548,
"height": 398
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-300,
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": "9eKkuO2eJENry4ihzCZuN2"
},
{
"__type__": "cc.Node",
"_name": "connent_2",
"_objFlags": 0,
"_parent": {
"__id__": 19
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 21
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 520,
"height": 370
},
"_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": "8aijZzuFtMIIumJ3GdOR04"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 20
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d57838ee-9381-4ad6-86a1-b7e56ef37c63"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "54VD8EPFJNa5/gCbgZVYz+"
},
{
"__type__": "cc.Node",
"_name": "connent_4",
"_objFlags": 0,
"_parent": {
"__id__": 19
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 23
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 520,
"height": 370
},
"_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": "93j5uiqRFHh7e2ICKzl6E7"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 22
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "5b44835f-0fe4-4214-8407-3a52a45c952c"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "48G4kDwFpEe6hyYpALKMnT"
},
{
"__type__": "cc.Node",
"_name": "connent_3",
"_objFlags": 0,
"_parent": {
"__id__": 19
},
"_children": [
{
"__id__": 25
}
],
"_active": true,
"_components": [
{
"__id__": 27
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 488,
"height": 308
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-30,
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": "60MDazfANOGbDsOiRtX12a"
},
{
"__type__": "cc.Node",
"_name": "Layout",
"_objFlags": 0,
"_parent": {
"__id__": 24
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 26
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 450,
"height": 150
},
"_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": "e1Wve1KOtGXbyWo1hh7eDj"
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 25
},
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 450,
"height": 150
},
"_resize": 1,
"_N$layoutType": 3,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 0,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX": 0,
"_N$spacingY": 0,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
"_id": "d0FQXzSL5ExaecaoWOwgd3"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 24
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "4ef17b9f-5f8f-4b95-b62f-2fad213f8bb9"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "997ognXxtFR69FMA1r6lni"
},
{
"__type__": "cc.Node",
"_name": "db",
"_objFlags": 0,
"_parent": {
"__id__": 19
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 29
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 128,
"height": 128.32128078297362
},
"_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": "24zWPNMvdP4JtTdsY+wi9m"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 28
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "bf718d00-23b5-4393-8285-ef7a241b9afa#2a1c4975-20c7-425f-a159-537a0e44fbcb",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "bf718d00-23b5-4393-8285-ef7a241b9afa"
},
"_N$dragonAtlasAsset": {
"__uuid__": "2a1c4975-20c7-425f-a159-537a0e44fbcb"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "eafeGjMKlKaY3Od95BKbgH"
},
{
"__type__": "cc.Node",
"_name": "title",
"_objFlags": 0,
"_parent": {
"__id__": 19
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 31
},
{
"__id__": 32
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 129.1,
"height": 56.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
153.985,
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": "0fHQtoOotISpFlgdT+X7YB"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 30
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "Animal",
"_N$string": "Animal",
"_fontSize": 36,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "4fe6019f-f84c-439f-97b8-a4cfe2ddc7ca"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "5a0vxOp1FPIJHdqyqK0Qnp"
},
{
"__type__": "cc.LabelOutline",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 30
},
"_enabled": true,
"_color": {
"__type__": "cc.Color",
"r": 65,
"g": 123,
"b": 21,
"a": 255
},
"_width": 3,
"_id": "adf7cWZ9xFppQQG1bf7WyL"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "7336489a-cf3f-42c1-9810-6677b958df0e"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "0d3JRdtENAu6l1JuRrWgP+"
},
{
"__type__": "cc.Node",
"_name": "connent_1",
"_objFlags": 0,
"_parent": {
"__id__": 18
},
"_children": [
{
"__id__": 35
},
{
"__id__": 37
},
{
"__id__": 39
},
{
"__id__": 43
},
{
"__id__": 45
}
],
"_active": true,
"_components": [
{
"__id__": 48
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 548,
"height": 398
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
300,
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": "b3I8iHNs5H653ZGrRJvCw0"
},
{
"__type__": "cc.Node",
"_name": "connent_2",
"_objFlags": 0,
"_parent": {
"__id__": 34
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 36
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 520,
"height": 370
},
"_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": "8b9oc5GGZKxIDQ7sC9+kDw"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 35
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "d57838ee-9381-4ad6-86a1-b7e56ef37c63"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "71gZee3rlDjZ1Fa/fo8Xj7"
},
{
"__type__": "cc.Node",
"_name": "connent_4",
"_objFlags": 0,
"_parent": {
"__id__": 34
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 38
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 520,
"height": 370
},
"_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": "5fBK933CxFIapixymUWogI"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 37
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "5b44835f-0fe4-4214-8407-3a52a45c952c"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "fcwn0bg9FO2KvYlWUK8Lmh"
},
{
"__type__": "cc.Node",
"_name": "connent_3",
"_objFlags": 0,
"_parent": {
"__id__": 34
},
"_children": [
{
"__id__": 40
}
],
"_active": true,
"_components": [
{
"__id__": 42
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 488,
"height": 308
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-30,
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": "79p9lim+xEDbMY0J/0Vwws"
},
{
"__type__": "cc.Node",
"_name": "Layout",
"_objFlags": 0,
"_parent": {
"__id__": 39
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 41
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 450,
"height": 150
},
"_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": "7eCMUGMHlOlLKHbD55MUAv"
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 40
},
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 450,
"height": 150
},
"_resize": 1,
"_N$layoutType": 3,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 0,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX": 0,
"_N$spacingY": 0,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
"_id": "d05uEn0C1LuIZM8W+K5VIB"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 39
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "4ef17b9f-5f8f-4b95-b62f-2fad213f8bb9"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "b192TXlBNB/KMUD5baE4iK"
},
{
"__type__": "cc.Node",
"_name": "db",
"_objFlags": 0,
"_parent": {
"__id__": 34
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 44
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 128,
"height": 128.32128078297362
},
"_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": "b7yBabHe5DGrqynLL15hsA"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 43
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "bf718d00-23b5-4393-8285-ef7a241b9afa#2a1c4975-20c7-425f-a159-537a0e44fbcb",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "bf718d00-23b5-4393-8285-ef7a241b9afa"
},
"_N$dragonAtlasAsset": {
"__uuid__": "2a1c4975-20c7-425f-a159-537a0e44fbcb"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "807ZOr+ltLtJ8CeAumtE9N"
},
{
"__type__": "cc.Node",
"_name": "title",
"_objFlags": 0,
"_parent": {
"__id__": 34
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 46
},
{
"__id__": 47
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 129.1,
"height": 56.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
153.985,
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": "7fYTFXp4VPSpJ8N2B7KH/c"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 45
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "Animal",
"_N$string": "Animal",
"_fontSize": 36,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "4fe6019f-f84c-439f-97b8-a4cfe2ddc7ca"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "b0A/LXU/hDsr/BwzgOXFE3"
},
{
"__type__": "cc.LabelOutline",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 45
},
"_enabled": true,
"_color": {
"__type__": "cc.Color",
"r": 65,
"g": 123,
"b": 21,
"a": 255
},
"_width": 3,
"_id": "db5Ue32+tLxa+7YiVYVCk3"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 34
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "7336489a-cf3f-42c1-9810-6677b958df0e"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c16Ebf6NlCKoz1P3sG8xAk"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 18
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 4,
"_left": 540,
"_right": 540,
"_top": 196.60000000000002,
"_bottom": 400,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 200,
"_originalHeight": 150,
"_id": "d17f/rlTJGcZd5N6swgTWQ"
},
{
"__type__": "cc.Node",
"_name": "frame",
"_objFlags": 0,
"_parent": {
"__id__": 8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 51
},
{
"__id__": 52
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 200
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-260,
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": "7a2Du6XOBLzrXB4Oq6+8Qr"
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
},
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 200
},
"_resize": 0,
"_N$layoutType": 3,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 40,
"_N$paddingRight": 40,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX": 10,
"_N$spacingY": 0,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
"_id": "eahGg7w01C4oTBvDfTeDux"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 50
},
"_enabled": true,
"alignMode": 2,
"_target": null,
"_alignFlags": 4,
"_left": 490,
"_right": 490,
"_top": 520,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 300,
"_originalHeight": 200,
"_id": "17Q98Bqt1KDZx8CVAr3/AC"
},
{
"__type__": "cc.Node",
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 8
},
"_children": [
{
"__id__": 54
},
{
"__id__": 56
},
{
"__id__": 58
}
],
"_active": false,
"_components": [
{
"__id__": 60
},
{
"__id__": 61
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 110,
"height": 61
},
"_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": "49PYhrnt5CdYVwzgHWbFjY"
},
{
"__type__": "cc.Node",
"_name": "red",
"_objFlags": 0,
"_parent": {
"__id__": 53
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 55
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 230,
"g": 0,
"b": 0,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 110,
"height": 61
},
"_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": "3bZdfCDMNNnITxi8ds4KV1"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 54
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b4b3adb0-395b-4a27-bbbb-7b8f6bbc8cc4"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "cfe990eEdPQbw1zcZ7xRRJ"
},
{
"__type__": "cc.Node",
"_name": "name",
"_objFlags": 0,
"_parent": {
"__id__": 53
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 57
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 150,
"g": 89,
"b": 37,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 90,
"height": 42.84
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
3,
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": "a8OQAmpolHS6PQFymXQ7t2"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 56
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "telefe",
"_N$string": "telefe",
"_fontSize": 24,
"_lineHeight": 30,
"_enableWrapText": false,
"_N$file": {
"__uuid__": "f0214b38-1b2a-41ef-aa3e-1d6949fd3b12"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 2,
"_N$cacheMode": 0,
"_id": "21uhKirqFMYLj9JTXT3GXy"
},
{
"__type__": "cc.Node",
"_name": "photo",
"_objFlags": 0,
"_parent": {
"__id__": 53
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 59
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_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": "97RwUkWZVF67SNAPE5ooes"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 58
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "3f8b5930-2b6f-4ebf-8d24-4e0ea93fa0dd"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "7dWW2Y7oxCPYmBsaNkxnDV"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 53
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b4b3adb0-395b-4a27-bbbb-7b8f6bbc8cc4"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "a2UAoOxgFFJ5seWvso77vq"
},
{
"__type__": "e729bOHnRpHpJ09B2/R3cNg",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 53
},
"_enabled": true,
"Item_name": {
"__id__": 57
},
"Item_photo": {
"__id__": 58
},
"_id": "c6/2WIOWRJ1bavF5ytftPN"
},
{
"__type__": "cc.Node",
"_name": "item",
"_objFlags": 0,
"_parent": {
"__id__": 8
},
"_children": [],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 110,
"height": 61
},
"_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": "430+T99SJJs6RTNgz98BQR"
},
{
"__type__": "cc.Node",
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 64
},
{
"__id__": 65
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 5000,
"height": 5000
},
"_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": "c2bmd0u+BDNIivdoKz1pc8"
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 63
},
"_enabled": true,
"_id": "80PylZIy9EbJR4/AZl0xgK"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 63
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 66
}
],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "cc1qEGA9pIR5pCangYCuxP"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 2
},
"component": "",
"_componentId": "8b0b7lMf15OlIK40chbxp64",
"handler": "onBtnMask",
"customEventData": ""
},
{
"__type__": "cc.Node",
"_name": "speaker",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 68
}
],
"_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": [
-640,
-360,
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": "27oJBo5bZCIpkH3vJkrEF7"
},
{
"__type__": "ab520ccsGNNxY+Qe3caTQ5o",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 67
},
"_enabled": true,
"eff_btn": {
"__uuid__": "1da4a1eb-1b7f-4c66-b682-afb2bb2c25f8"
},
"eff_congratulation": {
"__uuid__": "a9d1d994-0776-4dcf-9bb7-eac5dbee2854"
},
"eff_error": {
"__uuid__": "c533d5b8-bf5c-48ce-aa60-ccc7195ec880"
},
"eff_good": {
"__uuid__": "24c4d28a-b9c9-4d73-8bd6-bd2101ffba7c"
},
"eff_showPop": {
"__uuid__": "4cd1a303-1f39-40a3-9127-5afcad88e2af"
},
"eff_start": {
"__uuid__": "be885015-b019-4b28-8900-dcb6b18752f3"
},
"eff_open": {
"__uuid__": "e84b4934-1211-4c2b-86c8-b0cb8ff50ab2"
},
"eff_restart": {
"__uuid__": "326dee4a-6daf-4748-86a3-acecad20fc07"
},
"_id": "b6mbjgRkRFnaxtyq52WlFU"
},
{
"__type__": "cc.Canvas",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_designResolution": {
"__type__": "cc.Size",
"width": 1280,
"height": 720
},
"_fitWidth": true,
"_fitHeight": true,
"_id": "59Cd0ovbdF4byw5sbjJDx7"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "29zXboiXFBKoIV4PQ2liTe"
},
{
"__type__": "8b0b7lMf15OlIK40chbxp64",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"Item_0": {
"__id__": 62
},
"Item_1": {
"__id__": 53
},
"contentArr": {
"__id__": 50
},
"contentArr_1": [
{
"__id__": 19
},
{
"__id__": 34
}
],
"mask_node": null,
"_id": "81gKWTbrREiJRzfyjAWVUZ"
},
{
"__type__": "0e963+p6iFJLqmukqM6jHRW",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"UIMax": [],
"topUI": [],
"bgScaleMax": [
{
"__id__": 6
}
],
"nodeUIOffset": [
{
"__id__": 8
}
],
"canvasView": {
"__id__": 69
},
"isCanvas": true,
"_id": "5eOVDDzARGnoMLcNXyk5ml"
}
]
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "7488de23-e223-4a1c-9a61-a332a676694e",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
// 全局环境预声明
window.g = window.g || {}; // 全局
\ No newline at end of file
{ {
"ver": "1.0.8", "ver": "1.0.8",
"uuid": "c41b0e51-55d7-443c-af3a-b22c3dd9b9e5", "uuid": "a9bcccd1-c2b7-4db1-8744-3c0fcb95b824",
"isPlugin": false, "isPlugin": false,
"loadPluginInWeb": true, "loadPluginInWeb": true,
"loadPluginInNative": true, "loadPluginInNative": true,
......
/**
* eff_welldown
*/
var eff_well = cc.Class({
extends: cc.Component,
properties: {
eff_welldown: {
default: null,
type: cc.Animation,
displayName: "撒花特效"
},
},
ctor: function () {
eff_well.inst = this;
g.eff_well = eff_well;
},
//显示特效
showEff: function () {
this.node.active = true;
this.eff_welldown.play();
//播放撒花音效
g.speaker.inst.play_congratulation();
setTimeout(() => {
this.node.active = false;
}, 2000)
}
});
{ {
"ver": "1.0.8", "ver": "1.0.8",
"uuid": "ade7af40-d56d-4087-bbc6-2888fef55353", "uuid": "872df374-a19c-4662-9d3d-1f85329b5d49",
"isPlugin": false, "isPlugin": false,
"loadPluginInWeb": true, "loadPluginInWeb": true,
"loadPluginInNative": true, "loadPluginInNative": true,
......
g.utils = {
// 范围随机
randFromTo: function (_min, _max) {
var min = parseFloat(_min);
var max = parseFloat(_max);
return (min + Math.random() * (max - min));
},
// 范围随机一个整数
// 例:1~3,返回的可能值为:1、2、3
randFromTo_Int: function (min, max) {
var val = this.randFromTo(min, max + 1 - 0.0001);
return Math.floor(val);
},
// 深拷贝
deepCopy: function (src) {
var cpy = src instanceof Array ? [] : {};
for (var i in src) {
cpy[i] = typeof src[i] === 'object' ? this.deepCopy(src[i]) : src[i];
}
return cpy;
},
deletList: function (list, val) {
var index = list(val);
if (index > -1) {
this.splice(index, 1);
}
}
}
export function getPosByAngle(angle, len) {
const radian = angle * Math.PI / 180;
const x = Math.sin(radian) * len;
const y = Math.cos(radian) * len;
return { x, y };
}
export function getAngleByPos(px, py, mx, my) {
const x = Math.abs(px - mx);
const y = Math.abs(py - my);
const z = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2));
const cos = y / z;
const radina = Math.acos(cos); // 用反三角函数求弧度
let angle = Math.floor(180 / (Math.PI / radina) * 100) / 100; // 将弧度转换成角度
if (mx > px && my > py) {// 鼠标在第四象限
angle = 180 - angle;
}
if (mx === px && my > py) {// 鼠标在y轴负方向上
angle = 180;
}
if (mx > px && my === py) {// 鼠标在x轴正方向上
angle = 90;
}
if (mx < px && my > py) {// 鼠标在第三象限
angle = 180 + angle;
}
if (mx < px && my === py) {// 鼠标在x轴负方向
angle = 270;
}
if (mx < px && my < py) {// 鼠标在第二象限
angle = 360 - angle;
}
// console.log('angle: ', angle);
return angle;
}
export function exchangeNodePos(baseNode, targetNode) {
return baseNode.convertToNodeSpaceAR(targetNode._parent.convertToWorldSpaceAR(cc.v2(targetNode.x, targetNode.y)));
}
export function RandomInt(a, b = 0) {
let max = Math.max(a, b);
let min = Math.min(a, b);
return Math.floor(Math.random() * (max - min) + min);
}
export function Between(a, b, c) {
return [a, b, c].sort((a, b) => a - b)[1];
}
export function randomSortByArr(arr) {
const newArr = [];
const tmpArr = arr.concat();
while (tmpArr.length > 0) {
const randomIndex = Math.floor(tmpArr.length * Math.random());
newArr.push(tmpArr[randomIndex]);
tmpArr.splice(randomIndex, 1);
}
return newArr;
}
export async function asyncTweenTo(node, duration, obj, ease = undefined) {
return new Promise((resolve, reject) => {
cc.tween(node)
.to(duration, obj, ease)
.call(() => {
resolve();
})
.start();
});
}
export async function asyncTweenBy(node, duration, obj, ease = undefined) {
return new Promise((resolve, reject) => {
cc.tween(node)
.by(duration, obj, ease)
.call(() => {
resolve();
})
.start();
});
}
export async function asyncPlayDragonBoneAnimation(node, animationName, time = 1, onFrameEvent) {
return new Promise((resolve, reject) => {
node.getComponent(dragonBones.ArmatureDisplay)
.once(dragonBones.EventObject.COMPLETE, () => {
resolve();
});
node.getComponent(dragonBones.ArmatureDisplay)
.on(dragonBones.EventObject.FRAME_EVENT, ({ name }) => {
if (onFrameEvent && typeof (onFrameEvent) == 'function') {
onFrameEvent(name);
}
});
node.getComponent(dragonBones.ArmatureDisplay)
.playAnimation(animationName, time);
});
}
export async function asyncPlayEffectByUrl(url, loop = false) {
return new Promise((resolve, reject) => {
cc.assetManager.loadRemote(url, (err, clip) => {
console.log(clip);
cc.audioEngine.playEffect(clip, loop);
resolve();
});
});
}
export async function jelly(node) {
return new Promise((resolve, reject) => {
cc.tween(node)
.to(0.1, { scaleX: 0.9, scaleY: 1.1 })
.to(0.1, { scaleX: 1.1, scaleY: 0.9 })
.to(0.1, { scaleX: 1, scaleY: 1 })
.call(resolve)
.start();
});
}
export async function asyncDelay(time) {
return new Promise((resolve, reject) => {
setTimeout(() => {
resolve();
}, time * 1000);
})
}
export async function showFireworks(baseNode, nodeList, pos = cc.v2(0, 0), side = cc.v2(0, 100), range = 50, number = 100) {
new Array(number).fill(' ').forEach(async (_, i) => {
let rabbonNode = new cc.Node();
rabbonNode.parent = baseNode;
rabbonNode.x = pos.x;
rabbonNode.y = pos.y;
rabbonNode.angle = 60 * Math.random() - 30;
let node = cc.instantiate(nodeList[RandomInt(nodeList.length)]);
node.parent = rabbonNode;
node.active = true;
node.x = 0;
node.y = 0;
node.angle = 0;
const rate = Math.random();
const angle = Math.PI * (Math.random() * 2 - 1);
await asyncTweenBy(rabbonNode, 0.3, {
x: side.x * rate + Math.cos(angle) * range * rate,
y: side.y * rate + Math.sin(angle) * range * rate
}, {
easing: 'quadIn'
});
cc.tween(rabbonNode)
.by(8, { y: -2000 })
.start();
rabbonFall(rabbonNode);
await asyncDelay(Math.random());
cc.tween(node)
.by(0.15, { x: -10, angle: -10 })
.by(0.3, { x: 20, angle: 20 })
.by(0.15, { x: -10, angle: -10 })
.union()
.repeatForever()
.start();
cc.tween(rabbonNode)
.delay(5)
.to(0.3, { opacity: 0 })
.call(() => {
node.stopAllActions();
node.active = false;
node.parent = null;
node = null;
})
.start();
});
}
async function rabbonFall(node) {
const time = 1 + Math.random();
const offsetX = RandomInt(-200, 200) * time;
await asyncTweenBy(node, time, { x: offsetX, angle: offsetX * 60 / 200 });
rabbonFall(node);
}
\ No newline at end of file
{ {
"ver": "1.0.8", "ver": "1.0.8",
"uuid": "f4ede462-f8d7-4069-ba80-915611c058ca", "uuid": "3cf09c30-536f-42ae-83bb-cbb3c5cd93eb",
"isPlugin": false, "isPlugin": false,
"loadPluginInWeb": true, "loadPluginInWeb": true,
"loadPluginInNative": true, "loadPluginInNative": true,
......
/**
* 适配
*/
cc.Class({
extends: cc.Component,
properties: {
UIMax: {
default: [],
type: cc.Node,
displayName: "等比放大"
},
topUI: {
default: [],
type: cc.Widget,
},
bgScaleMax: {
default: [],
type: cc.Node,
displayName: "背景适配"
},
nodeUIOffset: {
default: [],
type: cc.Node,
displayName: "节点偏移"
},
canvasView: {
default: null,
type: cc.Canvas,
displayName: "根节点"
},
isCanvas: {
default: false,
}
},
onLoad: function () { //开启适配
this.widgetList = [];
this.scheduleOnce(function () {
if (!this.isCanvas) {
this.init();
} else {
var canvaSize = this.findCanvas();
var w = (canvaSize.width) / 720;
var h = (canvaSize.height) / 1280;
this.MaxSize = w / h > 1 ? w / h : h / w;
this.setUIMax(this.MaxSize);
this.settopUI(this.MaxSize);
this.setBgScale();
this.setUiPositon();
var scene = cc.director.getScene();
var list = scene.getComponentsInChildren(cc.Widget)
for (var i in list) {
list[i].updateAlignment();
}
}
}, 0);
g.event_mgr.reg("adjustUI", () => {
this.setBgScale();
this.setUiPositon();
});
this.MaxSize = 1;
},
init: function () {
var canvaSize = this.findCanvas();
var diff = canvaSize.width / canvaSize.height;
var bili = 750 / 1334;
if (diff > bili) {
this.canvasView.fitWidth = false;
this.canvasView.fitHeight = true;
} else if (diff < bili) {
this.canvasView.fitWidth = true;
this.canvasView.fitHeight = false;
} else {
this.canvasView.fitWidth = true;
this.canvasView.fitHeight = true;
}
var w = (canvaSize.width) / 750;
var h = (canvaSize.height) / 1334;
this.MaxSize = w / h > 1 ? w / h : h / w;
g.data_mgr.MaxSize = this.MaxSize;
this.setUIMax(this.MaxSize);
this.settopUI(this.MaxSize);
this.setBgScale();
this.setUiPositon();
var scene = cc.director.getScene();
var list = scene.getComponentsInChildren(cc.Widget)
for (var i in list) {
list[i].updateAlignment();
}
},
onDestroy: function () {
g.event_pump.unReg("adjustUI");
},
settopUI: function (s) {
if (!g.data_mgr.phoneInfo) {
return;
}
var top = g.data_mgr.phoneInfo;
top = top * s;
for (var i in this.topUI) {
if (this.topUI[i].perTop == undefined) {
this.topUI[i].perTop = this.topUI[i].top;
} else {
this.topUI[i].top = this.topUI[i].perTop;
}
this.topUI[i].top += top;
console.log(this.topUI[i].top);
}
},
//背景适配
setBgScale: function () {
for (var i in this.bgScaleMax) {
// 1. 先找到 SHOW_ALL 模式适配之后,本节点的实际宽高以及初始缩放值
let scaleForShowAll = Math.min(
cc.view.getCanvasSize().width / this.bgScaleMax[i].width,
cc.view.getCanvasSize().height / this.bgScaleMax[i].height
);
let realWidth = this.bgScaleMax[i].width * scaleForShowAll;
let realHeight = this.bgScaleMax[i].height * scaleForShowAll;
// 2. 基于第一步的数据,再做缩放适配
this.bgScaleMax[i].scale = Math.max(
cc.view.getCanvasSize().width / realWidth,
cc.view.getCanvasSize().height / realHeight
);
}
},
//适配节点位置
setUiPositon: function () {
for (var i in this.nodeUIOffset) {
// 1. 先找到 SHOW_ALL 模式适配之后,本节点的实际宽高以及初始缩放值
let srcScaleForShowAll = Math.min(
cc.view.getCanvasSize().width / 1280,
cc.view.getCanvasSize().height / 720
);
let realWidth = 1280 * srcScaleForShowAll;
let realHeight = 720 * srcScaleForShowAll;
// 2. 基于第一步的数据,再做节点宽高重置
this.nodeUIOffset[i].width = 1280 * (cc.view.getCanvasSize().width / realWidth);
this.nodeUIOffset[i].height = 720 * (cc.view.getCanvasSize().height / realHeight);
}
},
setUIMax: function (size) {
for (var i in this.UIMax) {
if (this.UIMax[i].perScale == undefined) {
this.UIMax[i].perScale = this.UIMax[i].scaleX;
} else {
this.UIMax[i].scaleX = this.UIMax[i].perScale;
this.UIMax[i].scaleY = this.UIMax[i].perScale;
}
this.UIMax[i].scaleX *= size;
this.UIMax[i].scaleY *= size;
}
},
findCanvas: function () {
if (cc.sys.isNative) {
return {
width: cc.view.getFrameSize().width,
height: cc.view.getFrameSize().height
};
} else {
return {
width: cc.game.canvas.clientWidth,
height: cc.game.canvas.clientHeight
};
}
}
});
{ {
"ver": "1.0.8", "ver": "1.0.8",
"uuid": "b54300af-b8e5-4b4e-aa2f-9ac1cef7b598", "uuid": "0e963fa9-ea21-492e-a9ae-92a33a8c7456",
"isPlugin": true, "isPlugin": false,
"loadPluginInWeb": true, "loadPluginInWeb": true,
"loadPluginInNative": true, "loadPluginInNative": true,
"loadPluginInEditor": false, "loadPluginInEditor": false,
......
{
"ver": "1.1.2",
"uuid": "b62d4b1c-d7ed-4c6e-8f1f-f8695a087353",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
var TouchDragger = cc.Class({
extends: cc.Component,
properties: {
MaxHeight: {
default: "",
displayName: "最大高度"
},
MaxWidth: {
default: "",
displayName: "最大宽度"
},
grid: {
default: null,
type: cc.Prefab,
displayName: "格子预制体"
},
hGrid: {
default: "",
displayName: "单个高度"
},
wGrid: {
default: "",
displayName: "单个宽度"
}
},
ctor: function () {
TouchDragger.inst = this;
g.TouchDragger = TouchDragger;
},
onLoad: function () {
this.arMap = [];
this.isEnd = false;
//是否是第一次执行移动
this.isFirstMove = true;
//初始化格子数据
this.initGridInfo(g.data_mgr.challengeData.IngredientList);
},
start: function () {
this.node.on(cc.Node.EventType.TOUCH_START, this.touchBegan, this);
this.node.on(cc.Node.EventType.TOUCH_MOVE, this.touchMove, this);
this.node.on(cc.Node.EventType.TOUCH_END, this.touchEnd, this);
this.node.on(cc.Node.EventType.TOUCH_CANCEL, this.touchCancel, this);
},
//触摸开始
touchBegan: function (event) {
if (this.isEnd) return;
this.isMove = false;
var posScreen = event.getLocation();//点击事件获取位置
var posNode = this.node.parent.convertToNodeSpaceAR(posScreen);
this.iposBegan = this.getFormatIPos(posNode);
this.iposMove = cc.v2(-1, -1);
if (this.iposBegan.x == -1) return;
var ndBegan = this.arMap[this.iposBegan.y][this.iposBegan.x];
if (!ndBegan.active) {
return;
}
ndBegan.runAction(this.getAction("scale"));
ndBegan.zIndex = 1;
this.deltaPos = ndBegan.x + ndBegan.y;
},
//触摸移动
touchMove: function (event) {
if (this.isEnd || (GodGuide && GodGuide.getTask())) return;
if (this.iposBegan.x == -1) return;
var posScreen = event.getLocation(); //点击事件获取位置
var posNode = this.node.parent.convertToNodeSpaceAR(posScreen);
var iposTouch = this.getFormatIPos(posNode);
if (this.isFirstMove == true) {
this.iposBegan = this.getFormatIPos(posNode);
this.isFirstMove = false;
};
var delta = event.getDelta();
var ndBegan = this.arMap[this.iposBegan.y][this.iposBegan.x];
if (!ndBegan.active) {
return;
}
ndBegan.x += delta.x;
ndBegan.y += delta.y;
var deltaPos = ndBegan.x + ndBegan.y;
if (Math.abs(this.deltaPos - deltaPos) > 10) {
this.isMove = true;
}
this.iposMove = iposTouch;
},
//触摸结束
touchEnd: function (event) {
if (this.isEnd) return;
if (this.iposBegan.x == -1) return;
var ndBegan = this.arMap[this.iposBegan.y][this.iposBegan.x];
if (!ndBegan.active) {
this.isMove = false;
return;
}
if (!this.isMove) {
cc.log("点击了");
ndBegan.stopAllActions();
ndBegan.setScale(1);
ndBegan.runAction(cc.moveTo(0.1, this.getGridOriginPos(this.iposBegan)));
ndBegan.callback && ndBegan.callback();
return
}
this.isFirstMove = true;
this.arMap[this.iposBegan.y][this.iposBegan.x].zIndex = 0;
if (this.iposBegan.x == -1 || this.iposMove.x >= 0 && this.iposMove.y >= 0) {
ndBegan.stopAllActions();
ndBegan.setScale(1);
ndBegan.runAction(cc.moveTo(0.1, this.getGridOriginPos(this.iposMove)));
if (this.iposMove.x != -1) {
var ndMove = this.arMap[this.iposMove.y][this.iposMove.x];
ndMove.stopAllActions();
ndMove.runAction(cc.moveTo(0.1, this.getGridOriginPos(this.iposBegan)));
this.arMap[this.iposMove.y][this.iposMove.x] = ndBegan;
this.arMap[this.iposBegan.y][this.iposBegan.x] = ndMove;
}
} else {
ndBegan.stopAllActions();
ndBegan.setScale(1);
ndBegan.runAction(cc.moveTo(0.1, this.getGridOriginPos(this.iposBegan)));
if (this.iposMove.x != -1) {
var ndMove = this.arMap[this.iposMove.y][this.iposMove.x];
ndMove.stopAllActions();
ndMove.runAction(cc.moveTo(0.1, this.getGridOriginPos(this.iposMove)));
}
}
this.isMove = false;
},
//触摸取消
touchCancel: function (event) {
this.arMap[this.iposBegan.y][this.iposBegan.x].zIndex = 0;
var ndBegan = this.arMap[this.iposBegan.y][this.iposBegan.x];
ndBegan.stopAllActions();
ndBegan.setScale(1);
ndBegan.runAction(cc.moveTo(0.1, this.getGridOriginPos(this.iposBegan)));
if (this.iposMove.x != -1) {
var ndMove = this.arMap[this.iposMove.y][this.iposMove.x];
ndMove.stopAllActions();
ndMove.runAction(cc.moveTo(0.1, this.getGridOriginPos(this.iposMove)));
}
this.isMove = false;
},
//初始化格子数据
initGridInfo: function (list) {
for (var i = this.MaxHeight - 1; i >= 0; --i) {
this.arMap[i] = [];
for (var j = 0; j < this.MaxWidth; ++j) {
var ndGrid = cc.instantiate(this.grid);
ndGrid.parent = this.node;
//获得节点的位置
ndGrid.position = this.getGridOriginPos(cc.v2(j, i));
this.arMap[i][j] = ndGrid;
// ndGrid.getComponent("grid").updateUI(3, 30);
var num = (this.MaxHeight - i - 1) * this.MaxWidth + j;
ndGrid.active = list[num] != undefined;
ndGrid.getComponent("grid").updateUI(list[num], 0);
}
}
},
//获得动作
getAction: function (name) {
if (name === "scale") {
return cc.repeatForever(cc.sequence(cc.scaleTo(0.15, 1.3)
, cc.scaleTo(0.3, 1)));
}
else if (name === "rotate") {
return cc.repeatForever(cc.sequence(cc.rotateBy(0.15, 30), cc.rotateBy(0.3, -60), cc.rotateBy(0.15, 30)));
}
return null;
},
//获得直角坐标
getFormatIPos: function (pos) {
var ipos = cc.v2(Math.floor((pos.x - this.node.x) / this.wGrid), Math.floor((pos.y - this.node.y) / this.hGrid));
if (ipos.x < 0 || ipos.x >= this.MaxWidth || ipos.y < 0 || ipos.y >= this.MaxHeight) {
ipos.x = -1;
}
return ipos;
},
//获得格子起始坐标
getGridOriginPos: function (ipos) {
return cc.v2(10 + (ipos.x + 0.5) * this.wGrid, 10 + (ipos.y + 0.5) * this.hGrid);
},
});
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "ccc66642-cf0e-4b1b-ae3d-c4b18f4fe53a",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
/**
* 游戏主逻辑
*/
var game = cc.Class({
extends: cc.Component,
properties: {
Item_0: {
default: null,
type: cc.Node,
displayName: "空节点"
},
Item_1: {
default: null,
type: cc.Node,
displayName: "预制体"
},
contentArr: {
default: null,
type: cc.Node,
displayName: "底下内容"
},
contentArr_1: {
default: [],
type: cc.Node,
displayName: "目标位置"
},
// btnList: {
// default: [],
// type: cc.Button,
// displayName: "上下页"
// },
mask_node: {
default: null,
type: cc.Node,
displayName: "遮罩"
}
},
ctor: function () {
game.inst = this;
g.game = game;
},
// 生命周期 onLoad
onLoad() {
//初始化游戏
this.initGame();
if (window.addEventListener) {
window.addEventListener('resize', this.scaleEventCallBack, false)
} else if (window.attachEvent) {
window.attachEvent('resize', this.scaleEventCallBack, false)
}
},
//屏幕缩放
scaleEventCallBack: function () {
g.event_mgr.send("adjustUI");
},
//初始化游戏
initGame: function () {
//重置游戏数据游戏数据
g.data_mgr.resGameData();
//获得数据
g.res_mgr.getFormData();
let rec1 = new cc.Rect(10, 10, 100, 50);//声明矩形区域
},
setAABB(Id) {
var node = this.contentArr_1[Id]
let svLeftBottomPoint = node.parent.convertToWorldSpaceAR(
cc.v2(
node.x - node.anchorX * node.width / 2,
node.y - node.anchorY * node.height / 2
)
);
// 求出 ScrollView 可视区域在世界坐标系中的矩形(碰撞盒)
let svBBoxRect = cc.rect(
svLeftBottomPoint.x - 60,
svLeftBottomPoint.y - 30,
node.width,
node.height
);
// console.log(Id + ":" + svLeftBottomPoint.x + "," + svLeftBottomPoint.y);
return svBBoxRect
},
//检查当前缩放倍数
checkScale: function (num) {
var scale = 1;
if (num > 2 && num <= 4) {
scale = 0.74
}
if (num > 4) {
scale = 0.65
}
return scale;
},
//添加节点
addItem2: function (Info) {
for (var i = 0; i < 30; i++) {
//for (var i = 0; i < Info.length; i++) {
let newItem_0 = cc.instantiate(this.Item_0);
let newItem_1 = cc.instantiate(this.Item_1);
//更新子项
//var com = newItem.getComponent("item");
//com.updateUI(Info[i]);
//newItem.scale = this.checkScale(Info.length);
//newItem.y = 0;
newItem_1.active = true;
newItem_1.type = 1;
newItem_1.parent = newItem_0;
newItem_0.parent = this.contentArr;
// if (i == 1 && Info.length == 2) {
// newItem.parent = this.contentArr[2];
// this.contentArr[2].active = true;
// //this.contentArr[2].height *= this.checkScale(Info.length);
// }
// else {
// var num_1 = Math.ceil((i + 1) / 2) - 1;
// newItem.parent = this.contentArr[num_1]
// this.contentArr[num_1].active = true;
// this.contentArr[num_1].height == 300 && (this.contentArr[num_1].height = this.contentArr[num_1].height * this.checkScale(Info.length));
// }
};
},
//更新界面信息
UpdataUi: function () {
//获得当前页的关卡
var itemInfo = g.data_mgr.getPageInfo();
//第几排的第几个来算这个位置
this.resetUI();
//添加项
this.addItem2(itemInfo);
// //设置上下页按钮状态
// this.setButtonState();
},
//重置UI界面
resetUI: function () {
// //移除所有子节点
// this.contentArr.removeAllChildren();
// //移除所有子节点
// this.contentArr_1[0].removeAllChildren();
// //移除所有子节点
// this.contentArr_1[1].removeAllChildren();
},
//播放音乐
PlayAudio: function () {
//获得播放路径
var path = g.data_mgr.getPlayUrl();
g.res_mgr.playAudioByUrl(path, (url) => {
g.snd_mgr.playEffect(url);
});
},
//游戏开始
gameStart: function () {
console.log("游戏开始:" + g.data_mgr);
//播放一个上面的音乐
this.setAudioInfo(1);
},
//设置上下页按钮状态
setButtonState: function () {
//先判断题目长度
if (g.data_mgr.data.contentObj.pageArr.length < 2) {
this.btnList[0].node.active = false;
this.btnList[1].node.active = false;
} else {
//如果第一页
if (g.data_mgr.pageId == 0) {
this.btnList[1].node.active = true;
this.btnList[0].node.active = false;
}
if (g.data_mgr.pageId == g.data_mgr.data.contentObj.pageArr.length - 1) {
this.btnList[0].node.active = true;
this.btnList[1].node.active = false;
}
if (g.data_mgr.pageId > 0 && g.data_mgr.pageId < g.data_mgr.data.contentObj.pageArr.length - 1) {
this.btnList[0].node.active = true;
this.btnList[1].node.active = true;
}
}
},
//上一关
onBtnLastPage: function () {
g.speaker.inst.play_btn();
if (g.data_mgr.pageId - 1 >= 0) {
g.data_mgr.pageId -= 1;
this.setButtonState();
this.onBtnReStart();
}
},
//下一关
onBtnNextPage: function () {
g.speaker.inst.play_btn();
if (g.data_mgr.pageId + 1 < g.data_mgr.data.contentObj.pageArr.length) {
g.data_mgr.pageId += 1;
this.setButtonState();
this.onBtnReStart();
}
},
//重新开始
onBtnReStart: function () {
g.speaker.inst.play_btn();
//移除所有计时器
this.unscheduleAllCallbacks();
//初始化界面
this.UpdataUi();
g.speaker.inst.play_restart();
},
onBtnMask: function () {
if (this.isLoadEnd) {
this.isLoadEnd = false;
g.speaker.inst.play_start(() => {
setTimeout(() => {
g.game.inst.playAudioTitle(() => {
g.game.inst.mask_node.active = false;
//游戏开始
g.game.inst.gameStart();
});
}, 500)
});
}
},
});
{
"ver": "1.0.8",
"uuid": "8b0b794c-7f5e-4e94-82b8-d1c85bc69eb8",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
/**
* item
*/
cc.Class({
extends: cc.Component,
properties: {
Item_name: {
default: null,
type: cc.Label,
displayName: "名字"
},
Item_photo: {
default: null,
type: cc.Node,
displayName: "图片"
},
},
start: function () {
this.node.on(cc.Node.EventType.TOUCH_START, this.touchBegan, this);
this.node.on(cc.Node.EventType.TOUCH_MOVE, this.touchMove, this);
this.node.on(cc.Node.EventType.TOUCH_END, this.touchEnd, this);
this.node.on(cc.Node.EventType.TOUCH_CANCEL, this.touchCancel, this);
},
//触摸开始
touchBegan: function (event) {
this.isMove = false;
this.deltaPos = this.node.x + this.node.y;
// this.node.parent = g.game.inst.temp_contentArr;
},
//触摸移动
touchMove: function (event) {
var posScreen = event.getLocation(); //点击事件获取位置
var posNode = this.node.parent.convertToNodeSpaceAR(posScreen);
// var iposTouch = this.getFormatIPos(posNode);
var delta = event.getDelta();
this.node.x += delta.x;
this.node.y += delta.y;
var deltaPos = this.node.x + this.node.y;
if (Math.abs(this.deltaPos - deltaPos) > 10) {
this.isMove = true;
}
var contentArrPos = g.game.inst.setAABB(1);
var contentArrPos_0 = g.game.inst.setAABB(0);
// 获取 ScrollView Node 的左下角坐标在世界坐标系中的坐标
let svLeftBottomPoint = this.node.parent.convertToWorldSpaceAR(
cc.v2(
this.node.x - this.node.anchorX * this.node.width,
this.node.y - this.node.anchorY * this.node.height
)
);
// 求出 ScrollView 可视区域在世界坐标系中的矩形(碰撞盒)
var posNode_1 = cc.rect(
svLeftBottomPoint.x,
svLeftBottomPoint.y,
this.node.width,
this.node.height
);
var isIntersect_1 = contentArrPos.containsRect(posNode_1);//判断是否被包含
var isIntersect_2 = contentArrPos_0.containsRect(posNode_1);
// console.log("坐标" + svLeftBottomPoint.x + "," + svLeftBottomPoint.y + "是否包含" + isIntersect_1);
if (isIntersect_1) {
console.log("被1包含" + isIntersect_1);
}
if (isIntersect_2) {
console.log("被2包含" + isIntersect_2);
}
},
//触摸结束
touchEnd: function (event) {
//获得世界坐标
var posScreen = event.getLocation(); //点击事件获取位置
var posNode = this.node.convertToNodeSpaceAR(posScreen);
console.log("世界坐标" + posNode);
if (!this.isMove) {
cc.log("点击了");
this.onBtnRotate();
//回到原来的位置
this.node.x = 0;
this.node.y = 0;
return
}
//获得俩个节点的世界坐标
var contentArrPos_0 = g.game.inst.setAABB(0);
var contentArrPos_1 = g.game.inst.setAABB(1);
// 获取 ScrollView Node 的左下角坐标在世界坐标系中的坐标
let svLeftBottomPoint = this.node.parent.convertToWorldSpaceAR(
cc.v2(
this.node.x - this.node.anchorX * this.node.width,
this.node.y - this.node.anchorY * this.node.height
)
);
// 求出 ScrollView 可视区域在世界坐标系中的矩形(碰撞盒)
var posNode_1 = cc.rect(
svLeftBottomPoint.x,
svLeftBottomPoint.y,
this.node.width,
this.node.height
);
var isIntersect_1 = contentArrPos_1.containsRect(posNode_1);//判断是否被包含
var isIntersect_0 = contentArrPos_0.containsRect(posNode_1);
// console.log("坐标" + svLeftBottomPoint.x + "," + svLeftBottomPoint.y + "是否包含" + isIntersect_1);
if (isIntersect_1) {
if (this.node.type == 1) {
g.speaker.inst.play_good();
g.game.inst.contentArr_1[1].getChildByName("db").active = true;
g.game.inst.contentArr_1[1].getChildByName("db").getComponent(dragonBones.ArmatureDisplay).playAnimation("newAnimation", 1);
this.node.parent = g.game.inst.contentArr_1[1].getChildByName("connent_3").getChildByName("Layout");
}
else {
g.speaker.inst.play_error();
this.node.getChildByName("red").active = true;
setTimeout(() => {
this.node.getChildByName("red").active = false;
//回到原来的位置
this.node.x = 0;
this.node.y = 0;
}, 1000)
}
console.log("被1包含" + isIntersect_1);
} else
if (isIntersect_0) {
if (this.node.type == 2) {
g.speaker.inst.play_good();
g.game.inst.contentArr_1[0].getChildByName("db").active = true;
g.game.inst.contentArr_1[0].getChildByName("db").getComponent(dragonBones.ArmatureDisplay).playAnimation("newAnimation", 1);
this.node.parent = g.game.inst.contentArr_1[0].getChildByName("connent_3").getChildByName("Layout");
console.log("被2包含" + isIntersect_0);
}
else {
g.speaker.inst.play_error();
this.node.getChildByName("red").active = true;
setTimeout(() => {
this.node.getChildByName("red").active = false;
//回到原来的位置
this.node.x = 0;
this.node.y = 0;
}, 1000)
}
}
else {
//回到原来的位置
this.node.x = 0;
this.node.y = 0;
}
},
//触摸取消
touchCancel: function (event) {
//回到原来的位置
this.node.x = 0;
this.node.y = 0;
this.isMove = false;
},
//更新界面ui
updateUI: function (Info) {
//当前数据
this.itemInfo = Info;
//初始化数据
this.InitData();
},
//点击翻面
onBtnRotate: function () {
cc.tween(this.node)
.to(0.3, { scaleX: 0 })
.call(() => {
if (this.Item_name.node.active) {
this.Item_name.node.active = false;
this.Item_photo.active = true;
} else {
this.Item_name.node.active = true;
this.Item_photo.active = false;
}
})
.to(0.3, { scaleX: 1 })
.start();
},
//初始化信息
InitData: function () {
this.eff_window[0].scaleX = 1;
this.eff_window[1].scaleX = 1;
},
//图片适配
photoScare: function (node, type) {
var maxNum = type == 1 ? 160 : 190;
let maxSize = Math.min(maxNum / node.height, maxNum / node.width);
if (node.perScale == undefined) {
node.perScale = node.scaleX;
} else {
node.scaleX = node.perScale;
node.scaleY = node.perScale;
}
node.scaleX *= maxSize;
node.scaleY *= maxSize;
},
});
{
"ver": "1.0.8",
"uuid": "e729b387-9d1a-47a4-9d3d-076fd1ddc360",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
/**
* 音效
*/
var speaker = cc.Class({
extends: cc.Component,
properties: {
eff_btn: {
default: null,
type: cc.AudioClip,
displayName: "点击音效"
},
eff_congratulation: {
default: null,
type: cc.AudioClip,
displayName: "撒花音效"
},
eff_error: {
default: null,
type: cc.AudioClip,
displayName: "点击错误音效"
},
eff_good: {
default: null,
type: cc.AudioClip,
displayName: "点击正确音效"
},
eff_showPop: {
default: null,
type: cc.AudioClip,
displayName: "显示弹窗音效"
},
eff_start: {
default: null,
type: cc.AudioClip,
displayName: "游戏开始音效"
},
eff_open: {
default: null,
type: cc.AudioClip,
displayName: "拉开窗帘"
},
eff_restart: {
default: null,
type: cc.AudioClip,
displayName: "重新开始"
},
},
ctor: function () {
speaker.inst = this;
g.speaker = speaker;
},
//点击按钮
play_btn: function () {
g.snd_mgr.playEffect(this.eff_btn);
},
//撒花音效
play_congratulation: function () {
g.snd_mgr.playEffect(this.eff_congratulation);
},
//答错
play_error: function () {
g.snd_mgr.playEffect(this.eff_error);
},
//答对
play_good: function (cb) {
g.snd_mgr.playEffect(this.eff_good, cb);
},
//显示弹窗
play_showPop: function () {
g.snd_mgr.playEffect(this.eff_showPop);
},
//游戏开始
play_start: function (cb) {
g.snd_mgr.playEffect(this.eff_start, cb);
},
//拉开窗帘
play_open: function () {
g.snd_mgr.playEffect(this.eff_open);
},
//重新开始
play_restart: function () {
g.snd_mgr.playEffect(this.eff_restart);
},
});
{
"ver": "1.0.8",
"uuid": "ab52071c-b063-4dc5-8f90-7b771a4d0e68",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "739e697c-eeb0-400c-b62d-7d1da103d577",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
/**
* 数据管理器
*/
g.data_mgr = {
playId: null,//播放id
playType: null,//播放类型
temPlayAudio: [],//临时的播放列表
data: null,//表所有数据
pageId: 0,//页id
dragonName: null,//龙骨动画名字
lineColor: ['#2AFF51', '#FF0000', '#FF51E0', '#E5FB31', '#43DFEF', '#FFC788', ' #FFFFFF', ' #FF7474'],//线的颜色
_imageResList: [],//图片资源列表
_audioResList: [],//音频资源列表
_animaResList: [],//动画资源列表
//获得默认数据
getDefaultData() {
const dataJson = {
"contentObj": {
"pageArr": [{
"pageInfo": [
{ "colorList": "1", "fontSize": 50, "fontList": "1,3", "groupLabel": "I saw a purple #11plentpp #00sdfasdf on the #10sky on the sky", "groupPic": "", "group_audio_url": "http://staging-teach.cdn.ireadabc.com/bfcd329e246551615375ce0788fc397e.mp3" }, { "groupLabel": "I saw a purple #11plent on the sky #00on the sky", "groupPic": "http://staging-teach.cdn.ireadabc.com/2d349cf780b1fcec761a2350936183f0.png", "group_audio_url": "" }, { "groupLabel": "33#013#103#003", "groupPic": "http://staging-teach.cdn.ireadabc.com/2d349cf780b1fcec761a2350936183f0.png", "group_audio_url": "http://staging-teach.cdn.ireadabc.com/bfcd329e246551615375ce0788fc397e.mp3" }, { "groupLabel": "", "groupPic": "https://adsfs.heytapimage.com/ads-material-depot/image/9db677f693622128668326572dd8d6d2.jpg", "group_audio_url": "http://staging-teach.cdn.ireadabc.com/bfcd329e246551615375ce0788fc397e.mp3" }, { "groupLabel": "", "groupPic": "", "group_audio_url": "http://staging-teach.cdn.ireadabc.com/bfcd329e246551615375ce0788fc397e.mp3" }]
}, {
"pageInfo": [
{ "groupLabel": "22222", "groupPic": "http://staging-teach.cdn.ireadabc.com/2d349cf780b1fcec761a2350936183f0.png", "group_audio_url": "http://staging-teach.cdn.ireadabc.com/bfcd329e246551615375ce0788fc397e.mp3" }, { "groupLabel": "33333", "groupPic": "http://staging-teach.cdn.ireadabc.com/2d349cf780b1fcec761a2350936183f0.png", "group_audio_url": "http://staging-teach.cdn.ireadabc.com/bfcd329e246551615375ce0788fc397e.mp3" }, { "groupLabel": "11111", "groupPic": "http://staging-teach.cdn.ireadabc.com/2d349cf780b1fcec761a2350936183f0.png", "group_audio_url": "http://staging-teach.cdn.ireadabc.com/bfcd329e246551615375ce0788fc397e.mp3" }, { "groupLabel": "11111", "groupPic": "http://staging-teach.cdn.ireadabc.com/2d349cf780b1fcec761a2350936183f0.png", "group_audio_url": "http://staging-teach.cdn.ireadabc.com/bfcd329e246551615375ce0788fc397e.mp3" }]
}]
}
}
const data = dataJson;
// const data = JSON.parse(dataJson);
// const data = [];
return data;
},
//{"contentObj":{"pageArr":[{"pageInfo":[{"a_pic_url":"http://staging-teach.cdn.ireadabc.com/4c987bc8980e235c6b6e2ae9a409cfc1.png","b_pic_url":"http://staging-teach.cdn.ireadabc.com/1ffb03273ae56047adab077dc8cc794c.png","a_audio_url":"","b_audio_url":"","groupLabel":"11111","groupPic":"http://staging-teach.cdn.ireadabc.com/2d349cf780b1fcec761a2350936183f0.png","type":"Image"},{"a_pic_url":"","b_pic_url":"","a_audio_url":"","b_audio_url":"","groupLabel":"a","groupPic":"" ,"type":"Spine","ske_json":"http://staging-teach.cdn.ireadabc.com/e48564e39f64ef92dee4309b3493652a.json","ske_json_name":"mao_ske.json","tex_json":"http://staging-teach.cdn.ireadabc.com/233b2f102f321086b70c239a1bd4ba1a.json","tex_json_name":"mao_tex.json","tex_png":"http://staging-teach.cdn.ireadabc.com/d5c00d0cf339484801dc235ed33200d0.png","tex_png_name":"mao_tex.png"}]},{"pageInfo":[]},{"pageInfo":[{"a_pic_url":"","b_pic_url":"","a_audio_url":"","b_audio_url":"","groupLabel":"","groupPic":"","type":"Spine","uploadData":"","uploadUrl":"","ske_json":"http://staging-teach.cdn.ireadabc.com/e48564e39f64ef92dee4309b3493652a.json","ske_json_name":"mao_ske.json"}]}],"title":"16516510","audio_url":"http://staging-teach.cdn.ireadabc.com/bfcd329e246551615375ce0788fc397e.mp3"},"type":"Image"}
//重置数据
resGameData() {
this._imageResList = [];
this._audioResList = [];
this._animaResList = [];
this.temPlayAudio = [];
},
//获得播放路径
getPlayUrl: function () {
for (var i in this._audioResList) {
var audioInfo = this._audioResList[i];
if (this.playId == audioInfo.typeId && this.playType == audioInfo.positionId) {
return audioInfo.url;
}
}
},
//获取当前整页数据
getPageInfo: function () {
return this.data.contentObj.pageArr[this.pageId].pageInfo;
},
//获得整条数据
getResultInfo: function (id) {
var pageInfo = this.data.contentObj.pageArr[this.pageId].pageInfo;
return pageInfo[id];
},
//获得图片信息 type 1上面,type 2下面
getImgInfo: function (type) {
var list = [];
for (var i in g.data_mgr._imageResList) {
var imgList = g.data_mgr._imageResList[i];
if (imgList.positionId == type) {
list.push(imgList)
}
}
return list;
},
//处理数据
proGameData: function () {
// this.addPreloadImage();
// this.addPreloadAudio();
// this.addPreloadAnima();
this.preload();
console.log("数据处理完毕:");
},
//预加载图片
addPreloadImage() {
//btnState 0正常显示,1显示成功,2显示灰色,3连线完成
var pageInfo = this.data.contentObj.pageArr[this.pageId].pageInfo;
for (var i in pageInfo) {
this._imageResList.push({ url: pageInfo[i].groupPic, typeId: i });
}
},
//预加载声音
addPreloadAudio() {
var pageInfo = this.data.contentObj.pageArr[this.pageId].pageInfo;
for (var i in pageInfo) {
this._audioResList.push({ url: pageInfo[i].a_audio_url, typeId: i, positionId: 1, isPlay: false });
this._audioResList.push({ url: pageInfo[i].b_audio_url, typeId: i, positionId: 2, isPlay: false });
this.temPlayAudio.push(i);
}
},
addPreloadAnima() {
},
preload() {
const preloadArr = this._imageResList.concat(this._audioResList).concat(this._animaResList);
cc.assetManager.loadAny(preloadArr, null, null, (err, data) => {
//结束回调
this.loadEnd();
if (window && window["air"]) {
window["air"].hideAirClassLoading();
}
cc.debug.setDisplayStats(false);
});
},
loadEnd() {
//更新游戏界面信息
g.game.inst.UpdataUi();
g.game.inst.isLoadEnd = true;
},
}
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "91e03520-a8ad-4317-a914-1850e6e64926",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
// 事件汞
let eventList = {}; // 响应列表(元素结构:eventName,[[target:cb]])
g.event_mgr = {
// 注册事件-响应 入参:事件名、响应、目标名
reg: function (eventName, cb, target) {
var event = eventList[eventName];
if (!event) {
event = eventList[eventName] = {};
}
event[target] = cb;
},
// 注销事件-响应 入参:事件名、目标名
unReg: function (eventName, target) {
var event = eventList[eventName];
if (event) {
if (event[target]) {
event[target] = null;
}
}
},
unRegName: function (eventName) {
eventList[eventName] = {};
},
// 广播事件 入参:事件名、参数
send: function (eventName, params) {
var event = eventList[eventName];
if (event) {
for (var target in event) {
var cb = event[target];
if (cb) {
cb(params);
}
}
}
},
getReglist: function () {
return eventList;
}
};
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "b8bf01c9-341f-4994-91ea-ff45a2f9d150",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
// localStorage封装
g.local_storage = {
// 背景音乐音量
getMusicVolume: function () {
var vol = cc.sys.localStorage.getItem("music");
return vol;
},
setMusicVolume: function (vol) {
cc.sys.localStorage.setItem('music', vol)
},
// 音效音量
getEffectsVolume: function () {
var vol = cc.sys.localStorage.getItem("effect");
return vol;
},
setEffectsVolume: function (vol) {
cc.sys.localStorage.setItem('effect', vol);
},
};
{
"ver": "1.0.8",
"uuid": "0d515142-090e-49ac-aea8-19c7b34f8cb4",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
/**
* 资源管理器
*/
g.res_mgr = {
//获得表数据数据
getFormData() {
console.log('初始化数据');
try {
window.courseware.getData((res) => {
//存入数据管理器
g.data_mgr.data = res;
//数据处理
g.data_mgr.proGameData();
console.log("获得表单数据:" + res);
});
} catch (error) {
//console.error('没有查找到courseware.getData方法', error);
//获得默认数据
g.data_mgr.data = g.data_mgr.getDefaultData();
//数据处理
g.data_mgr.proGameData();
}
},
//得到图片资源
getSpriteFrimeByUrl(url, cb) {
cc.assetManager.loadRemote(url, cc.SpriteFrame, (e, sp) => {
const spriteFrame = new cc.SpriteFrame(sp)
cb && cb(spriteFrame);
});
},
playAudioByUrl(audio_url, cb) {
if (audio_url) {
cc.assetManager.loadRemote(audio_url, (err, audioClip) => {
cb && cb(audioClip);
});
}
},
//加载龙骨
loadSpine(animationDisplay, Info) {
if (Info.type == 'Image') {
return;
}
cc.assetManager.loadAny([{ url: Info.tex_json, ext: '.txt' }, { url: Info.ske_json, ext: '.txt' }], (error, assets) => {
if (error) {
console.log(error)
}
else {
cc.assetManager.loadRemote(Info.tex_png, (error, texture) => {
if (error) {
console.log(error)
}
else {
var atlas = new dragonBones.DragonBonesAtlasAsset();
atlas._uuid = Info.tex_json;
atlas.atlasJson = assets[0];
atlas.texture = texture;
var asset = new dragonBones.DragonBonesAsset();
asset._uuid = Info.ske_json;
asset.dragonBonesJson = assets[1];
animationDisplay.dragonAtlasAsset = atlas;
animationDisplay.dragonAsset = asset;
let data = asset._dragonBonesJsonData.armature[0];
if (!data) {
return;
}
animationDisplay.armatureName = data.name;
g.data_mgr.dragonName = data.animation[0].name;
animationDisplay.node.active = true;
}
});
}
});
},
}
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "7121d1fd-fef5-46f9-ae16-ffc9aa7f5e16",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
// 声音管理器
g.snd_mgr = {
bgmId: -1, // 背景音乐的音频ID
effIds: [], // 音效的音频ID列表(由cc.audioEngine保证音频ID不重复)
bgmVol: 1, // 背景音乐音量
neweffId: null, //保存上一个音效ID
effVol: 1, // 音效音量
pausebgVol: 1,
pauseeffVol: 1,
sndNativeUrls: {},
newsnd: null,
init: function () {
var local_storage = g.local_storage;
var music_vol = local_storage.getMusicVolume();
var effect_vol = local_storage.getEffectsVolume();
music_vol != undefined && music_vol + "" != "" && this.setMusicVolume(music_vol);
effect_vol != undefined && effect_vol + "" != "" && this.setEffectsVolume(effect_vol);
},
delAudId: function (id) {
if (id == this.bgmId) {
this.bgmId = -1;
return;
}
for (var i = 0; i < this.effIds.length; ++i) {
if (this.effIds[i] == id) {
this.effIds.splice(i, 1);
return;
}
}
},
playMusic: function (snd, _loop, finishCB) {
if (!snd) return;
this.newsnd = snd;
var loop = _loop ? false : true; // 除非指定为false,否则默认为true
// if (g.configs.platform == "vo") {
// this.bgmId = cc.audioEngine.play(snd, loop);
// return;
// }
this.bgmId = cc.audioEngine.playMusic(snd, loop);
// 播放完成回调
if (finishCB) {
cc.audioEngine.setFinishCallback(this.bgmId, function () {
finishCB();
});
}
},
playEffect: function (snd, finishCB) {
if (!snd || this.effVol == 0) return;
var id = cc.audioEngine.playEffect(snd, false); // 音效限定不能重复播放
this.playaudioEffect(id, finishCB);
},
//播放音效
playaudioEffect: function (id, finishCB) {
var self = this;
this.neweffId = id;
this.effIds.push(id);
// 播放完记得删ID
cc.audioEngine.setFinishCallback(id, function () {
self.delAudId(id);
finishCB && finishCB();
});
},
pauseVolume: function () {
cc.audioEngine.stopAll();
},
resumeVolume: function () {
if (this.newsnd != null) {
cc.audioEngine.playMusic(this.newsnd)
}
},
setMusicVolume: function (percent) {
this.bgmVol = percent;
cc.audioEngine.setMusicVolume(~~percent);
},
setEffectsVolume: function (percent) {
this.effVol = percent;
cc.audioEngine.setEffectsVolume(~~percent);
cc.audioEngine.setMusicVolume(~~this.bgmVol);
},
};
\ No newline at end of file
{
"ver": "1.0.8",
"uuid": "fb034e6e-0e2d-4e5e-8a3a-b9a12ff90a0d",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
{ {
"ver": "2.3.5", "ver": "2.3.5",
"uuid": "e1b4d971-9876-4832-803a-5a321964a78b", "uuid": "49dba081-0a35-4bf2-a0f3-07e32e8677cb",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
"filterMode": "bilinear", "filterMode": "bilinear",
...@@ -11,10 +11,10 @@ ...@@ -11,10 +11,10 @@
"height": 720, "height": 720,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"bg": { "bg_1": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "8288e3d4-4c75-4b27-8f01-f7014417f4dd", "uuid": "a6ff9da0-8d31-4365-95d1-713cbc1875ab",
"rawTextureUuid": "e1b4d971-9876-4832-803a-5a321964a78b", "rawTextureUuid": "49dba081-0a35-4bf2-a0f3-07e32e8677cb",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
......
{ {
"ver": "2.3.5", "ver": "2.3.5",
"uuid": "efa5fa09-a4dd-4bfc-ab7e-17c19f85408f", "uuid": "976fb5ad-131e-4d28-960e-ca4000d5ab4c",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
"filterMode": "bilinear", "filterMode": "bilinear",
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 366, "width": 1280,
"height": 336, "height": 664,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"1orange": { "bg_2": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "43d1e79d-6de8-4dcb-b8ce-d767df7913aa", "uuid": "8d6cfdb8-7a9e-4ca0-b659-bfbdac1bec32",
"rawTextureUuid": "efa5fa09-a4dd-4bfc-ab7e-17c19f85408f", "rawTextureUuid": "976fb5ad-131e-4d28-960e-ca4000d5ab4c",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": -0.5, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 1, "trimY": 0,
"width": 366, "width": 1280,
"height": 335, "height": 664,
"rawWidth": 366, "rawWidth": 1280,
"rawHeight": 336, "rawHeight": 664,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "fc6370a0-82fd-4898-a797-6662def91593",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 548,
"height": 398,
"platformSettings": {},
"subMetas": {
"connent_1": {
"ver": "1.0.4",
"uuid": "7336489a-cf3f-42c1-9810-6677b958df0e",
"rawTextureUuid": "fc6370a0-82fd-4898-a797-6662def91593",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 548,
"height": 398,
"rawWidth": 548,
"rawHeight": 398,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "b9684ac2-fd64-4d23-bf37-9e87dc0b229f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 520,
"height": 370,
"platformSettings": {},
"subMetas": {
"connent_2": {
"ver": "1.0.4",
"uuid": "d57838ee-9381-4ad6-86a1-b7e56ef37c63",
"rawTextureUuid": "b9684ac2-fd64-4d23-bf37-9e87dc0b229f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 520,
"height": 370,
"rawWidth": 520,
"rawHeight": 370,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "2d293516-23d5-4571-8796-58c20ca11442",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 488,
"height": 308,
"platformSettings": {},
"subMetas": {
"connent_3": {
"ver": "1.0.4",
"uuid": "4ef17b9f-5f8f-4b95-b62f-2fad213f8bb9",
"rawTextureUuid": "2d293516-23d5-4571-8796-58c20ca11442",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 488,
"height": 308,
"rawWidth": 488,
"rawHeight": 308,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "66a78f75-1416-4399-82c0-c00285b2734c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 520,
"height": 370,
"platformSettings": {},
"subMetas": {
"connent_4": {
"ver": "1.0.4",
"uuid": "5b44835f-0fe4-4214-8407-3a52a45c952c",
"rawTextureUuid": "66a78f75-1416-4399-82c0-c00285b2734c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 520,
"height": 370,
"rawWidth": 520,
"rawHeight": 370,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{ {
"ver": "2.3.5", "ver": "2.3.5",
"uuid": "9a79969a-0506-48d4-bc98-3c05d109b027", "uuid": "57c01134-cfe8-4c44-b87d-8214f18b3462",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
"filterMode": "bilinear", "filterMode": "bilinear",
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 61, "width": 110,
"height": 67, "height": 61,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"btn_left": { "item_bg": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "ce19457d-e8f3-4c38-ae3e-d4b99208ddb5", "uuid": "b4b3adb0-395b-4a27-bbbb-7b8f6bbc8cc4",
"rawTextureUuid": "9a79969a-0506-48d4-bc98-3c05d109b027", "rawTextureUuid": "57c01134-cfe8-4c44-b87d-8214f18b3462",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
...@@ -22,10 +22,10 @@ ...@@ -22,10 +22,10 @@
"offsetY": 0, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 0, "trimY": 0,
"width": 61, "width": 110,
"height": 67, "height": 61,
"rawWidth": 61, "rawWidth": 110,
"rawHeight": 67, "rawHeight": 61,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
......
{ {
"ver": "2.3.5", "ver": "2.3.5",
"uuid": "18d07592-51a9-421e-8972-0f67b68d29e1", "uuid": "e6878831-be28-481a-ae47-295bb7ec0e59",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
"filterMode": "bilinear", "filterMode": "bilinear",
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 144, "width": 72,
"height": 144, "height": 73,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"icon": { "prop_1": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "6fbc30a8-3c49-44ae-8ba4-7f56f385b78a", "uuid": "3f8b5930-2b6f-4ebf-8d24-4e0ea93fa0dd",
"rawTextureUuid": "18d07592-51a9-421e-8972-0f67b68d29e1", "rawTextureUuid": "e6878831-be28-481a-ae47-295bb7ec0e59",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": -0.5, "offsetY": 0,
"trimX": 3, "trimX": 1,
"trimY": 2, "trimY": 1,
"width": 138, "width": 70,
"height": 141, "height": 71,
"rawWidth": 144, "rawWidth": 72,
"rawHeight": 144, "rawHeight": 73,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
......
{ {
"ver": "2.3.5", "ver": "2.3.5",
"uuid": "d582359e-924e-4ee9-9964-1fc4bb417e71", "uuid": "844eb37d-d3fb-420c-bbad-b3945e26973e",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
"filterMode": "bilinear", "filterMode": "bilinear",
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 61, "width": 535,
"height": 67, "height": 83,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"btn_right": { "top_frame": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "e5a2dbaa-a677-4a32-90d7-a1b057d7fb59", "uuid": "ab23c2df-4942-4fcf-9443-592af1d01ed2",
"rawTextureUuid": "d582359e-924e-4ee9-9964-1fc4bb417e71", "rawTextureUuid": "844eb37d-d3fb-420c-bbad-b3945e26973e",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
"offsetX": -0.5, "offsetX": 0,
"offsetY": 0.5, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 0, "trimY": 0,
"width": 60, "width": 535,
"height": 66, "height": 83,
"rawWidth": 61, "rawWidth": 535,
"rawHeight": 67, "rawHeight": 83,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
......
...@@ -3,6 +3,6 @@ ...@@ -3,6 +3,6 @@
"packages": "packages", "packages": "packages",
"name": "play", "name": "play",
"id": "9af72fd2-44a6-4131-8ea3-3e1b3fa22231", "id": "9af72fd2-44a6-4131-8ea3-3e1b3fa22231",
"version": "2.4.4", "version": "2.4.3",
"isNew": false "isNew": false
} }
\ No newline at end of file
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
"optimizeHotUpdate": false, "optimizeHotUpdate": false,
"md5Cache": false, "md5Cache": false,
"nativeMd5Cache": true, "nativeMd5Cache": true,
"encryptJs": true, "encryptJs": false,
"xxteaKey": "af95a0f7-a8da-4f", "xxteaKey": "af95a0f7-a8da-4f",
"zipCompressJs": true, "zipCompressJs": true,
"fb-instant-games": {}, "fb-instant-games": {},
......
{ {
"last-module-event-record-time": 1600677246969, "last-module-event-record-time": 1623132204392,
"migrate-history": [ "migrate-history": [
"cloud-function" "cloud-function"
],
"group-list": [
"default"
],
"collision-matrix": [
[
true
] ]
],
"excluded-modules": [
"3D",
"3D Primitive",
"3D Physics/cannon.js",
"3D Physics/Builtin",
"3D Particle"
],
"preview-port": 7456,
"design-resolution-width": 960,
"design-resolution-height": 640,
"fit-width": false,
"fit-height": true,
"use-project-simulator-setting": false,
"simulator-orientation": false,
"use-customize-simulator": true,
"simulator-resolution": {
"height": 640,
"width": 960
},
"clear-simulator-cache": true,
"facebook": {
"appID": "",
"audience": {
"enable": false
},
"enable": false,
"live": {
"enable": false
}
}
} }
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