Commit 616930ae authored by liujiangnan's avatar liujiangnan

feat

parent 325a3828
{ {"ver":"1.1.2","uuid":"4f557179-a05f-4891-bac0-6a3d0275c8ce","isBundle":false,"bundleName":"","priority":1,"compressionType":{},"optimizeHotUpdate":{},"inlineSpriteFrames":{},"isRemoteBundle":{"ios":false,"android":false},"subMetas":{}}
"ver": "1.1.2", \ No newline at end of file
"uuid": "4f557179-a05f-4891-bac0-6a3d0275c8ce",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
...@@ -146,8 +146,8 @@ cc.Class({ ...@@ -146,8 +146,8 @@ cc.Class({
cc.debug.setDisplayStats(false); cc.debug.setDisplayStats(false);
this.initSize(); this.initSize();
const bgNode = cc.find('Canvas/bg'); cc.find('Canvas/bg').scale = this._mapScaleMax;
bgNode.scale = this._mapScaleMax; cc.find('Canvas/video_node/bg').scale = this._mapScaleMax;
this._isReadyToPlay = false; this._isReadyToPlay = false;
window['vv'] = this; window['vv'] = this;
...@@ -389,9 +389,11 @@ cc.Class({ ...@@ -389,9 +389,11 @@ cc.Class({
play(){ play(){
cc.find(`Canvas/Controls/ProgressBar/text_tips_left`).active = false; cc.find(`Canvas/Controls/ProgressBar/text_tips_left`).active = false;
cc.find(`Canvas/bg`).active = false;
cc.find(`Canvas/bg_empty`).active = false; cc.find(`Canvas/bg_empty`).active = false;
cc.find(`Canvas/bg_video_shadow`).active = true;
this.videoPlayer.node.active = true; cc.find(`Canvas/video_node`).active = true;
// this.videoPlayer.node.active = true;
this.videoPlayer.play(); this.videoPlayer.play();
this.triggerInteractive() this.triggerInteractive()
}, },
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 2560, "width": 1280,
"height": 1440, "height": 720,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"bg": { "bg": {
......
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