Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
et_22
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
et_22
Commits
603a02e7
Commit
603a02e7
authored
Feb 26, 2021
by
liujiaxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: to be test
parent
a8d7db08
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
82 additions
and
1698 deletions
+82
-1698
lrc-editor.component.ts
form/src/app/common/lrc-editor/lrc-editor.component.ts
+1
-1
adapter.js
.../assets/ljx_karaoke/components/karaoke/scripts/adapter.js
+23
-9
karaoke.js
.../assets/ljx_karaoke/components/karaoke/scripts/karaoke.js
+7
-5
prefab.meta
play/assets/ljx_karaoke/prefab.meta
+0
-12
KGMissKindyMarker.ttf
play/assets/ljx_karaoke/prefab/KGMissKindyMarker.ttf
+0
-0
KGMissKindyMarker.ttf.meta
play/assets/ljx_karaoke/prefab/KGMissKindyMarker.ttf.meta
+0
-5
bgBottom.js
play/assets/ljx_karaoke/prefab/bgBottom.js
+0
-350
bgBottom.js.meta
play/assets/ljx_karaoke/prefab/bgBottom.js.meta
+0
-9
bgBottom.prefab
play/assets/ljx_karaoke/prefab/bgBottom.prefab
+0
-1267
bgBottom.prefab.meta
play/assets/ljx_karaoke/prefab/bgBottom.prefab.meta
+0
-8
scene.fire
play/assets/ljx_karaoke/scene/scene.fire
+46
-27
AutoContainer.js
play/assets/ljx_karaoke/script/AutoContainer.js
+2
-2
SpriteAutoSize.js
play/assets/ljx_karaoke/script/SpriteAutoSize.js
+2
-2
scene.js
play/assets/ljx_karaoke/script/scene.js
+1
-1
No files found.
form/src/app/common/lrc-editor/lrc-editor.component.ts
View file @
603a02e7
...
...
@@ -187,7 +187,7 @@ export class LrcEditorComponent implements OnInit, OnChanges, OnDestroy, AfterVi
s
.
split
(
'
[
'
).
forEach
(
l
=>
{
const
p
=
l
.
indexOf
(
'
]
'
);
const
t
=
l
.
substr
(
0
,
p
);
const
data
=
l
.
substr
(
p
+
1
).
trim
();
const
data
=
l
.
substr
(
p
+
1
)
;
//
.trim();
if
(
!
isNaN
(
Number
(
l
[
0
])))
{
const
time
=
this
.
audioObj
.
convertTagToTime
(
t
);
...
...
play/assets/ljx_karaoke/components/karaoke/scripts/adapter.js
View file @
603a02e7
...
...
@@ -42,6 +42,11 @@ cc.Class({
type
:
cc
.
Node
},
startAudio
:
{
default
:
null
,
type
:
cc
.
AudioClip
},
// buttonTapAudioEffect: {
// default: null,
// type: cc.AudioSource
...
...
@@ -105,7 +110,8 @@ cc.Class({
// LIFE-CYCLE CALLBACKS:
onLoad
()
{
this
.
startAudioSource
=
new
cc
.
AudioSource
();
this
.
startAudioSource
.
clip
=
this
.
startAudio
;
// this.setNodeScale();
...
...
@@ -118,7 +124,7 @@ cc.Class({
// const offsetY = fh - (fh * ch / dh ) / gameScale
// const offsetx = ch * gameScale ;
window
.
play
=
this
;
this
.
BUTTON_STATUS
=
{
ACTIVE
:
'
active
'
,
IDLE
:
'
idle
'
...
...
@@ -127,7 +133,6 @@ cc.Class({
// this.node.anchorY = 0.5;
// this.node.x = -offsetx;
// this.node.y = -offsetY;
// console.log(123123);
this
.
modeNameMap
=
{};
this
.
btnGroup
.
children
.
forEach
(
button
=>
{
...
...
@@ -173,9 +178,11 @@ cc.Class({
this
.
showImageNode
.
active
=
true
;
}
else
{
this
.
showImageNode
.
active
=
false
;
this
.
lrc
.
resume
();
}
})
this
.
showImageButton
.
on
(
cc
.
Node
.
EventType
.
TOUCH_START
,
(
event
)
=>
{
this
.
buttonTapAudioEffect
.
play
()
if
(
!
canClick
)
{
return
;
}
...
...
@@ -193,7 +200,7 @@ cc.Class({
anim
.
stop
(
'
popin
'
);
anim
.
stop
(
'
popout
'
);
anim
.
play
(
'
popout
'
);
this
.
lrc
.
pause
();
}
else
{
// anim.defaultClip.wrapMode = cc.WrapMode.Reverse
...
...
@@ -212,6 +219,7 @@ cc.Class({
// const self = this;
this
.
replayButton
.
on
(
cc
.
Node
.
EventType
.
TOUCH_START
,
(
event
)
=>
{
this
.
buttonTapAudioEffect
.
play
()
const
btn
=
event
.
currentTarget
;
if
(
!
this
.
lrc
.
isCurrentAudioSourcePlaying
())
{
return
;
...
...
@@ -231,11 +239,12 @@ cc.Class({
this
.
_titleAudioSource
.
audio
.
on
(
'
stop
'
,
()
=>
{
console
.
log
(
'
titleAudioCip stop
'
);
});
window
.
ta
=
this
.
_titleAudioSource
;
this
.
titlePlayButton
.
on
(
cc
.
Node
.
EventType
.
TOUCH_START
,
(
event
)
=>
{
this
.
_titleAudioSource
.
stop
();
this
.
_titleAudioSource
.
setCurrentTime
(
0
);
this
.
_titleAudioSource
.
play
();
// this.lrc.stopAndResetHighLight();
});
});
}
...
...
@@ -290,7 +299,6 @@ cc.Class({
button
.
actionStatus
=
this
.
BUTTON_STATUS
.
IDLE
;
button
.
on
(
cc
.
Node
.
EventType
.
TOUCH_START
,
(
event
)
=>
{
const
btn
=
event
.
currentTarget
;
window
.
bb
=
btn
;
this
.
buttonGroupChange
(
btn
)
// cc.log("This is a callback after the trigger event", event);
})
...
...
@@ -309,15 +317,16 @@ cc.Class({
this
.
actionButton
.
node
.
buttonStatus
=
sts
;
this
.
actionButton
.
node
.
getChildByName
(
sts
).
active
=
true
;
if
(
sts
===
this
.
BUTTON_STATUS
.
IDLE
)
{
this
.
actionButton
.
getComponent
(
cc
.
Animation
).
stop
(
'
playing
'
);
//
this.actionButton.getComponent(cc.Animation).stop('playing');
}
else
{
this
.
actionButton
.
getComponent
(
cc
.
Animation
).
play
(
'
playing
'
);
//
this.actionButton.getComponent(cc.Animation).play('playing');
}
// console.log(1, curMode, sts);
},
toggleActionButtonStatus
(){
this
.
buttonTapAudioEffect
.
play
()
let
sts
=
this
.
BUTTON_STATUS
.
ACTIVE
;
if
(
this
.
actionButton
.
node
.
buttonStatus
==
sts
)
{
sts
=
this
.
BUTTON_STATUS
.
IDLE
;
...
...
@@ -330,6 +339,11 @@ cc.Class({
// if (sts !== cc.audioEngine.AudioState.PLAYING ) {
// this.lrc.play();
// }
if
(
this
.
_titleAudioSource
)
{
this
.
_titleAudioSource
.
stop
();
this
.
_titleAudioSource
.
setCurrentTime
(
0
);
}
this
.
lrc
.
resume
();
}
else
{
this
.
lrc
.
pause
();
...
...
@@ -373,7 +387,7 @@ cc.Class({
// },
start
()
{
this
.
buttonTapAudioEffect
=
this
.
node
.
getComponent
(
cc
.
AudioSource
)
this
.
startAudioSource
.
play
()
},
update
(
dt
)
{
...
...
play/assets/ljx_karaoke/components/karaoke/scripts/karaoke.js
View file @
603a02e7
...
...
@@ -12,7 +12,7 @@ var DISPLAY_MODE = cc.Enum({
// wordRegex = /(?<=\s|^|\b)(?:[-'",.?;:@%$#&\/]\b|\b[-'",.?;:@%$#&\/]|[A-Za-z0-9]|\([A-Za-z0-9]+\))+(?=\s|$|\b)|(?:[\u4E00-\u9FFF])
const
LINE_BEAKER
=
'
<br/>
'
;
// '\n'
const
SPACE
=
'
'
;
const
SPACE
=
''
;
/**
...
...
@@ -201,6 +201,7 @@ cc.Class({
this
.
accompany_audio_url
=
gameData
.
accompany_audio_url
;
// this._fontSize = karaokeConf.fontSize || 24;
// this._lineHeight = karaokeConf.lineHeight || 32;
this
.
richText
.
fontSize
=
karaokeConf
.
fontSize
||
24
;
this
.
richText
.
lineHeight
=
karaokeConf
.
lineHeight
||
32
;
// this.richText.node.anchorX = this.richText.node.parent.anchorX;
...
...
@@ -269,7 +270,7 @@ cc.Class({
]
};*/
//#endregion
console
.
log
(
123123
)
this
.
richText
.
maxWidth
=
this
.
node
.
width
;
...
...
@@ -335,6 +336,7 @@ cc.Class({
this
.
calcSentenceRichText
.
maxWidth
=
this
.
node
.
width
;
this
.
calcSentenceRichText
.
string
=
''
;
window
.
k
=
this
.
richText
;
this
.
sentenceContent
=
{};
this
.
sentenceTime
=
{};
...
...
@@ -384,7 +386,7 @@ cc.Class({
this
.
resetLRC
();
this
.
renderHighlight
();
window
.
test
=
this
;
//#region smart flow lrc
/*
var timeCallback = function (dt) {
...
...
@@ -765,7 +767,7 @@ cc.Class({
},
getPlayedColor
()
{
return
this
.
lrcPlayedColor
.
toHEX
()
if
(
this
.
__currentInteractivateMode
==
this
.
PLAY_MODE
.
MODE1
)
{
return
this
.
lrcPlayingColor
.
toHEX
();
}
else
if
(
this
.
__currentInteractivateMode
==
this
.
PLAY_MODE
.
MODE2
)
{
...
...
@@ -776,6 +778,7 @@ cc.Class({
},
getPlayingColor
()
{
return
this
.
lrcPlayingColor
.
toHEX
();
if
(
this
.
__currentInteractivateMode
==
this
.
PLAY_MODE
.
MODE1
)
{
return
this
.
lrcPlayingColor
.
toHEX
();
}
else
if
(
this
.
__currentInteractivateMode
==
this
.
PLAY_MODE
.
MODE2
)
{
...
...
@@ -992,7 +995,6 @@ cc.Class({
},
start
()
{
console
.
log
(
'
123123123123
'
);
// this.node.width = this.node.width * .6
},
...
...
play/assets/ljx_karaoke/prefab.meta
deleted
100644 → 0
View file @
a8d7db08
{
"ver": "1.1.2",
"uuid": "f7f43987-0beb-4e02-a9da-ae5d16a05314",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
play/assets/ljx_karaoke/prefab/KGMissKindyMarker.ttf
deleted
100755 → 0
View file @
a8d7db08
File deleted
play/assets/ljx_karaoke/prefab/KGMissKindyMarker.ttf.meta
deleted
100644 → 0
View file @
a8d7db08
{
"ver": "1.1.0",
"uuid": "8ef2eb77-9294-4186-92a6-5f876ad28041",
"subMetas": {}
}
\ No newline at end of file
play/assets/ljx_karaoke/prefab/bgBottom.js
deleted
100644 → 0
View file @
a8d7db08
// 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
import
{
loadImage
,
setSprNodeMaxLen
}
from
"
../script/util
"
;
cc
.
Class
({
extends
:
cc
.
Component
,
properties
:
{},
// LIFE-CYCLE CALLBACKS:
_canTouch
:
null
,
_isTop
:
null
,
_arrowUp
:
null
,
_arrowDown
:
null
,
_pageIndex
:
null
,
_maxPage
:
null
,
_lineMaxCount
:
null
,
_disW
:
null
,
_maxW
:
null
,
onLoad
()
{
this
.
_canTouch
=
true
;
this
.
_isTop
=
false
;
this
.
_arrowUp
=
this
.
node
.
getChildByName
(
'
arrowUp
'
);
this
.
_arrowDown
=
this
.
node
.
getChildByName
(
'
arrowDown
'
);
this
.
node
.
zIndex
=
10
;
this
.
_itemLen
=
75
;
this
.
_pageIndex
=
0
;
this
.
_maxPage
=
0
;
this
.
_disW
=
5
;
this
.
_maxW
=
1280
-
90
;
this
.
_lineMaxCount
=
Math
.
floor
(
this
.
_maxW
/
(
this
.
_disW
+
this
.
_itemLen
));
},
start
()
{
this
.
_initListener
();
this
.
_initItemLayer
();
},
_itemLayer
:
null
,
_initItemLayer
()
{
this
.
_itemLayer
=
new
cc
.
Node
();
this
.
node
.
addChild
(
this
.
_itemLayer
);
},
_initListener
()
{
this
.
_initTopBtnListener
();
this
.
_initPageBtnListener
();
},
_initTopBtnListener
()
{
const
btn
=
this
.
node
.
getChildByName
(
'
btn
'
);
btn
.
on
(
'
click
'
,
()
=>
{
if
(
!
this
.
_canTouch
)
{
return
;
}
this
.
_canTouch
=
false
;
const
moveLen
=
80
*
this
.
node
.
scaleY
;
const
time
=
0.5
;
let
targetY
=
moveLen
;
if
(
this
.
_isTop
)
{
targetY
=
-
moveLen
;
}
cc
.
tween
(
this
.
node
)
.
by
(
time
,
{
y
:
targetY
})
.
call
(()
=>
{
this
.
_canTouch
=
true
;
})
.
start
()
this
.
_setTopBtnState
(
time
);
this
.
_isTop
=
!
this
.
_isTop
;
});
},
_pageUpBtn
:
null
,
_pageDownBtn
:
null
,
_initPageBtnListener
()
{
const
pageUp
=
this
.
node
.
getChildByName
(
'
pageUp
'
);
pageUp
.
on
(
'
click
'
,
()
=>
{
if
(
!
this
.
_canTouch
)
{
return
;
}
if
(
this
.
_pageIndex
<=
0
)
{
return
;
}
this
.
_pageIndex
--
;
this
.
_refreshPage
();
this
.
_showBtnAnima
(
pageUp
);
});
this
.
_pageUpBtn
=
pageUp
;
const
pageDown
=
this
.
node
.
getChildByName
(
'
pageDown
'
);
pageDown
.
on
(
'
click
'
,
()
=>
{
if
(
!
this
.
_canTouch
)
{
return
;
}
if
(
this
.
_pageIndex
>=
this
.
_maxPage
-
1
)
{
return
;
}
this
.
_pageIndex
++
;
this
.
_refreshPage
();
this
.
_showBtnAnima
(
pageDown
);
});
this
.
_pageDownBtn
=
pageDown
;
},
_showBtnAnima
(
btn
)
{
cc
.
tween
(
btn
)
.
to
(
0.08
,
{
scale
:
1.3
},
{
easing
:
'
sineOut
'
})
.
to
(
0.08
,
{
scale
:
1
},
{
easing
:
'
sineOut
'
})
.
start
();
},
_setPageBtnState
()
{
if
(
this
.
_maxPage
==
0
)
{
this
.
_pageUpBtn
.
active
=
this
.
_pageDownBtn
.
active
=
false
;
return
;
}
if
(
this
.
_pageIndex
==
0
)
{
this
.
_pageUpBtn
.
opacity
=
100
;
}
else
{
this
.
_pageUpBtn
.
opacity
=
255
;
}
if
(
this
.
_pageIndex
==
this
.
_maxPage
-
1
)
{
this
.
_pageDownBtn
.
opacity
=
100
;
}
else
{
this
.
_pageDownBtn
.
opacity
=
255
;
}
},
_setTopBtnState
(
time
)
{
let
arrow1
,
arrow2
;
if
(
this
.
_isTop
)
{
arrow1
=
this
.
_arrowDown
;
arrow2
=
this
.
_arrowUp
;
}
else
{
arrow1
=
this
.
_arrowUp
;
arrow2
=
this
.
_arrowDown
;
}
arrow1
.
scale
=
1
;
arrow2
.
scale
=
0
;
cc
.
tween
(
arrow1
)
.
to
(
time
/
2
,
{
scale
:
0
},
{
easing
:
'
cubicOut
'
})
.
start
()
cc
.
tween
(
arrow2
)
.
delay
(
time
/
2
)
.
to
(
time
/
2
,
{
scale
:
1
},
{
easing
:
'
cubicOut
'
})
.
start
();
},
_dataArr
:
null
,
setItemData
(
dataArr
)
{
console
.
log
(
'
in setItemData
'
,
dataArr
);
if
(
!
dataArr
||
dataArr
.
length
==
0
)
{
return
;
}
this
.
_dataArr
=
dataArr
;
// this._maxPage = Math.ceil(dataArr.length / this._lineMaxCount) - 1;
this
.
_initPageArr
();
this
.
_pageIndex
=
0
;
this
.
_refreshPage
();
},
_pageArr
:
null
,
_initPageArr
()
{
let
tmpArr
=
[];
this
.
_pageArr
=
[
tmpArr
];
let
curLen
=
this
.
_disW
;
for
(
let
i
=
0
;
i
<
this
.
_dataArr
.
length
;
i
++
)
{
const
item
=
this
.
_addOneItem
(
this
.
_dataArr
[
i
]);
curLen
+=
item
.
width
+
this
.
_disW
;
if
(
curLen
>
this
.
_maxW
)
{
tmpArr
=
[
item
];
this
.
_pageArr
.
push
(
tmpArr
);
curLen
=
this
.
_disW
+
item
.
width
+
this
.
_disW
;
}
else
{
tmpArr
.
push
(
item
);
}
}
this
.
_maxPage
=
this
.
_pageArr
.
length
;
console
.
log
(
'
this._maxPage:
'
,
this
.
_maxPage
);
},
_itemLen
:
null
,
_addOneItem
(
data
)
{
const
item
=
new
cc
.
Node
();
item
.
width
=
this
.
_itemLen
;
item
.
height
=
this
.
_itemLen
;
// const rect = item.addComponent(cc.Graphics);
// rect.fillColor = cc.Color.BLACK.setA(100);
// rect.fillRect(-this._itemLen / 2, -this._itemLen / 2, this._itemLen, this._itemLen);
// rect.fill();
this
.
_addItemPic
(
item
,
data
.
pic_url
);
this
.
_addItemLabel
(
item
,
data
.
text
);
this
.
_addItemAudio
(
item
,
data
.
audio_url
);
item
.
data
=
data
;
return
item
;
},
_addItemPic
(
item
,
url
)
{
if
(
!
url
)
{
return
;
}
const
imgLen
=
this
.
_itemLen
*
0.8
;
cc
.
assetManager
.
loadRemote
(
url
,
(
err
,
texture
)
=>
{
const
sprNode
=
new
cc
.
Node
();
item
.
addChild
(
sprNode
);
sprNode
.
width
=
texture
.
width
;
sprNode
.
height
=
texture
.
height
;
sprNode
.
y
=
(
this
.
_itemLen
-
imgLen
)
/
2
;
setSprNodeMaxLen
(
sprNode
,
imgLen
,
imgLen
);
const
sf
=
new
cc
.
SpriteFrame
(
texture
);
sprNode
.
addComponent
(
cc
.
Sprite
).
spriteFrame
=
sf
;
});
},
_labelFont
:
null
,
_addItemLabel
(
item
,
text
)
{
if
(
!
text
)
{
return
;
}
const
labelNode
=
new
cc
.
Node
();
labelNode
.
color
=
cc
.
Color
.
BLACK
;
const
label
=
labelNode
.
addComponent
(
cc
.
Label
);
label
.
string
=
text
;
// label.string ='ltg + ';
item
.
addChild
(
labelNode
);
labelNode
.
y
=
-
this
.
_itemLen
*
0.4
;
label
.
fontSize
=
16
;
label
.
verticalAlign
=
cc
.
Label
.
VerticalAlign
.
CENTER
;
if
(
!
this
.
_labelFont
)
{
const
fontLabel
=
this
.
node
.
getChildByName
(
'
font
'
).
getComponent
(
cc
.
Label
);
this
.
_labelFont
=
fontLabel
.
font
;
}
label
.
font
=
this
.
_labelFont
;
label
.
_forceUpdateRenderData
(
true
)
if
(
labelNode
.
width
>
this
.
_itemLen
)
{
item
.
width
=
labelNode
.
width
;
}
},
_addItemAudio
(
item
,
url
)
{
if
(
!
url
)
{
return
;
}
cc
.
assetManager
.
loadRemote
(
url
,
(
err
,
audioClip
)
=>
{
item
.
audioClip
=
audioClip
;
this
.
_addItemListener
(
item
);
});
},
_addItemListener
(
item
)
{
item
.
addComponent
(
cc
.
Button
);
item
.
on
(
'
click
'
,
()
=>
{
if
(
item
.
audioClip
)
{
cc
.
audioEngine
.
stopAllEffects
();
cc
.
audioEngine
.
playEffect
(
item
.
audioClip
,
false
,
0.8
);
}
});
},
_refreshPage
()
{
this
.
_itemLayer
.
removeAllChildren
();
const
dataArr
=
this
.
_dataArr
;
const
disW
=
this
.
_disW
;
const
startIndex
=
this
.
_pageIndex
*
this
.
_lineMaxCount
;
// const showArr = dataArr.slice(startIndex, startIndex + this._lineMaxCount);
const
showArr
=
this
.
_pageArr
[
this
.
_pageIndex
];
let
baseX
=
this
.
_getCurPageBaseX
();
// const baseX = -(disW + this._itemLen) * (showArr.length - 1) / 2;
const
baseY
=
-
25
;
showArr
.
forEach
((
el
,
i
)
=>
{
const
item
=
this
.
_addOneItem
(
el
.
data
);
this
.
_itemLayer
.
addChild
(
item
);
item
.
x
=
baseX
+
(
disW
+
item
.
width
)
/
2
item
.
y
=
baseY
;
baseX
=
item
.
x
+
(
disW
+
item
.
width
)
/
2
;
});
this
.
_setPageBtnState
();
},
_getCurPageBaseX
()
{
const
arr
=
this
.
_pageArr
[
this
.
_pageIndex
];
console
.
log
(
'
arr:
'
,
arr
);
let
curLen
=
this
.
_disW
;
for
(
let
i
=
0
;
i
<
arr
.
length
;
i
++
)
{
curLen
+=
(
arr
[
i
].
width
+
this
.
_disW
)
}
return
-
curLen
/
2
;
},
// update (dt) {},
});
play/assets/ljx_karaoke/prefab/bgBottom.js.meta
deleted
100644 → 0
View file @
a8d7db08
{
"ver": "1.0.8",
"uuid": "ff0e987e-f8d9-4a38-b6c2-f81bbf447dbe",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
play/assets/ljx_karaoke/prefab/bgBottom.prefab
deleted
100644 → 0
View file @
a8d7db08
[
{
"__type__": "cc.Prefab",
"_name": "",
"_objFlags": 0,
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"asyncLoadAssets": false,
"readonly": false
},
{
"__type__": "cc.Node",
"_name": "bgBottom",
"_objFlags": 0,
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 6
},
{
"__id__": 9
},
{
"__id__": 12
},
{
"__id__": 19
},
{
"__id__": 27
}
],
"_active": true,
"_components": [
{
"__id__": 30
},
{
"__id__": 31
}
],
"_prefab": {
"__id__": 32
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280,
"height": 132
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-360,
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": ""
},
{
"__type__": "cc.Node",
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 4
}
],
"_prefab": {
"__id__": 5
},
"_opacity": 0,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 70,
"height": 50
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
1.55,
33.325,
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": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 2
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9993b7c8-e4e4-4b48-8922-9c55f423bdb3"
},
"fileId": "084fApz9JAurWaytg+oJAF",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "arrowUp",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 7
}
],
"_prefab": {
"__id__": 8
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 24,
"height": 18
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
33,
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": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 6
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "e537853f-7dd2-433f-b108-43a1ab09a56f"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9993b7c8-e4e4-4b48-8922-9c55f423bdb3"
},
"fileId": "edRAfQIkFF1YKIsDN8VNAl",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "arrowDown",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 10
}
],
"_prefab": {
"__id__": 11
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 24,
"height": 18
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
33,
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": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "b89d8056-a911-459b-a5bd-38d14d503ec2"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9993b7c8-e4e4-4b48-8922-9c55f423bdb3"
},
"fileId": "d7byJPt2FE3KHHfVE1bP90",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "pageUp",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 13
}
],
"_active": true,
"_components": [
{
"__id__": 16
},
{
"__id__": 17
}
],
"_prefab": {
"__id__": 18
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
618.054,
-2.429,
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": ""
},
{
"__type__": "cc.Node",
"_name": "spr",
"_objFlags": 0,
"_parent": {
"__id__": 12
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 14
}
],
"_prefab": {
"__id__": 15
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 22,
"height": 23
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-3,
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": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 13
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "8f8c7994-187e-439e-b1aa-82bb98bd86ab"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9993b7c8-e4e4-4b48-8922-9c55f423bdb3"
},
"fileId": "7aCx+Zp2ROf6cAIGRgh4ap",
"sync": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_enabled": false,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "9bbda31e-ad49-43c9-aaf2-f7d9896bac69"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9993b7c8-e4e4-4b48-8922-9c55f423bdb3"
},
"fileId": "a9Fom8DbRPSZOeMw0Jqr8X",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "pageDown",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 20
}
],
"_active": true,
"_components": [
{
"__id__": 23
},
{
"__id__": 24
},
{
"__id__": 25
}
],
"_prefab": {
"__id__": 26
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
618.054,
-43.563,
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": ""
},
{
"__type__": "cc.Node",
"_name": "spr",
"_objFlags": 0,
"_parent": {
"__id__": 19
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 21
}
],
"_prefab": {
"__id__": 22
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 22,
"height": 23
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
3,
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": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 20
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "829d07b8-d20a-4618-b05f-4d1ac673b14e"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9993b7c8-e4e4-4b48-8922-9c55f423bdb3"
},
"fileId": "acNVn9rVVHIrqRc23p2mf8",
"sync": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
},
"_enabled": false,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "9bbda31e-ad49-43c9-aaf2-f7d9896bac69"
},
"_type": 1,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
},
"_enabled": false,
"_layoutSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_resize": 0,
"_N$layoutType": 0,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 0,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX": 0,
"_N$spacingY": 0,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
"_id": ""
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9993b7c8-e4e4-4b48-8922-9c55f423bdb3"
},
"fileId": "295OcbmFNPGKH4Ej0r/d1D",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "font",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 28
}
],
"_prefab": {
"__id__": 29
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 122.85,
"height": 50.4
},
"_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": ""
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 27
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_useOriginalSize": false,
"_string": "Label",
"_N$string": "Label",
"_fontSize": 40,
"_lineHeight": 40,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "8ef2eb77-9294-4186-92a6-5f876ad28041"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_batchAsBitmap": false,
"_styleFlags": 0,
"_underlineHeight": 0,
"_N$horizontalAlign": 1,
"_N$verticalAlign": 1,
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9993b7c8-e4e4-4b48-8922-9c55f423bdb3"
},
"fileId": "352OaAKCxOMYj+KGjjLk/4",
"sync": false
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a8a24d4b-6f26-4358-a2fb-24ad4e5618c4"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "ff0e9h++NlKOLbC+Bu/RH2+",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__uuid__": "9993b7c8-e4e4-4b48-8922-9c55f423bdb3"
},
"fileId": "b4DhAnBsxPoJbGH3BcGt5i",
"sync": false
}
]
\ No newline at end of file
play/assets/ljx_karaoke/prefab/bgBottom.prefab.meta
deleted
100644 → 0
View file @
a8d7db08
{
"ver": "1.2.9",
"uuid": "9993b7c8-e4e4-4b48-8922-9c55f423bdb3",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,
"subMetas": {}
}
\ No newline at end of file
play/assets/ljx_karaoke/scene/scene.fire
View file @
603a02e7
...
...
@@ -89,14 +89,14 @@
],
"_active": true,
"_components": [
{
"__id__": 164
},
{
"__id__": 165
},
{
"__id__": 166
},
{
"__id__": 167
}
],
"_prefab": null,
...
...
@@ -189,7 +189,7 @@
"array": [
0,
0,
3
72.3909236273086
7,
3
56.0852890716797
7,
0,
0,
0,
...
...
@@ -387,7 +387,7 @@
"_active": true,
"_components": [
{
"__id__": 16
3
"__id__": 16
4
}
],
"_prefab": null,
...
...
@@ -590,10 +590,13 @@
},
{
"__id__": 161
},
{
"__id__": 162
}
],
"_prefab": {
"__id__": 16
2
"__id__": 16
3
},
"_opacity": 255,
"_color": {
...
...
@@ -951,9 +954,9 @@
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 2
30
,
"g": 2
30
,
"b": 2
30
,
"r": 2
55
,
"g": 2
55
,
"b": 2
55
,
"a": 255
},
"_contentSize": {
...
...
@@ -1200,9 +1203,9 @@
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 2
30
,
"g": 2
30
,
"b": 2
30
,
"r": 2
55
,
"g": 2
55
,
"b": 2
55
,
"a": 255
},
"_contentSize": {
...
...
@@ -1430,7 +1433,9 @@
"__id__": 18
},
"_enabled": true,
"_normalMaterial": null,
"_normalMaterial": {
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
},
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
...
...
@@ -1493,9 +1498,7 @@
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 26
},
"_N$target": null,
"_id": "1fzXc/fUJAHL6i5rdbHqD1"
},
{
...
...
@@ -1515,7 +1518,7 @@
"node": {
"__id__": 18
},
"_enabled":
fals
e,
"_enabled":
tru
e,
"_defaultClip": null,
"_clips": [
{
...
...
@@ -4338,9 +4341,9 @@
"_N$horizontalAlign": 1,
"_N$fontSize": 40,
"_N$font": {
"__uuid__": "
2fb76046-cd11-4b67-b481-83f2e7fc7f53
"
"__uuid__": "
93a20a41-6fa2-48bf-a60d-d30a22308f7b
"
},
"_N$cacheMode":
2
,
"_N$cacheMode":
1
,
"_N$maxWidth": 226,
"_N$lineHeight": 50,
"_N$imageAtlas": null,
...
...
@@ -4408,23 +4411,23 @@
},
"lrcBgColor": {
"__type__": "cc.Color",
"r":
49
,
"g":
51
,
"b":
32
,
"r":
20
,
"g":
39
,
"b":
61
,
"a": 255
},
"lrcPlayedColor": {
"__type__": "cc.Color",
"r":
12
,
"g":
172
,
"b":
246
,
"r":
20
,
"g":
39
,
"b":
61
,
"a": 255
},
"lrcPlayingColor": {
"__type__": "cc.Color",
"r": 255,
"g":
111
,
"b": 1
0
,
"g":
252
,
"b": 1
65
,
"a": 255
},
"_id": "67FQVTbcFMVpZdhORvoBMU"
...
...
@@ -4496,6 +4499,9 @@
"titlePlayButton": {
"__id__": 150
},
"startAudio": {
"__uuid__": "15e7efce-5184-4037-bf72-9beab16377df"
},
"_id": "25qXkMHztM84B4y/sLLQTC"
},
{
...
...
@@ -6399,6 +6405,19 @@
"preload": false,
"_id": "c6550+ugFN0alCQFnHhnFO"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 12
},
"_enabled": true,
"_defaultClip": null,
"_clips": [],
"playOnLoad": false,
"_id": "b4tnBDrXZO1anaBXdcSkAy"
},
{
"__type__": "cc.PrefabInfo",
"root": {
...
...
play/assets/ljx_karaoke/script/AutoContainer.js
View file @
603a02e7
...
...
@@ -79,11 +79,11 @@ cc.Class({
if
(
designRatio
>
viewRatio
)
{
// base width
containerScale
=
viewWidth
/
this
.
designWidth
;
console
.
log
(
'
base w
'
,
containerScale
);
//
console.log('base w', containerScale);
}
else
{
// base height
containerScale
=
wiewHeight
/
this
.
designHeight
;
console
.
log
(
'
base h
'
,
containerScale
);
//
console.log('base h', containerScale);
}
// console.log(cc.winSize.width , viewWidth);
// let sx = cc.winSize.width / viewWidth;
...
...
play/assets/ljx_karaoke/script/SpriteAutoSize.js
View file @
603a02e7
...
...
@@ -84,11 +84,11 @@ cc.Class({
if
(
designRatio
>
viewRatio
)
{
// base width
containerScale
=
viewWidth
/
designWidth
;
console
.
log
(
'
base w
'
,
containerScale
);
//
console.log('base w', containerScale);
}
else
{
// base height
containerScale
=
wiewHeight
/
designHeight
;
console
.
log
(
'
base h
'
,
containerScale
);
//
console.log('base h', containerScale);
}
this
.
node
.
width
=
designWidth
;
...
...
play/assets/ljx_karaoke/script/scene.js
View file @
603a02e7
...
...
@@ -88,7 +88,7 @@ cc.Class({
getDefaultData
()
{
const
data
=
{
"
title
"
:
"
aaaaa
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/7324245447e15cca42e0d4c88a32f88a.jpg
"
,
"
accompany_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/4a59032f9b5f726cb2cde2178a7f51fc.mp3
"
,
"
lrcData
"
:{
"
audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/1d1184717ebff259c72fedcb6b249431.mp3
"
,
"
fontSize
"
:
50
,
"
lineHeight
"
:
100
,
"
lyrics
"
:[{
"
time
"
:
11.09
,
"
data
"
:
"
一闪一闪亮晶晶
"
,
"
newLine
"
:
true
},{
"
time
"
:
14.9
,
"
data
"
:
"
满天都是小星星
"
,
"
newLine
"
:
true
},{
"
time
"
:
19.31
,
"
data
"
:
"
挂在天上放光明
"
,
"
newLine
"
:
true
},{
"
time
"
:
23.62
,
"
data
"
:
"
好像许多小眼睛
"
,
"
newLine
"
:
true
},{
"
time
"
:
27.93
,
"
data
"
:
"
一闪一闪亮晶晶
"
,
"
newLine
"
:
true
},{
"
time
"
:
32.32
,
"
data
"
:
"
满天都是小星星
"
,
"
newLine
"
:
true
},{
"
time
"
:
41.1
,
"
data
"
:
"
一闪一闪亮晶晶
"
,
"
newLine
"
:
true
},{
"
time
"
:
45.45
,
"
data
"
:
"
满天都是小星星
"
,
"
newLine
"
:
true
},{
"
time
"
:
49.74
,
"
data
"
:
"
挂在天上放光明
"
,
"
newLine
"
:
true
},{
"
time
"
:
54.16
,
"
data
"
:
"
好像许多小眼睛
"
,
"
newLine
"
:
true
},{
"
time
"
:
58.39
,
"
data
"
:
"
一闪一闪亮晶晶
"
,
"
newLine
"
:
true
},{
"
time
"
:
62.9
,
"
data
"
:
"
满天都是小星星
"
,
"
newLine
"
:
true
},{
"
time
"
:
76.36
,
"
data
"
:
"
一闪一闪亮晶晶
"
,
"
newLine
"
:
true
},{
"
time
"
:
80.28
,
"
data
"
:
"
满天都是小星星
"
,
"
newLine
"
:
true
},{
"
time
"
:
84.65
,
"
data
"
:
"
挂在天上放光明
"
,
"
newLine
"
:
true
},{
"
time
"
:
88.92
,
"
data
"
:
"
好像许多小眼睛
"
,
"
newLine
"
:
true
},{
"
time
"
:
93.41
,
"
data
"
:
"
一闪一闪亮晶晶
"
,
"
newLine
"
:
true
},{
"
time
"
:
97.72
,
"
data
"
:
"
满天都是小星星
"
,
"
newLine
"
:
true
}]},
"
title_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/39065c5f63a31bd1433c1a046e407a98.mp3
"
}
const
data
=
{
"
title
"
:
"
aaaaa
"
,
"
pic_url
"
:
"
http://staging-teach.cdn.ireadabc.com/7324245447e15cca42e0d4c88a32f88a.jpg
"
,
"
accompany_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/4a59032f9b5f726cb2cde2178a7f51fc.mp3
"
,
"
lrcData
"
:{
"
audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/1d1184717ebff259c72fedcb6b249431.mp3
"
,
"
fontSize
"
:
50
,
"
lineHeight
"
:
100
,
"
lyrics
"
:[{
"
time
"
:
11.09
,
"
data
"
:
"
yi shan yi shan liang jing jing
"
,
"
newLine
"
:
true
},{
"
time
"
:
14.9
,
"
data
"
:
"
满天都是小星星
"
,
"
newLine
"
:
true
},{
"
time
"
:
19.31
,
"
data
"
:
"
挂在天上放光明
"
,
"
newLine
"
:
true
},{
"
time
"
:
23.62
,
"
data
"
:
"
好像许多小眼睛
"
,
"
newLine
"
:
true
},{
"
time
"
:
27.93
,
"
data
"
:
"
一闪一闪亮晶晶
"
,
"
newLine
"
:
true
},{
"
time
"
:
32.32
,
"
data
"
:
"
满天都是小星星
"
,
"
newLine
"
:
true
},{
"
time
"
:
41.1
,
"
data
"
:
"
一闪一闪亮晶晶
"
,
"
newLine
"
:
true
},{
"
time
"
:
45.45
,
"
data
"
:
"
满天都是小星星
"
,
"
newLine
"
:
true
},{
"
time
"
:
49.74
,
"
data
"
:
"
挂在天上放光明
"
,
"
newLine
"
:
true
},{
"
time
"
:
54.16
,
"
data
"
:
"
好像许多小眼睛
"
,
"
newLine
"
:
true
},{
"
time
"
:
58.39
,
"
data
"
:
"
一闪一闪亮晶晶
"
,
"
newLine
"
:
true
},{
"
time
"
:
62.9
,
"
data
"
:
"
满天都是小星星
"
,
"
newLine
"
:
true
},{
"
time
"
:
76.36
,
"
data
"
:
"
一闪一闪亮晶晶
"
,
"
newLine
"
:
true
},{
"
time
"
:
80.28
,
"
data
"
:
"
满天都是小星星
"
,
"
newLine
"
:
true
},{
"
time
"
:
84.65
,
"
data
"
:
"
挂在天上放光明
"
,
"
newLine
"
:
true
},{
"
time
"
:
88.92
,
"
data
"
:
"
好像许多小眼睛
"
,
"
newLine
"
:
true
},{
"
time
"
:
93.41
,
"
data
"
:
"
一闪一闪亮晶晶
"
,
"
newLine
"
:
true
},{
"
time
"
:
97.72
,
"
data
"
:
"
满天都是小星星
"
,
"
newLine
"
:
true
}]},
"
title_audio_url
"
:
"
http://staging-teach.cdn.ireadabc.com/39065c5f63a31bd1433c1a046e407a98.mp3
"
}
// if (data.picArr) {
...
...
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