Commit 0f061087 authored by 李维's avatar 李维

添加虎阅结果显示动画和音频

parent ea64811e
{
"ver": "2.0.1",
"uuid": "0a9eb7a2-998f-4b04-afa7-fe2c414431b1",
"downloadMode": 0,
"duration": 2.0178,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "28194632-71a1-4070-b0e2-ff50583091e3",
"downloadMode": 0,
"duration": 2.0178,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "59479332-7f75-4c60-b483-0c243c6b2dc6",
"downloadMode": 0,
"duration": 2.0178,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "4c67848f-14ce-4e7d-997c-5c6bfdba545d",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.0.1",
"uuid": "c7819a89-0e72-4b77-b500-fe8db3e76e6a",
"subMetas": {}
}
\ No newline at end of file
{"name":"HY_Excellent","height":2048,"SubTexture":[{"name":"翅膀_左3","x":671,"height":162,"y":1849,"width":161},{"name":"翅膀_左2","x":508,"height":162,"y":1849,"width":161},{"name":"翅膀_左1","x":834,"height":162,"y":1849,"width":160},{"name":"翅膀_右3","x":1864,"height":162,"y":604,"width":161},{"name":"翅膀_右2","x":1864,"height":162,"y":440,"width":161},{"name":"翅膀_右1","x":1532,"height":162,"y":723,"width":160},{"name":"菱形","x":1532,"height":437,"y":1,"width":391},{"name":"虎头Excellent","x":1532,"height":281,"y":440,"width":330},{"name":"Excellent","x":1,"height":151,"y":1849,"width":505},{"name":"糖1","x":2000,"height":30,"y":39,"width":45},{"name":"糖2","x":2000,"height":36,"y":1,"width":41},{"name":"糖3","x":1925,"height":61,"y":1,"width":39},{"name":"糖4","x":1966,"height":49,"y":1,"width":32},{"name":"糖5","x":1952,"height":25,"y":80,"width":19},{"name":"糖6","x":1966,"height":26,"y":52,"width":26},{"name":"糖7","x":2021,"height":24,"y":107,"width":20},{"name":"糖8","x":1973,"height":16,"y":80,"width":15},{"name":"糖9","x":1925,"height":16,"y":91,"width":15},{"name":"糖10","x":1973,"height":16,"y":98,"width":15},{"name":"糖11","x":1994,"height":25,"y":71,"width":25},{"name":"糖12","x":1925,"height":25,"y":64,"width":25},{"name":"糖13","x":2021,"height":25,"y":80,"width":25},{"name":"糖14","x":1,"height":27,"y":2002,"width":50},{"name":"光4","x":1,"height":862,"y":985,"width":862},{"name":"光","x":1,"height":982,"frameY":-74,"y":1,"frameHeight":1080,"frameX":-164,"frameWidth":1920,"width":1529}],"imagePath":"HY_Excellent_tex.png","width":2048}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "9536b391-2aab-405e-8d27-2d169258e9a5",
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "2.3.5",
"uuid": "1b66f8db-c894-490b-81cd-5ea389d95fec",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2048,
"height": 2048,
"platformSettings": {},
"subMetas": {
"HY_Excellent_tex": {
"ver": "1.0.4",
"uuid": "06f8ea4c-4d48-4590-961c-8270ae350dd9",
"rawTextureUuid": "1b66f8db-c894-490b-81cd-5ea389d95fec",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": 9,
"trimX": 1,
"trimY": 1,
"width": 2045,
"height": 2028,
"rawWidth": 2048,
"rawHeight": 2048,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "c754ebd0-4dce-4158-a666-e5a166fd78a4",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.0.1",
"uuid": "a37b928a-3338-488e-9649-2354e1197cce",
"subMetas": {}
}
\ No newline at end of file
{"name":"HY_Good","height":2048,"SubTexture":[{"name":"翅膀_左3","x":671,"height":162,"y":1849,"width":161},{"name":"翅膀_左2","x":508,"height":162,"y":1849,"width":161},{"name":"翅膀_左1","x":1532,"height":162,"y":722,"width":160},{"name":"翅膀_右3","x":1861,"height":162,"y":604,"width":161},{"name":"翅膀_右2","x":1861,"height":162,"y":440,"width":161},{"name":"翅膀_右1","x":834,"height":162,"y":1849,"width":160},{"name":"菱形","x":1532,"height":437,"y":1,"width":391},{"name":"虎头Good_","x":1532,"height":280,"y":440,"width":327},{"name":"Good_","x":1,"height":151,"y":1849,"width":505},{"name":"糖1","x":2000,"height":30,"y":39,"width":45},{"name":"糖2","x":2000,"height":36,"y":1,"width":41},{"name":"糖3","x":1925,"height":61,"y":1,"width":39},{"name":"糖4","x":1966,"height":49,"y":1,"width":32},{"name":"糖5","x":1952,"height":25,"y":80,"width":19},{"name":"糖6","x":1966,"height":26,"y":52,"width":26},{"name":"糖7","x":2021,"height":24,"y":107,"width":20},{"name":"糖8","x":1973,"height":16,"y":98,"width":15},{"name":"糖9","x":1973,"height":16,"y":80,"width":15},{"name":"糖10","x":1925,"height":16,"y":91,"width":15},{"name":"糖11","x":2021,"height":25,"y":80,"width":25},{"name":"糖12","x":1994,"height":25,"y":71,"width":25},{"name":"糖13","x":1925,"height":25,"y":64,"width":25},{"name":"糖14","x":1,"height":27,"y":2002,"width":50},{"name":"光4","x":1,"height":862,"y":985,"width":862},{"name":"光","x":1,"height":982,"frameY":-74,"y":1,"frameHeight":1080,"frameX":-164,"frameWidth":1920,"width":1529}],"imagePath":"HY_Good_tex.png","width":2048}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "f8c137d9-dcd6-40cb-9b43-26b81169d4f3",
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "2.3.5",
"uuid": "8bb1fa5f-a4e5-4ae4-8a56-2ff547cc4df1",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2048,
"height": 2048,
"platformSettings": {},
"subMetas": {
"HY_Good_tex": {
"ver": "1.0.4",
"uuid": "6735c9e5-3851-4c83-8f57-e221123993fd",
"rawTextureUuid": "8bb1fa5f-a4e5-4ae4-8a56-2ff547cc4df1",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": 9,
"trimX": 1,
"trimY": 1,
"width": 2045,
"height": 2028,
"rawWidth": 2048,
"rawHeight": 2048,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "86dd7d19-f629-4302-a190-200ee56a075e",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.0.1",
"uuid": "aa28439e-ac98-4700-816b-f12cccf7efb2",
"subMetas": {}
}
\ No newline at end of file
{"name":"HY_TryAgain","height":2048,"SubTexture":[{"name":"翅膀_左3","x":1865,"height":162,"y":604,"width":161},{"name":"翅膀_左2","x":508,"height":162,"y":1849,"width":161},{"name":"翅膀_左1","x":1532,"height":162,"y":717,"width":160},{"name":"翅膀_右3","x":1865,"height":162,"y":440,"width":161},{"name":"翅膀_右2","x":671,"height":162,"y":1849,"width":161},{"name":"翅膀_右1","x":834,"height":162,"y":1849,"width":160},{"name":"菱形","x":1532,"height":437,"y":1,"width":391},{"name":"虎头Try_again","x":1532,"height":275,"y":440,"width":331},{"name":"Try_again","x":1,"height":151,"y":1849,"width":505},{"name":"糖1","x":2000,"height":30,"y":39,"width":45},{"name":"糖2","x":2000,"height":36,"y":1,"width":41},{"name":"糖3","x":1925,"height":61,"y":1,"width":39},{"name":"糖4","x":1966,"height":49,"y":1,"width":32},{"name":"糖5","x":1952,"height":25,"y":80,"width":19},{"name":"糖6","x":1966,"height":26,"y":52,"width":26},{"name":"糖7","x":2021,"height":24,"y":107,"width":20},{"name":"糖8","x":1973,"height":16,"y":98,"width":15},{"name":"糖9","x":1973,"height":16,"y":80,"width":15},{"name":"糖10","x":1925,"height":16,"y":91,"width":15},{"name":"糖11","x":2021,"height":25,"y":80,"width":25},{"name":"糖12","x":1994,"height":25,"y":71,"width":25},{"name":"糖13","x":1925,"height":25,"y":64,"width":25},{"name":"糖14","x":1,"height":27,"y":2002,"width":50},{"name":"光4","x":1,"height":862,"y":985,"width":862},{"name":"光","x":1,"height":982,"frameY":-74,"y":1,"frameHeight":1080,"frameX":-164,"frameWidth":1920,"width":1529}],"imagePath":"HY_TryAgain_tex.png","width":2048}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "494738f3-9759-42cc-bc9d-20663f1f3c74",
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "2.3.5",
"uuid": "c1d2ad55-c28b-4a53-953e-fdd02c2361be",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2048,
"height": 2048,
"platformSettings": {},
"subMetas": {
"HY_TryAgain_tex": {
"ver": "1.0.4",
"uuid": "92cf7ce6-faff-4bc6-99a7-9eef6782be7e",
"rawTextureUuid": "c1d2ad55-c28b-4a53-953e-fdd02c2361be",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": 9,
"trimX": 1,
"trimY": 1,
"width": 2045,
"height": 2028,
"rawWidth": 2048,
"rawHeight": 2048,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
This diff is collapsed.
......@@ -471,12 +471,15 @@ export default class SceneComponent extends MyCocosSceneComponent {
if(isAllRight) {
aniName = "Default";
console.log("虎阅全对")
aniName = "HY_AllRight";
} else if (isAllWrong) {
aniName = "Default"
console.log("虎阅全错误")
aniName = "HY_AllWrong";
} else {
aniName = "Default"
console.log("虎阅一般")
aniName = "HY_Normal";
}
scoreNode.active = false;
} else {
......@@ -498,7 +501,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
const dragonDisplay = animationNode.getComponent(dragonBones.ArmatureDisplay);
dragonDisplay.playAnimation('newAnimation', 1);
this.showCloseBtn();
playLocalAudio("finish");
if(ratingSystem == RS_NONE_3L_HY) {
playLocalAudio(aniName);
} else {
playLocalAudio("finish");
}
}).start()
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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