Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
et15_flipcard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
et15_flipcard
Commits
b9e7e8ac
Commit
b9e7e8ac
authored
Mar 01, 2021
by
Guo Yuhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增音频播放按钮
Signed-off-by:
郭宇航
<
guoyuhang@iplayabc.com
>
parent
8a82ba9d
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
461 additions
and
36 deletions
+461
-36
form.component.html
form/src/app/form/form.component.html
+12
-11
playAudioAni.anim
play/assets/playAudioAni.anim
+37
-0
playAudioAni.anim.meta
play/assets/playAudioAni.anim.meta
+5
-0
flipCard.fire
play/assets/tmpGame/scene/flipCard.fire
+230
-16
flipCard.js
play/assets/tmpGame/script/flipCard.js
+29
-9
播放中1.png
play/assets/tmpGame/textures/播放中1.png
+0
-0
播放中1.png.meta
play/assets/tmpGame/textures/播放中1.png.meta
+37
-0
播放中2.png
play/assets/tmpGame/textures/播放中2.png
+0
-0
播放中2.png.meta
play/assets/tmpGame/textures/播放中2.png.meta
+37
-0
播放中3.png
play/assets/tmpGame/textures/播放中3.png
+0
-0
播放中3.png.meta
play/assets/tmpGame/textures/播放中3.png.meta
+37
-0
等待播放.png
play/assets/tmpGame/textures/等待播放.png
+0
-0
等待播放.png.meta
play/assets/tmpGame/textures/等待播放.png.meta
+37
-0
No files found.
form/src/app/form/form.component.html
View file @
b9e7e8ac
<div
class=
"model-content"
>
<div
style=
"padding-bottom: 20px;"
>
<input
style=
"width: 80%; margin-bottom: 0.5vw"
type=
"text"
nz-input
placeholder=
""
[(
ngModel
)]="
item
.
contentObj
.
title
"
(
blur
)="
saveItem
()"
>
<h5>
Title-sound:
</h5>
<app-audio-recorder
[
audioUrl
]="
item
.
contentObj
.
audio_url
"
(
audioUploaded
)="
onAudioUploadSuccessByItem
($
event
,
item
.
contentObj
)"
>
</app-audio-recorder>
<div
class=
"model-content"
style=
"flex-direction: column;"
>
<div
class=
"border"
>
<div
style=
"padding-bottom: 20px;"
>
<input
style=
"width: 80%; margin-bottom: 0.5vw"
type=
"text"
nz-input
placeholder=
""
[(
ngModel
)]="
item
.
contentObj
.
title
"
(
blur
)="
saveItem
()"
>
<h5>
Title-sound:
</h5>
<app-audio-recorder
[
audioUrl
]="
item
.
contentObj
.
audio_url
"
(
audioUploaded
)="
onAudioUploadSuccessByItem
($
event
,
item
.
contentObj
)"
>
</app-audio-recorder>
</div>
</div>
<div
*
ngFor=
"let it of picArr; let i = index"
class=
"card-item"
style=
"padding: 0.5vw;"
>
<div
class=
"border"
>
<h5
style=
"width: 100%; line-height: 40px; text-align: center;"
>
卡片组-{{i+1}}
</h5>
...
...
@@ -96,7 +100,6 @@
</div>
<div
nz-col
nzSpan=
"8"
class=
"add-btn-box"
>
<!--<div style="width: 100%; height: 100%;">-->
<button
style=
" margin: auto; width: 60%; height: 60%;"
nz-button
nzType=
"dashed"
class=
"add-btn"
(
click
)="
addItem
()"
>
...
...
@@ -104,8 +107,6 @@
Add
</button>
<!--</div>-->
</div>
...
...
play/assets/playAudioAni.anim
0 → 100644
View file @
b9e7e8ac
{
"__type__": "cc.AnimationClip",
"_name": "playAudioAni",
"_objFlags": 0,
"_native": "",
"_duration": 0.5166666666666667,
"sample": 60,
"speed": 0.5,
"wrapMode": 2,
"curveData": {
"comps": {
"cc.Sprite": {
"spriteFrame": [
{
"frame": 0,
"value": {
"__uuid__": "8a6d3781-dbab-4359-96dd-540a12324067"
}
},
{
"frame": 0.25,
"value": {
"__uuid__": "86460151-cc5a-4ee5-b295-0c2b2a59140d"
}
},
{
"frame": 0.5,
"value": {
"__uuid__": "5dc37f58-ae3c-4f55-8a7d-408fe4b430e3"
}
}
]
}
}
},
"events": []
}
\ No newline at end of file
play/assets/playAudioAni.anim.meta
0 → 100644
View file @
b9e7e8ac
{
"ver": "2.1.0",
"uuid": "3164c4ee-2187-4017-bcae-e74a0606adbb",
"subMetas": {}
}
\ No newline at end of file
play/assets/tmpGame/scene/flipCard.fire
View file @
b9e7e8ac
...
...
@@ -17,7 +17,7 @@
"__id__": 2
},
{
"__id__":
48
"__id__":
53
}
],
"_active": true,
...
...
@@ -81,19 +81,19 @@
"__id__": 28
},
{
"__id__": 4
0
"__id__": 4
5
}
],
"_active": true,
"_components": [
{
"__id__":
45
"__id__":
50
},
{
"__id__":
46
"__id__":
51
},
{
"__id__":
47
"__id__":
52
}
],
"_prefab": null,
...
...
@@ -183,7 +183,7 @@
"array": [
0,
0,
494.77113849959716
,
711.8617921662624
,
0,
0,
0,
...
...
@@ -1144,6 +1144,12 @@
},
{
"__id__": 34
},
{
"__id__": 40
},
{
"__id__": 43
}
],
"_active": true,
...
...
@@ -1646,6 +1652,214 @@
"preload": false,
"_id": "54j01GJLxICJ5/bgqguCBB"
},
{
"__type__": "cc.Node",
"_name": "playbtn",
"_objFlags": 0,
"_parent": {
"__id__": 28
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 41
},
{
"__id__": 42
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 74,
"height": 82
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
95.883,
237.628,
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": "d6Vg58EqtHZaL5wgT5lmLk"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 40
},
"_enabled": true,
"_defaultClip": {
"__uuid__": "3164c4ee-2187-4017-bcae-e74a0606adbb"
},
"_clips": [
{
"__uuid__": "3164c4ee-2187-4017-bcae-e74a0606adbb"
}
],
"playOnLoad": false,
"_id": "f4+Ag6xfNEQbBl8k8lGdoz"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 40
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "0cK5FKw1NMVLzkPXzrV7Yl"
},
{
"__type__": "cc.Node",
"_name": "btnimg",
"_objFlags": 0,
"_parent": {
"__id__": 28
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 44
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 74,
"height": 82
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
95.351,
238.245,
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": "ffuVD2rA5GGriluXzcW9uB"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 43
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6c8b4228-9212-44b8-a8ea-1503b67a94d4"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "57eYrUjxVMYKGN/wAU1aLV"
},
{
"__type__": "cc.Node",
"_name": "AutoContainer",
...
...
@@ -1655,13 +1869,13 @@
},
"_children": [
{
"__id__": 4
1
"__id__": 4
6
}
],
"_active": true,
"_components": [
{
"__id__": 4
4
"__id__": 4
9
}
],
"_prefab": null,
...
...
@@ -1717,16 +1931,16 @@
"_name": "layout",
"_objFlags": 0,
"_parent": {
"__id__": 4
0
"__id__": 4
5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 4
2
"__id__": 4
7
},
{
"__id__": 4
3
"__id__": 4
8
}
],
"_prefab": null,
...
...
@@ -1782,7 +1996,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
1
"__id__": 4
6
},
"_enabled": true,
"_layoutSize": {
...
...
@@ -1814,7 +2028,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
1
"__id__": 4
6
},
"_enabled": true,
"alignMode": 1,
...
...
@@ -1841,7 +2055,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 4
0
"__id__": 4
5
},
"_enabled": true,
"designWidth": 1280,
...
...
@@ -1916,7 +2130,7 @@
"_active": false,
"_components": [
{
"__id__":
49
"__id__":
54
}
],
"_prefab": null,
...
...
@@ -1972,7 +2186,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__":
48
"__id__":
53
},
"_enabled": true,
"_materials": [
...
...
play/assets/tmpGame/script/flipCard.js
View file @
b9e7e8ac
...
...
@@ -105,8 +105,8 @@ cc.Class({
getDefaultData
()
{
const
dataJson
=
'
{"contentObj":{"picArr":[{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}}],"audio_url":"","title":""},"audio_url":""}
'
;
//
const dataJson = '{"contentObj":{"picArr":[{"left":{"title":"11111","pic_url":"http://staging-teach.cdn.ireadabc.com/156b8293a073ef828f6e01fc620c3562.png","audio_url":"http://staging-teach.cdn.ireadabc.com/83513f8d6083ebe072e3f9e47a21558a.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"222222","pic_url":"http://staging-teach.cdn.ireadabc.com/e029bf3210a23a169f1cc14a851cc9e4.jpg","audio_url":"http://staging-teach.cdn.ireadabc.com/5285e1e88a26a08783757e9c43a8653f.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"3333","pic_url":"http://staging-teach.cdn.ireadabc.com/89f8093ced2b9ddeccec352e9b7f2775.jpg","audio_url":"http://staging-teach.cdn.ireadabc.com/440cf9d57752b30691d90ed565e8c924.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"444444","pic_url":"http://staging-teach.cdn.ireadabc.com/5a2c61d8faf5935e70fd9b15953b12f6.png","audio_url":"http://staging-teach.cdn.ireadabc.com/a5fa20e0c6024421b0d9a7007c303503.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"5555","pic_url":"http://staging-teach.cdn.ireadabc.com/ce2e48ecefbf8b7011385a95133fe987.jpg","audio_url":"http://staging-teach.cdn.ireadabc.com/a41f0f2bf190396e2641ec8dada8edfe.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"66","pic_url":"http://staging-teach.cdn.ireadabc.com/13845267419e50bd7f0c0f74ba424be2.jpg","audio_url":"http://staging-teach.cdn.ireadabc.com/32258b839eca32b6ccf94f3dd6c86e0c.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"77777","pic_url":"http://staging-teach.cdn.ireadabc.com/7ec7599c86f974c9f88409893010811d.png","audio_url":"http://staging-teach.cdn.ireadabc.com/49ac987d13695eb411da4bef0adb318f.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"8888888","pic_url":"http://staging-teach.cdn.ireadabc.com/24ee95ea61a2a653ce25c65557b18356.jpg","audio_url":"http://staging-teach.cdn.ireadabc.com/85cff126986f5cc11b05e95181da5869.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"99999999999999999","pic_url":"http://staging-teach.cdn.ireadabc.com/3aa5a936d8e0e6f1dd2f6eb6d3d26645.jpg","audio_url":"http://staging-teach.cdn.ireadabc.com/a4d27ad173a95823d4b8ec82363c5aa0.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"10101010101010","pic_url":"http://staging-teach.cdn.ireadabc.com/5ec43bf9507ff08d556487dee9234653.png","audio_url":"http://staging-teach.cdn.ireadabc.com/66878465ec50d162bd60fcdaa641933b.mp3"},"right":{"title":"","pic_url":"","audio_url":""}}]}}'
//
const dataJson = ' {"contentObj":{"picArr":[{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"","pic_url":"","audio_url":""},"right":{"title":"","pic_url":"","audio_url":""}}],"audio_url":"","title":""},"audio_url":""}';
const
dataJson
=
'
{"contentObj":{"picArr":[{"left":{"title":"11111","pic_url":"http://staging-teach.cdn.ireadabc.com/156b8293a073ef828f6e01fc620c3562.png","audio_url":"http://staging-teach.cdn.ireadabc.com/83513f8d6083ebe072e3f9e47a21558a.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"222222","pic_url":"http://staging-teach.cdn.ireadabc.com/e029bf3210a23a169f1cc14a851cc9e4.jpg","audio_url":"http://staging-teach.cdn.ireadabc.com/5285e1e88a26a08783757e9c43a8653f.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"3333","pic_url":"http://staging-teach.cdn.ireadabc.com/89f8093ced2b9ddeccec352e9b7f2775.jpg","audio_url":"http://staging-teach.cdn.ireadabc.com/440cf9d57752b30691d90ed565e8c924.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"444444","pic_url":"http://staging-teach.cdn.ireadabc.com/5a2c61d8faf5935e70fd9b15953b12f6.png","audio_url":"http://staging-teach.cdn.ireadabc.com/a5fa20e0c6024421b0d9a7007c303503.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"5555","pic_url":"http://staging-teach.cdn.ireadabc.com/ce2e48ecefbf8b7011385a95133fe987.jpg","audio_url":"http://staging-teach.cdn.ireadabc.com/a41f0f2bf190396e2641ec8dada8edfe.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"66","pic_url":"http://staging-teach.cdn.ireadabc.com/13845267419e50bd7f0c0f74ba424be2.jpg","audio_url":"http://staging-teach.cdn.ireadabc.com/32258b839eca32b6ccf94f3dd6c86e0c.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"77777","pic_url":"http://staging-teach.cdn.ireadabc.com/7ec7599c86f974c9f88409893010811d.png","audio_url":"http://staging-teach.cdn.ireadabc.com/49ac987d13695eb411da4bef0adb318f.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"8888888","pic_url":"http://staging-teach.cdn.ireadabc.com/24ee95ea61a2a653ce25c65557b18356.jpg","audio_url":"http://staging-teach.cdn.ireadabc.com/85cff126986f5cc11b05e95181da5869.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"99999999999999999","pic_url":"http://staging-teach.cdn.ireadabc.com/3aa5a936d8e0e6f1dd2f6eb6d3d26645.jpg","audio_url":"http://staging-teach.cdn.ireadabc.com/a4d27ad173a95823d4b8ec82363c5aa0.mp3"},"right":{"title":"","pic_url":"","audio_url":""}},{"left":{"title":"10101010101010","pic_url":"http://staging-teach.cdn.ireadabc.com/5ec43bf9507ff08d556487dee9234653.png","audio_url":"http://staging-teach.cdn.ireadabc.com/66878465ec50d162bd60fcdaa641933b.mp3"},"right":{"title":"","pic_url":"","audio_url":""}}]}}
'
const
data1
=
JSON
.
parse
(
dataJson
);
return
data1
;
},
...
...
@@ -209,14 +209,15 @@ cc.Class({
playAudio
.
play
();
});
console
.
log
(
'
++++++++++++++++++
'
,
this
.
_imageResList
.
length
);
for
(
let
index
=
0
;
index
<
this
.
_imageResList
.
length
;
index
++
)
{
const
cardNode
=
cc
.
instantiate
(
cc
.
find
(
'
Canvas/Card
'
));
const
imgNode
=
cardNode
.
getChildByName
(
'
img
'
);
const
bgbackNode
=
cardNode
.
getChildByName
(
'
bgback
'
);
// label 加载
const
labelNode
=
bgbackNode
.
getChildByName
(
'
label
'
);
var
label
=
labelNode
.
getComponent
(
cc
.
Label
);
label
.
string
=
this
.
_textResList
[
index
].
text
;
// img 加载
const
img
=
imgNode
.
getComponent
(
cc
.
Sprite
);
var
imgUrl
=
this
.
_imageResList
[
index
].
url
;
cc
.
loader
.
load
(
imgUrl
,
function
(
err
,
texture
)
{
...
...
@@ -224,25 +225,44 @@ cc.Class({
const
spriteFrame
=
new
cc
.
SpriteFrame
(
texture
);
img
.
spriteFrame
=
spriteFrame
;
});
var
audioUrl
=
this
.
_audioResList
[
index
].
url
;
// audio 加载
const
playAudio
=
imgNode
.
getComponent
(
cc
.
AudioSource
);
cc
.
assetManager
.
loadRemote
(
audioUrl
,
(
err
,
audioClip
)
=>
{
playAudio
.
clip
=
audioClip
;
});
// 背景图添加按钮
bgbackNode
.
addComponent
(
cc
.
Button
);
// img添加按钮
imgNode
.
addComponent
(
cc
.
Button
);
imgNode
.
on
(
'
click
'
,
()
=>
{
console
.
log
(
'
imgclick
'
);
playAudio
.
play
();
});
const
playAudioBtnNode
=
cardNode
.
getChildByName
(
'
playbtn
'
);
const
playAudioBtnImgNode
=
cardNode
.
getChildByName
(
'
btnimg
'
);
playAudioBtnNode
.
addComponent
(
cc
.
Button
);
playAudioBtnNode
.
on
(
'
click
'
,
()
=>
{
playAudioBtnImgNode
.
opacity
=
0
;
var
audioUrl
=
this
.
_audioResList
[
index
].
url
;
const
playAnimation
=
playAudioBtnNode
.
getComponent
(
cc
.
Animation
);
playAnimation
.
play
();
cc
.
assetManager
.
loadRemote
(
audioUrl
,
(
err
,
audioClip
)
=>
{
const
audioId
=
cc
.
audioEngine
.
play
(
audioClip
,
false
,
0.8
);
cc
.
audioEngine
.
setFinishCallback
(
audioId
,
()
=>
{
console
.
log
(
'
audio play finish
'
);
playAnimation
.
stop
();
playAudioBtnImgNode
.
opacity
=
1000
;
});
});
});
bgbackNode
.
on
(
'
click
'
,
()
=>
{
cc
.
tween
(
bgbackNode
)
.
to
(
0.3
,
{
scaleY
:
0
})
.
call
(()
=>
{
bgbackNode
.
opacity
=
0
;
// labelNode.opacity = 0;
imgNode
.
zIndex
=
1000
;
var
playAudio
=
bgbackNode
.
getComponent
(
cc
.
AudioSource
);
var
flipButton
=
bgbackNode
.
getComponent
(
cc
.
Button
);
flipButton
.
enabled
=
false
;
...
...
play/assets/tmpGame/textures/播放中1.png
0 → 100644
View file @
b9e7e8ac
4.38 KB
play/assets/tmpGame/textures/播放中1.png.meta
0 → 100644
View file @
b9e7e8ac
{
"ver": "2.3.5",
"uuid": "5023fe52-8613-4b2e-bbc0-4c4dffc18f27",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 74,
"height": 82,
"platformSettings": {},
"subMetas": {
"播放中1": {
"ver": "1.0.4",
"uuid": "8a6d3781-dbab-4359-96dd-540a12324067",
"rawTextureUuid": "5023fe52-8613-4b2e-bbc0-4c4dffc18f27",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 74,
"height": 82,
"rawWidth": 74,
"rawHeight": 82,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
play/assets/tmpGame/textures/播放中2.png
0 → 100644
View file @
b9e7e8ac
4.78 KB
play/assets/tmpGame/textures/播放中2.png.meta
0 → 100644
View file @
b9e7e8ac
{
"ver": "2.3.5",
"uuid": "2148a8a9-dd36-4ef1-83c9-9feb52cc97ba",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 74,
"height": 82,
"platformSettings": {},
"subMetas": {
"播放中2": {
"ver": "1.0.4",
"uuid": "86460151-cc5a-4ee5-b295-0c2b2a59140d",
"rawTextureUuid": "2148a8a9-dd36-4ef1-83c9-9feb52cc97ba",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 74,
"height": 82,
"rawWidth": 74,
"rawHeight": 82,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
play/assets/tmpGame/textures/播放中3.png
0 → 100644
View file @
b9e7e8ac
5.37 KB
play/assets/tmpGame/textures/播放中3.png.meta
0 → 100644
View file @
b9e7e8ac
{
"ver": "2.3.5",
"uuid": "dcca9ec5-b448-4639-978c-b0f0c39a06fc",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 74,
"height": 82,
"platformSettings": {},
"subMetas": {
"播放中3": {
"ver": "1.0.4",
"uuid": "5dc37f58-ae3c-4f55-8a7d-408fe4b430e3",
"rawTextureUuid": "dcca9ec5-b448-4639-978c-b0f0c39a06fc",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 74,
"height": 82,
"rawWidth": 74,
"rawHeight": 82,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
play/assets/tmpGame/textures/等待播放.png
0 → 100644
View file @
b9e7e8ac
5.44 KB
play/assets/tmpGame/textures/等待播放.png.meta
0 → 100644
View file @
b9e7e8ac
{
"ver": "2.3.5",
"uuid": "ec3b637e-cfb8-4298-9575-f237f957834f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 74,
"height": 82,
"platformSettings": {},
"subMetas": {
"等待播放": {
"ver": "1.0.4",
"uuid": "6c8b4228-9212-44b8-a8ea-1503b67a94d4",
"rawTextureUuid": "ec3b637e-cfb8-4298-9575-f237f957834f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 74,
"height": 82,
"rawWidth": 74,
"rawHeight": 82,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment