Commit 40bf5af1 authored by 杨一航's avatar 杨一航

feat: 反馈调整

parent 8d9ee60f
{
"ver": "1.1.2",
"uuid": "f40036bc-cd73-499f-8b85-1651acc870e7",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{"name":"tip","version":"5.5","frameRate":24,"isGlobal":0,"armature":[{"name":"Armature","animation":[{"name":"newAnimation","ik":[],"ffd":[],"frame":[],"duration":20,"slot":[{"name":"圆角矩形_30","colorFrame":[{"tweenEasing":0,"color":{"aM":80},"duration":20},{"color":{"aM":0},"duration":0}],"displayFrame":[]},{"name":"圆角矩形_30_拷贝_2","colorFrame":[],"displayFrame":[]}],"bone":[{"name":"root","translateFrame":[],"rotateFrame":[],"scaleFrame":[]},{"name":"圆角矩形_30","translateFrame":[],"rotateFrame":[],"scaleFrame":[{"x":0.73,"duration":20,"tweenEasing":0,"y":0.73},{"duration":0}]}],"playTimes":0}],"bone":[{"name":"root","transform":{}},{"name":"圆角矩形_30","transform":{},"parent":"root"}],"skin":[{"name":"","slot":[{"name":"圆角矩形_30","display":[{"name":"提示/圆角矩形_30","transform":{"skX":-0.0392,"skY":-0.0392},"type":"image","path":"提示/圆角矩形_30"}]},{"name":"圆角矩形_30_拷贝_2","display":[{"name":"提示/圆角矩形_30_拷贝_2","transform":{"skX":-0.1115,"skY":-0.1115},"type":"image","path":"提示/圆角矩形_30_拷贝_2"}]}]}],"defaultActions":[{"gotoAndPlay":"newAnimation"}],"ik":[],"frameRate":24,"slot":[{"name":"圆角矩形_30","color":{},"parent":"圆角矩形_30"},{"name":"圆角矩形_30_拷贝_2","color":{},"z":1,"parent":"root"}],"type":"Armature","aabb":{"x":-51,"height":102,"y":-51,"width":102}}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "a01d1eb2-0b48-4958-91fc-eae82a99bb2d",
"subMetas": {}
}
\ No newline at end of file
{"name":"tip","SubTexture":[{"name":"提示/圆角矩形_30","x":1,"height":102,"y":1,"width":102},{"name":"提示/圆角矩形_30_拷贝_2","x":105,"height":65,"y":1,"width":65}],"height":128,"imagePath":"tip_tex.png","width":256}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "281066f9-a835-4d4b-be1f-94c65e0167e3",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "a64effcc-6fa8-45a7-a791-7cafbbb5f43a",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 256,
"height": 128,
"platformSettings": {},
"subMetas": {
"tip_tex": {
"ver": "1.0.4",
"uuid": "444e67b8-7474-41e4-81fa-5c6c9566d7f0",
"rawTextureUuid": "a64effcc-6fa8-45a7-a791-7cafbbb5f43a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -42.5,
"offsetY": 12,
"trimX": 1,
"trimY": 1,
"width": 169,
"height": 102,
"rawWidth": 256,
"rawHeight": 128,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
This diff is collapsed.
...@@ -2,6 +2,7 @@ import { asyncDelay, asyncPlayDragonBoneAnimation, getSpriteFrimeByUrl, goNextPa ...@@ -2,6 +2,7 @@ import { asyncDelay, asyncPlayDragonBoneAnimation, getSpriteFrimeByUrl, goNextPa
import { MyCocosSceneComponent } from "../script/MyCocosSceneComponent_DG22"; import { MyCocosSceneComponent } from "../script/MyCocosSceneComponent_DG22";
import Boy from "../script/items/boy_DG22"; import Boy from "../script/items/boy_DG22";
import DragObj from "../script/items/dragObj_DG22"; import DragObj from "../script/items/dragObj_DG22";
import { delayCall } from "../../../form/src/app/play/Unit";
const { ccclass, property } = cc._decorator; const { ccclass, property } = cc._decorator;
...@@ -39,6 +40,12 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -39,6 +40,12 @@ export default class SceneComponent extends MyCocosSceneComponent {
@property(cc.Node) @property(cc.Node)
cover: cc.Node = null; cover: cc.Node = null;
@property(cc.Node)
flower1: cc.Node = null;
@property(cc.Node)
flower2: cc.Node = null;
bgItemData: any; bgItemData: any;
dragData: any; dragData: any;
...@@ -133,6 +140,8 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -133,6 +140,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
initBg() { initBg() {
const bgNode = cc.find('Canvas/bg'); const bgNode = cc.find('Canvas/bg');
bgNode.scale = this._mapScaleMax; bgNode.scale = this._mapScaleMax;
this.playFlower(this.flower1);
this.playFlower(this.flower2);
cc.tween(this.btn_start).to(0.3, { scale: 1.1 }).to(0.2, { scale: 1 }).delay(1).union().repeatForever().start(); cc.tween(this.btn_start).to(0.3, { scale: 1.1 }).to(0.2, { scale: 1 }).delay(1).union().repeatForever().start();
cc.tween(this.btn_restart).to(0.3, { scale: 1.1 }).to(0.2, { scale: 1 }).delay(1).union().repeatForever().start(); cc.tween(this.btn_restart).to(0.3, { scale: 1.1 }).to(0.2, { scale: 1 }).delay(1).union().repeatForever().start();
this.btn_restart.active = false; this.btn_restart.active = false;
...@@ -141,6 +150,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -141,6 +150,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.btn_restart.on("click", this.restartPage, this) this.btn_restart.on("click", this.restartPage, this)
this.btn_start.active = false; this.btn_start.active = false;
this.btn_end.active = false; this.btn_end.active = false;
this.btn_end.on("click", () => { this.btn_end.on("click", () => {
...@@ -148,6 +158,11 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -148,6 +158,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
}, this) }, this)
} }
async playFlower(flowerNode) {
await asyncPlayDragonBoneAnimation(flowerNode, "newAnimation", 1);
await asyncDelay(10 + Math.random() * 5);
this.playFlower(flowerNode);
}
initPageData() { initPageData() {
this._rightIndex = 0; this._rightIndex = 0;
this.bgItemData = this.data.questions[0].bgItem; this.bgItemData = this.data.questions[0].bgItem;
......
assets/DG22/textures/img_board.png

61.4 KB | W: | H:

assets/DG22/textures/img_board.png

204 KB | W: | H:

assets/DG22/textures/img_board.png
assets/DG22/textures/img_board.png
assets/DG22/textures/img_board.png
assets/DG22/textures/img_board.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -19,11 +19,11 @@ ...@@ -19,11 +19,11 @@
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": -12.5, "offsetY": -15,
"trimX": 43, "trimX": 38,
"trimY": 50, "trimY": 50,
"width": 1046, "width": 1056,
"height": 766, "height": 771,
"rawWidth": 1132, "rawWidth": 1132,
"rawHeight": 841, "rawHeight": 841,
"borderTop": 0, "borderTop": 0,
......
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