Commit a995d378 authored by 李维's avatar 李维

添加首次进入页面提示

parent e36eb9e9
{
"ver": "1.1.2",
"uuid": "715861b5-3438-4045-a012-812c3dbffcf8",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{"frameRate":24,"name":"ipw_finger_click","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":24,"name":"ipw_finger_click","aabb":{"x":-112.75,"y":-112.75,"width":228.58,"height":225.5},"bone":[{"name":"root","transform":{"scX":0.8,"scY":0.8}},{"length":123.75,"name":"Taishou","parent":"root","transform":{"x":85.4875,"y":85.475,"skX":-126.9323,"skY":-126.9323}},{"name":"circle2","parent":"root","transform":{"x":-0.25,"skX":-90,"skY":-90}},{"name":"circle1","parent":"root","transform":{"y":-2.2875}}],"slot":[{"name":"circle1","parent":"circle1","color":{"aM":0}},{"name":"circle2","parent":"circle2","color":{"aM":0}},{"name":"Taishou","parent":"Taishou"}],"skin":[{"slot":[{"name":"circle1","display":[{"name":"circle1","transform":{"y":2.29}}]},{"name":"Taishou","display":[{"name":"Taishou","transform":{"x":50.74,"y":7.35,"skX":126.93,"skY":126.93}},{"name":"Anoxia","transform":{"x":48.85,"y":-0.95,"skX":126.93,"skY":126.93}}]},{"name":"circle2","display":[{"name":"circle2","transform":{"y":0.25,"skX":90,"skY":90}}]}]}],"animation":[{"duration":24,"playTimes":0,"name":"newAnimation","bone":[{"name":"Taishou","translateFrame":[{"duration":2,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":3,"tweenEasing":0,"x":1.67,"y":7.22},{"duration":14}],"rotateFrame":[{"duration":2,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":3,"tweenEasing":0,"rotate":5.08},{"duration":14}]},{"name":"circle2","scaleFrame":[{"duration":10},{"duration":8,"tweenEasing":0},{"duration":6,"x":1.3,"y":1.3}]},{"name":"circle1","scaleFrame":[{"duration":10},{"duration":6,"tweenEasing":0,"x":0.01,"y":0.01},{"duration":8,"x":1.5,"y":1.5}]}],"slot":[{"name":"circle1","colorFrame":[{"duration":6,"tweenEasing":0,"value":{"aM":0}},{"duration":4,"tweenEasing":0,"value":{"aM":0}},{"duration":6,"tweenEasing":0},{"duration":8,"value":{"aM":0}}]},{"name":"circle2","colorFrame":[{"duration":10,"tweenEasing":0,"value":{"aM":0}},{"duration":2,"tweenEasing":0,"value":{"aM":0}},{"duration":6,"tweenEasing":0},{"duration":6,"value":{"aM":0}}]},{"name":"Taishou","displayFrame":[{"duration":7},{"duration":17,"value":1}]}]}],"defaultActions":[{"gotoAndPlay":"newAnimation"}],"canvas":{"width":250,"height":250}}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "d5a618ff-ff75-40b5-a23b-0bb0aa1e0f73",
"subMetas": {}
}
\ No newline at end of file
{"name":"ipw_finger_click","height":512,"SubTexture":[{"name":"circle1","x":1,"height":147,"y":229,"width":147},{"name":"circle2","x":1,"height":226,"y":1,"width":226},{"name":"Taishou","x":150,"height":151,"y":229,"width":134},{"name":"Anoxia","x":286,"height":138,"y":229,"width":145}],"imagePath":"ipw_finger_click_tex.png","width":512}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "87f49584-9157-43aa-baba-d64fc5078553",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "2d841864-e000-4cf9-a949-af8c3434a976",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1024,
"height": 1024,
"platformSettings": {},
"subMetas": {
"ipw_finger_click_tex": {
"ver": "1.0.4",
"uuid": "205d931e-2bfc-45e3-af21-0fc9139ca765",
"rawTextureUuid": "2d841864-e000-4cf9-a949-af8c3434a976",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -40,
"offsetY": 65.5,
"trimX": 1,
"trimY": 1,
"width": 430,
"height": 379,
"rawWidth": 512,
"rawHeight": 512,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
// 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
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 () {},
start () {
const currentStage = "NJ_YouLeChang";
const nextStage = "NJ_Menu";
const tipsNode = cc.find("tips", this.node)
let tipsStage = cc.sys.localStorage.getItem('SYS_GUIDE_TIPS');
if(!tipsStage) {
tipsStage = currentStage;
cc.sys.localStorage.setItem('SYS_GUIDE_TIPS', tipsStage);
}
if(tipsStage == currentStage) {
tipsNode.active = true;
}
cc.sys.localStorage.setItem('SYS_GUIDE_TIPS', nextStage);
},
// update (dt) {},
});
{
"ver": "1.0.8",
"uuid": "1c161404-e95e-465e-bd26-421fb4cc3b2e",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"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