Commit 9b2b5366 authored by Tt's avatar Tt

不播放bgm

parent fb0b1202
......@@ -998,6 +998,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
cc.audioEngine.playMusic(this.bgmNode.getComponent(cc.AudioSource).clip, true);
}
playBgmP100() {
if (1) return;
let vol = cc.audioEngine.getMusicVolume();
if (vol > 0.9 * this.bgmNum) return;
this.scheduleOnce(() => {
......
......@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 50,
"height": 40,
"width": 100,
"height": 80,
"platformSettings": {},
"subMetas": {
"btn_return": {
......@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 50,
"height": 40,
"rawWidth": 50,
"rawHeight": 40,
"width": 100,
"height": 80,
"rawWidth": 100,
"rawHeight": 80,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
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