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
......@@ -78,25 +78,25 @@
"__id__": 7
},
{
"__id__": 117
"__id__": 120
},
{
"__id__": 133
"__id__": 136
},
{
"__id__": 135
"__id__": 138
}
],
"_active": true,
"_components": [
{
"__id__": 137
"__id__": 140
},
{
"__id__": 138
"__id__": 141
},
{
"__id__": 139
"__id__": 142
}
],
"_prefab": null,
......@@ -381,13 +381,13 @@
"__id__": 103
},
{
"__id__": 110
"__id__": 113
}
],
"_active": true,
"_components": [
{
"__id__": 116
"__id__": 119
}
],
"_prefab": null,
......@@ -2173,8 +2173,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1046,
"height": 766
"width": 1056,
"height": 771
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -5062,7 +5062,7 @@
},
{
"__type__": "cc.Node",
"_name": "bg_word",
"_name": "cell",
"_objFlags": 0,
"_parent": {
"__id__": 7
......@@ -5070,14 +5070,16 @@
"_children": [
{
"__id__": 104
}
],
"_active": true,
"_components": [
},
{
"__id__": 109
"__id__": 106
},
{
"__id__": 108
}
],
"_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
......@@ -5128,23 +5130,219 @@
},
{
"__type__": "cc.Node",
"_name": "lb",
"_name": "bg",
"_objFlags": 0,
"_parent": {
"__id__": 103
},
"_children": [
"_children": [],
"_active": false,
"_components": [
{
"__id__": 105
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 235,
"height": 89
},
"_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": "46zLaApSREiZP93oSYH51r"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 104
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b245a851-0086-4210-bdcc-3801013f22a9"
},
"_type": 0,
"_sizeMode": 2,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "acq7j6xPFNcJwfB5ZgK4sW"
},
{
"__type__": "cc.Node",
"_name": "tip",
"_objFlags": 0,
"_parent": {
"__id__": 103
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 107
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 102,
"height": 102
},
"_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": "66Hmffqb1NU44Ag0mvrDtM"
},
{
"__id__": 108
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 106
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "Armature",
"_animationName": "newAnimation",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "a01d1eb2-0b48-4958-91fc-eae82a99bb2d#281066f9-a835-4d4b-be1f-94c65e0167e3",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "a01d1eb2-0b48-4958-91fc-eae82a99bb2d"
},
"_N$dragonAtlasAsset": {
"__uuid__": "281066f9-a835-4d4b-be1f-94c65e0167e3"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "e16As/o59FCrvdicW10DUp"
},
{
"__type__": "cc.Node",
"_name": "lb",
"_objFlags": 0,
"_parent": {
"__id__": 103
},
"_children": [
{
"__id__": 109
}
],
"_active": true,
"_components": [
{
"__id__": 111
},
{
"__id__": 112
}
],
"_prefab": null,
......@@ -5200,13 +5398,13 @@
"_name": "right_ske",
"_objFlags": 0,
"_parent": {
"__id__": 104
"__id__": 108
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 106
"__id__": 110
}
],
"_prefab": null,
......@@ -5262,7 +5460,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 105
"__id__": 109
},
"_enabled": true,
"_materials": [
......@@ -5302,7 +5500,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 104
"__id__": 108
},
"_enabled": true,
"_materials": [
......@@ -5337,7 +5535,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 104
"__id__": 108
},
"_enabled": true,
"_color": {
......@@ -5355,38 +5553,6 @@
"_blur": 1,
"_id": "58ILGx3DZAW6aRzP1d47FQ"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 103
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b245a851-0086-4210-bdcc-3801013f22a9"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "f9v+rmUlFPtovj/qIJih+2"
},
{
"__type__": "cc.Node",
"_name": "rect",
......@@ -5396,16 +5562,16 @@
},
"_children": [
{
"__id__": 111
"__id__": 114
}
],
"_active": true,
"_components": [
{
"__id__": 114
"__id__": 117
},
{
"__id__": 115
"__id__": 118
}
],
"_prefab": null,
......@@ -5461,16 +5627,16 @@
"_name": "lb",
"_objFlags": 0,
"_parent": {
"__id__": 110
"__id__": 113
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 112
"__id__": 115
},
{
"__id__": 113
"__id__": 116
}
],
"_prefab": null,
......@@ -5526,7 +5692,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 111
"__id__": 114
},
"_enabled": true,
"_materials": [
......@@ -5561,7 +5727,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 111
"__id__": 114
},
"_enabled": true,
"_color": {
......@@ -5584,7 +5750,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 110
"__id__": 113
},
"_enabled": true,
"_layoutSize": {
......@@ -5616,7 +5782,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 110
"__id__": 113
},
"_enabled": true,
"_id": "d3jhg8+Y5Nm6MliA6sDChp"
......@@ -5657,13 +5823,13 @@
},
"_children": [
{
"__id__": 118
"__id__": 121
},
{
"__id__": 121
"__id__": 124
},
{
"__id__": 122
"__id__": 125
}
],
"_active": true,
......@@ -5721,11 +5887,11 @@
"_name": "font",
"_objFlags": 0,
"_parent": {
"__id__": 117
"__id__": 120
},
"_children": [
{
"__id__": 119
"__id__": 122
}
],
"_active": true,
......@@ -5783,13 +5949,13 @@
"_name": "BRLNSDB",
"_objFlags": 0,
"_parent": {
"__id__": 118
"__id__": 121
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 120
"__id__": 123
}
],
"_prefab": null,
......@@ -5845,7 +6011,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 119
"__id__": 122
},
"_enabled": true,
"_materials": [
......@@ -5880,7 +6046,7 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 117
"__id__": 120
},
"_children": [],
"_active": true,
......@@ -5938,23 +6104,23 @@
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__": 117
"__id__": 120
},
"_children": [
{
"__id__": 123
"__id__": 126
},
{
"__id__": 125
"__id__": 128
},
{
"__id__": 127
"__id__": 130
},
{
"__id__": 129
"__id__": 132
},
{
"__id__": 131
"__id__": 134
}
],
"_active": true,
......@@ -6012,13 +6178,13 @@
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__": 122
"__id__": 125
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 124
"__id__": 127
}
],
"_prefab": null,
......@@ -6074,7 +6240,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 123
"__id__": 126
},
"_enabled": true,
"_clip": {
......@@ -6093,13 +6259,13 @@
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 122
"__id__": 125
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 126
"__id__": 129
}
],
"_prefab": null,
......@@ -6155,7 +6321,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 125
"__id__": 128
},
"_enabled": true,
"_clip": {
......@@ -6174,13 +6340,13 @@
"_name": "jump",
"_objFlags": 0,
"_parent": {
"__id__": 122
"__id__": 125
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 128
"__id__": 131
}
],
"_prefab": null,
......@@ -6236,7 +6402,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 127
"__id__": 130
},
"_enabled": true,
"_clip": {
......@@ -6255,13 +6421,13 @@
"_name": "wrong",
"_objFlags": 0,
"_parent": {
"__id__": 122
"__id__": 125
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 130
"__id__": 133
}
],
"_prefab": null,
......@@ -6317,7 +6483,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 129
"__id__": 132
},
"_enabled": true,
"_clip": {
......@@ -6336,13 +6502,13 @@
"_name": "yeah",
"_objFlags": 0,
"_parent": {
"__id__": 122
"__id__": 125
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 132
"__id__": 135
}
],
"_prefab": null,
......@@ -6398,7 +6564,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 131
"__id__": 134
},
"_enabled": true,
"_clip": {
......@@ -6423,7 +6589,7 @@
"_active": false,
"_components": [
{
"__id__": 134
"__id__": 137
}
],
"_prefab": null,
......@@ -6479,7 +6645,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 133
"__id__": 136
},
"_enabled": true,
"_clip": {
......@@ -6504,7 +6670,7 @@
"_active": false,
"_components": [
{
"__id__": 136
"__id__": 139
}
],
"_prefab": null,
......@@ -6560,7 +6726,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 135
"__id__": 138
},
"_enabled": true,
"_materials": [
......@@ -6646,7 +6812,7 @@
"__id__": 78
},
"dragObj": {
"__id__": 110
"__id__": 113
},
"itemBg": {
"__id__": 44
......@@ -6672,6 +6838,12 @@
"cover": {
"__id__": 84
},
"flower1": {
"__id__": 15
},
"flower2": {
"__id__": 39
},
"_id": "eaTVUpqahPfZeO9+sUI7RP"
}
]
\ No newline at end of file
......@@ -2,6 +2,7 @@ import { asyncDelay, asyncPlayDragonBoneAnimation, getSpriteFrimeByUrl, goNextPa
import { MyCocosSceneComponent } from "../script/MyCocosSceneComponent_DG22";
import Boy from "../script/items/boy_DG22";
import DragObj from "../script/items/dragObj_DG22";
import { delayCall } from "../../../form/src/app/play/Unit";
const { ccclass, property } = cc._decorator;
......@@ -39,6 +40,12 @@ export default class SceneComponent extends MyCocosSceneComponent {
@property(cc.Node)
cover: cc.Node = null;
@property(cc.Node)
flower1: cc.Node = null;
@property(cc.Node)
flower2: cc.Node = null;
bgItemData: any;
dragData: any;
......@@ -133,6 +140,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
initBg() {
const bgNode = cc.find('Canvas/bg');
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_restart).to(0.3, { scale: 1.1 }).to(0.2, { scale: 1 }).delay(1).union().repeatForever().start();
this.btn_restart.active = false;
......@@ -141,6 +150,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.btn_restart.on("click", this.restartPage, this)
this.btn_start.active = false;
this.btn_end.active = false;
this.btn_end.on("click", () => {
......@@ -148,6 +158,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
}, this)
}
async playFlower(flowerNode) {
await asyncPlayDragonBoneAnimation(flowerNode, "newAnimation", 1);
await asyncDelay(10 + Math.random() * 5);
this.playFlower(flowerNode);
}
initPageData() {
this._rightIndex = 0;
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 @@
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -12.5,
"trimX": 43,
"offsetY": -15,
"trimX": 38,
"trimY": 50,
"width": 1046,
"height": 766,
"width": 1056,
"height": 771,
"rawWidth": 1132,
"rawHeight": 841,
"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