Commit ab6cc5eb authored by Tt's avatar Tt

喊大山音效提交

parent 0458e2d2
......@@ -87,13 +87,13 @@
"_active": true,
"_components": [
{
"__id__": 98
"__id__": 104
},
{
"__id__": 99
"__id__": 105
},
{
"__id__": 100
"__id__": 106
}
],
"_prefab": null,
......@@ -4868,6 +4868,15 @@
"_children": [
{
"__id__": 96
},
{
"__id__": 98
},
{
"__id__": 100
},
{
"__id__": 102
}
],
"_active": true,
......@@ -5001,6 +5010,249 @@
"preload": false,
"_id": "dey05oKrBIspvsDa6pOIQz"
},
{
"__type__": "cc.Node",
"_name": "show",
"_objFlags": 0,
"_parent": {
"__id__": 95
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 99
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_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": "20k+CzJMFG4oN/fub0R6Qs"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 98
},
"_enabled": true,
"_clip": {
"__uuid__": "1cd6e449-075c-4865-8675-8a8ade389e36"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "cfiik2a4dOs4S6pqyQVPCp"
},
{
"__type__": "cc.Node",
"_name": "coin",
"_objFlags": 0,
"_parent": {
"__id__": 95
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 101
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_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": "64ozQcUuNN1KmZigunHnJG"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 100
},
"_enabled": true,
"_clip": {
"__uuid__": "df0d8c54-ea16-46f8-83fd-eb29764a4e1e"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "83KlD//C5CPoNZDG9T+bk/"
},
{
"__type__": "cc.Node",
"_name": "over",
"_objFlags": 0,
"_parent": {
"__id__": 95
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 103
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_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": "26ZN/luEhEk4tGDWqJbzqB"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 102
},
"_enabled": true,
"_clip": {
"__uuid__": "1d2a489f-fbf4-4f48-948b-c1849cb5e4e9"
},
"_volume": 1,
"_mute": false,
"_loop": false,
"_firstlyEnabled": true,
"playOnLoad": false,
"preload": false,
"_id": "50ODJ0g1lBVIZKJY1p+c0/"
},
{
"__type__": "cc.Canvas",
"_name": "",
......
......@@ -91,6 +91,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
pg.view.setString(sentence, this.currentQuestion.content)
this.sentence_box.y = -cc.winSize.height / 2 - this.sentence_box.height / 2;
pg.hw.playLocalAudio('show')
cc.tween(this.sentence_box).by(1, { y: this.sentence_box.height }).start();
this.letter = this.currentQuestion.content;
......@@ -279,6 +280,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
let coinAni = pg.view.find(this.coin_area, "coin1_ske");
pg.view.addEventDBAnimation(coinAni, this.hideCoin, this);
pg.view.playDBAnimation(coinAni, "three", 1);
pg.hw.playLocalAudio('coin');
}
hideCoin() {
this.scheduleOnce(() => {
......
export const defaultData =
{
"recordFlag": false, "title": "", "questionText": "", "questionTextAudio": "", "questions": [{ "text": "this is info", "time": 10 },
{ "text": "test some thing.", "time": 10 }], "bgAudio": "", "bgAudioName": "", "audioName": ""
"recordFlag": false, "title": "", "questionText": "", "questionTextAudio": "", "questions": [
{ "text": "this is info", "time": 2 },
{ "text": "test some thing.", "time": 10 }], "bgAudio": "", "bgAudioName": "", "audioName": ""
}
// {
// "recordFlag": true,
......
......@@ -11,7 +11,7 @@
"height": 110,
"platformSettings": {},
"subMetas": {
"bg_mic-time": {
"bg_mic_time": {
"ver": "1.0.4",
"uuid": "c32c9923-1391-4216-856a-20b1bfc7b534",
"rawTextureUuid": "512ed5db-3c76-4680-a4b0-2d8aaccbb34d",
......
......@@ -11,7 +11,7 @@
"height": 300,
"platformSettings": {},
"subMetas": {
"bg_recording-bg": {
"bg_recording_bg": {
"ver": "1.0.4",
"uuid": "23ac3e1d-0d8b-4d12-af25-9c7b46b1cfa0",
"rawTextureUuid": "632cb0fb-d914-4bd6-a79d-366a51b6ca07",
......
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