Commit 0318c4ca authored by Tt's avatar Tt

修改效果提交

parent 8bcfc512
{"name":"guid","version":"5.5","frameRate":24,"armature":[{"name":"Armature","animation":[{"name":"guid","ffd":[],"frame":[],"duration":28,"slot":[{"name":"bg_recordmove1","colorFrame":[{"tweenEasing":0,"color":{"aM":54},"duration":8},{"tweenEasing":0,"color":{"aM":54},"duration":20},{"color":{"aM":0},"duration":0}],"displayFrame":[]},{"name":"bg_recordmove","colorFrame":[{"tweenEasing":0,"duration":20},{"color":{"aM":0},"duration":8}],"displayFrame":[]}],"bone":[{"name":"root","scaleFrame":[],"translateFrame":[],"rotateFrame":[]},{"name":"bone","scaleFrame":[{"duration":20,"tweenEasing":0},{"x":1.5,"duration":8,"y":1.5}],"translateFrame":[],"rotateFrame":[]},{"name":"bone1","scaleFrame":[{"x":0.7,"duration":8,"tweenEasing":0,"y":0.7},{"x":0.7,"duration":20,"tweenEasing":0,"y":0.7},{"x":1.5,"duration":0,"y":1.5}],"translateFrame":[],"rotateFrame":[]}],"ik":[],"playTimes":0}],"bone":[{"name":"root","transform":{}},{"name":"bone","transform":{},"parent":"root"},{"name":"bone1","transform":{},"parent":"root"}],"defaultActions":[{"gotoAndPlay":"guid"}],"skin":[{"name":"","slot":[{"name":"bg_recordmove1","display":[{"name":"bg_recordmove","transform":{},"type":"image","path":"bg_recordmove"}]},{"name":"bg_recordmove","display":[{"name":"bg_recordmove","transform":{},"type":"image","path":"bg_recordmove"}]}]}],"frameRate":24,"slot":[{"name":"bg_recordmove","color":{},"parent":"bone"},{"name":"bg_recordmove1","color":{},"z":1,"parent":"bone1"}],"type":"Armature","ik":[],"aabb":{"x":-145.5,"height":234,"y":-117,"width":291}}],"isGlobal":0}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "798dc639-44aa-43f5-8633-c41b650f52f3",
"subMetas": {}
}
\ No newline at end of file
{"name":"guid","SubTexture":[{"name":"bg_recordmove","x":1,"height":234,"y":1,"width":291}],"imagePath":"guid_tex.png","height":256,"width":512}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "b1e23e77-8349-4843-9061-3a4bd057cb93",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "b9bdbc54-4550-4d06-9e4f-49a009235a00",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 512,
"height": 256,
"platformSettings": {},
"subMetas": {
"guid_tex": {
"ver": "1.0.4",
"uuid": "d30dd787-4e2d-41a7-8258-38040017f35c",
"rawTextureUuid": "b9bdbc54-4550-4d06-9e4f-49a009235a00",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -109.5,
"offsetY": 10,
"trimX": 1,
"trimY": 1,
"width": 291,
"height": 234,
"rawWidth": 512,
"rawHeight": 256,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
This diff is collapsed.
// Learn cc.Class:
// - https://docs.cocos.com/creator/manual/en/scripting/class.html
// Learn Attribute:
// - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
import pg from "./pg";
cc.Class({
extends: cc.Component,
properties: {
// foo: {
// // ATTRIBUTES:
// default: null, // The default value will be used only when the component attaching
// // to a node for the first time
// type: cc.SpriteFrame, // optional, default is typeof default
// serializable: true, // optional, default is true
// },
// bar: {
// get () {
// return this._bar;
// },
// set (value) {
// this._bar = value;
// }
// },
},
// LIFE-CYCLE CALLBACKS:
onLoad() {
this.p0 = pg.view.find(this, "p0");
this.p1 = pg.view.find(this, "p1");
this.p2 = pg.view.find(this, "p2");
this.count = 0;
},
start() {
},
update(dt) {
if (!this.p0) return;
this.count++;
let m = Math.floor(this.count / 40) % 4;
this[`p0`].active = (m >= 1);
this[`p1`].active = (m >= 2);
this[`p2`].active = (m >= 3);
},
});
{
"ver": "1.0.8",
"uuid": "bea9617c-f6be-43d4-8fcf-2472770a4244",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "6dab856d-21e5-4624-8254-c40feb8c1af2",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 58,
"height": 61,
"platformSettings": {},
"subMetas": {
"icon_recording_point": {
"ver": "1.0.4",
"uuid": "e468fde1-083c-4fac-909e-afb9b4d1c3ce",
"rawTextureUuid": "6dab856d-21e5-4624-8254-c40feb8c1af2",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 58,
"height": 61,
"rawWidth": 58,
"rawHeight": 61,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment