Commit a193b254 authored by Tt's avatar Tt

增加安全空间

parent 1ccf0985
{
"ver": "2.0.1",
"uuid": "047dfbf2-4e45-4f85-8947-bff3577634b8",
"downloadMode": 0,
"duration": 3.552653,
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
...@@ -133,7 +133,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -133,7 +133,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
if (this.current == 0) { if (this.current == 0) {
this.scheduleOnce(() => { this.scheduleOnce(() => {
this.playLocalAudio('bettery').then(() => { this.playLocalAudio('bettery').then(() => {
pg.audio.playLocalBgm(pg.view.find(this, 'res/audio/bgm')) // pg.audio.playLocalBgm(pg.view.find(this, 'res/audio/bgm'))
}) })
}, delayTime) }, delayTime)
} else { } else {
...@@ -151,7 +151,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -151,7 +151,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
item.x = 0; item.x = 0;
let item_text = pg.view.find(item, 'item_text'); let item_text = pg.view.find(item, 'item_text');
pg.view.setString(pg.view.find(item_text, 'text'), data.text) pg.view.setString(pg.view.find(item_text, 'text'), data.text)
pg.view.setColor(pg.view.find(item_text, 'text'), data.fontColor) pg.view.setColor(pg.view.find(item_text, 'text'), "#FEFE24")
for (let n = 1; n <= 6; n++) { for (let n = 1; n <= 6; n++) {
pg.view.visible(pg.view.find(item, 'bg/img_battery' + n), false) pg.view.visible(pg.view.find(item, 'bg/img_battery' + n), false)
...@@ -331,6 +331,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -331,6 +331,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
if (this.successArr.length == this.currentQuestion.hotZoneItemArr.length) { if (this.successArr.length == this.currentQuestion.hotZoneItemArr.length) {
cc.tween(this.img_dengdai).repeat(2, cc.tween().to(0.2, { opacity: 255 }).to(0.2, { opacity: 50 })).to(0.2, { opacity: 255 }).start(); cc.tween(this.img_dengdai).repeat(2, cc.tween().to(0.2, { opacity: 255 }).to(0.2, { opacity: 50 })).to(0.2, { opacity: 255 }).start();
cc.tween(this.img_dengpao).repeatForever(cc.tween().to(0.2, { opacity: 255 }).to(0.2, { opacity: 50 })).start(); cc.tween(this.img_dengpao).repeatForever(cc.tween().to(0.2, { opacity: 255 }).to(0.2, { opacity: 50 })).start();
this.playLocalAudio('light')
this.scheduleOnce(() => { this.scheduleOnce(() => {
cc.Tween.stopAllByTarget(this.img_dengdai) cc.Tween.stopAllByTarget(this.img_dengdai)
cc.Tween.stopAllByTarget(this.img_dengpao) cc.Tween.stopAllByTarget(this.img_dengpao)
......
...@@ -119,9 +119,9 @@ ...@@ -119,9 +119,9 @@
<div> <div>
文字字号:<input type="text" nz-input [(ngModel)]="question.hotZoneFontObj.size" (blur)="changeSize()"> 文字字号:<input type="text" nz-input [(ngModel)]="question.hotZoneFontObj.size" (blur)="changeSize()">
</div> </div>
<div> <!-- <div>
文字颜色:<input type="text" nz-input [(ngModel)]="question.hotZoneFontObj.color" (blur)="changeSize()"> 文字颜色:<input type="text" nz-input [(ngModel)]="question.hotZoneFontObj.color" (blur)="changeSize()">
</div> </div> -->
</div> </div>
<div *ngIf="showHotZone" class="border-dashed" style="margin: 20px;width: 1200px;"> <div *ngIf="showHotZone" class="border-dashed" style="margin: 20px;width: 1200px;">
......
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