Commit 47ed2c45 authored by 范雪寒's avatar 范雪寒

feat: 小写字母音频修改

parent 9c475095
{
"ver": "1.1.2",
"uuid": "cb9fa4ea-66ca-45af-ad31-e445c7b0ef32",
"isBundle": false,
"isBundle": true,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"compressionType": {
"wechatgame": "subpackage"
},
"optimizeHotUpdate": {
"wechatgame": false
},
"inlineSpriteFrames": {
"wechatgame": false
},
"isRemoteBundle": {
"wechatgame": false
},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "477da352-1cc7-4be2-b63c-dba0559e258e",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "d08b259e-68f7-4770-b709-e4651d50e360",
"downloadMode": 0,
"duration": 0.296,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "6bbbe5d9-4f3b-4fe8-b83c-d107ea8390a0",
"downloadMode": 0,
"duration": 0.296,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "e370138f-90d2-44fa-ac89-b007eb4d6748",
"downloadMode": 0,
"duration": 0.296,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "a05b66c1-7b44-4ca5-947e-ff96a1d5f44c",
"downloadMode": 0,
"duration": 0.224,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "dff213a1-7e15-4ca4-8ad4-0b84c1b6e5e0",
"downloadMode": 0,
"duration": 0.296,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "d40f5229-f92a-4fc3-9805-0bf75283f599",
"downloadMode": 0,
"duration": 0.392,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "ce1fc1e9-e869-483f-aa7c-baa8351a1057",
"downloadMode": 0,
"duration": 0.416,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "d9a89918-b7a4-4610-9b1b-6b7bd3101a88",
"downloadMode": 0,
"duration": 0.272,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "de8c135f-7a2b-468a-ba00-b02d34d52b43",
"downloadMode": 0,
"duration": 0.536,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "ddee533a-9ac8-4fea-a323-f62ef4bb22e7",
"downloadMode": 0,
"duration": 0.632,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "5fb4ca0c-cd0a-46a3-ba71-a16595db0d83",
"downloadMode": 0,
"duration": 0.512,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "4dc99665-c289-4ee0-8306-fc37f5ea7ed1",
"downloadMode": 0,
"duration": 0.416,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "699da0ec-2d90-4d2d-8440-aca150736246",
"downloadMode": 0,
"duration": 0.272,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "78b325a6-6a7a-4f14-b521-d4bd9a60035e",
"downloadMode": 0,
"duration": 0.392,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "6c1fd9f5-844b-4c0b-ae76-ee4f04b53820",
"downloadMode": 0,
"duration": 0.464,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "130497f1-d655-4fef-a622-b7a04afcd0ea",
"downloadMode": 0,
"duration": 0.464,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "afefb4a7-097c-46ab-b016-c9d5530186c6",
"downloadMode": 0,
"duration": 0.464,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "15463319-cd36-4575-b4e7-edcc3d34bdeb",
"downloadMode": 0,
"duration": 0.224,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "b1011a99-7f0f-4cde-963b-07e60f418af0",
"downloadMode": 0,
"duration": 0.296,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "59de6e31-8356-4121-9127-783bdb721d35",
"downloadMode": 0,
"duration": 0.512,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "f48f01af-7069-44af-b458-fbb496e89d39",
"downloadMode": 0,
"duration": 0.464,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "e8a1598f-8b06-4760-a929-69dd9bf5311d",
"downloadMode": 0,
"duration": 0.344,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "0069ec31-09de-40ac-9805-90ae22188e2f",
"downloadMode": 0,
"duration": 0.416,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "62305e3e-7f9f-4775-b353-249dfd0f4109",
"downloadMode": 0,
"duration": 0.416,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "e7c4b6d9-5bad-4774-b799-b70aa0d5df47",
"downloadMode": 0,
"duration": 0.296,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "f165a78d-cf2d-46ea-a2dc-7ffdc250b937",
"downloadMode": 0,
"duration": 0.392,
"subMetas": {}
}
\ No newline at end of file
......@@ -4,9 +4,17 @@
"isBundle": true,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"compressionType": {
"wechatgame": "subpackage"
},
"optimizeHotUpdate": {
"wechatgame": false
},
"inlineSpriteFrames": {
"wechatgame": false
},
"isRemoteBundle": {
"wechatgame": false
},
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
......@@ -180,7 +180,7 @@ cc.Class({
});
smallLetterBase.on('click', () => {
this.playEffect(`letter${this.letter.toUpperCase()}`);
this.playEffect(`letter${this.letter.toLowerCase()}`);
cc.tween(smallLetterBase)
.to(0.1, { angle: 5 })
.to(0.1, { angle: -5 })
......@@ -349,6 +349,29 @@ cc.Class({
if (this._status.currentLetterIdx == this.data.letterList.length - 1) {
btnNext.active = false;
}
btnNext.stopAllActions();
cc.tween(btnNext)
.call(() => {
for (let i = 0; i < 3; i++) {
const imgBtnBg = cc.instantiate(cc.find('Canvas/LetterPicturePage/BtnNext/ImgBtnBg'));
imgBtnBg.parent = btnNext;
imgBtnBg.zIndex = 3 - i;
imgBtnBg.opacity = 100;
cc.tween(imgBtnBg)
.delay(0.2 * i)
.to(1, { scaleX: 1.5, scaleY: 1.5, opacity: 0 })
.call(() => {
imgBtnBg.stopAllActions();
imgBtnBg.removeFromParent();
})
.start();
}
})
.delay(3)
.union()
.repeatForever()
.start();
},
createLetterPage(letter) {
......@@ -381,7 +404,7 @@ cc.Class({
speakerNode.on('click', async () => {
this.startSpeakerAnime(speakerNode);
await this.playEffect(`letter${this.letter.toUpperCase()}`);
await this.playEffect(`letter${this.letter}`);
this.stopSpeakerAnime(speakerNode);
});
......@@ -706,7 +729,7 @@ cc.Class({
this.hideShark();
this.playEffect('放大');
await this.showCompleteStar();
this.playEffect(`letter${this.letter.toUpperCase()}`);
this.playEffect(`letter${this.letter}`);
await this.showRibbons();
this.playEffect('撒花');
await this.showCloud();
......
......@@ -254,6 +254,110 @@ cc.Class({
default: null,
type: cc.AudioClip
},
lettera: {
default: null,
type: cc.AudioClip
},
letterb: {
default: null,
type: cc.AudioClip
},
letterc: {
default: null,
type: cc.AudioClip
},
letterd: {
default: null,
type: cc.AudioClip
},
lettere: {
default: null,
type: cc.AudioClip
},
letterf: {
default: null,
type: cc.AudioClip
},
letterg: {
default: null,
type: cc.AudioClip
},
letterh: {
default: null,
type: cc.AudioClip
},
letteri: {
default: null,
type: cc.AudioClip
},
letterj: {
default: null,
type: cc.AudioClip
},
letterk: {
default: null,
type: cc.AudioClip
},
letterl: {
default: null,
type: cc.AudioClip
},
letterm: {
default: null,
type: cc.AudioClip
},
lettern: {
default: null,
type: cc.AudioClip
},
lettero: {
default: null,
type: cc.AudioClip
},
letterp: {
default: null,
type: cc.AudioClip
},
letterq: {
default: null,
type: cc.AudioClip
},
letterr: {
default: null,
type: cc.AudioClip
},
letters: {
default: null,
type: cc.AudioClip
},
lettert: {
default: null,
type: cc.AudioClip
},
letteru: {
default: null,
type: cc.AudioClip
},
letterv: {
default: null,
type: cc.AudioClip
},
letterw: {
default: null,
type: cc.AudioClip
},
letterx: {
default: null,
type: cc.AudioClip
},
lettery: {
default: null,
type: cc.AudioClip
},
letterz: {
default: null,
type: cc.AudioClip
},
},
// LIFE-CYCLE CALLBACKS:
......
{
"appid": "wxa082c58c5b503561",
"appid": "wxe5b8afe35e915c1c",
"orientation": "landscape",
"separate_engine": false,
"REMOTE_SERVER_ROOT": "",
......
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