|
@@ -521,6 +521,9 @@ export default {
|
|
superposition_id: this.mapitem.superposition_ids[0] // TODO what to do with multiples superpositions ids
|
|
superposition_id: this.mapitem.superposition_ids[0] // TODO what to do with multiples superpositions ids
|
|
});
|
|
});
|
|
|
|
|
|
|
|
+ // fadein intro
|
|
|
|
+ this.paper_main_object.opacity = (1 + Math.random())*0.001;
|
|
|
|
+
|
|
// the sub items for one concernement
|
|
// the sub items for one concernement
|
|
this.paper_main_object.addChild(this.setPaperContour());
|
|
this.paper_main_object.addChild(this.setPaperContour());
|
|
|
|
|
|
@@ -2138,6 +2141,13 @@ export default {
|
|
|
|
|
|
this.paper_main_object.position = this.pos = this.body.position;
|
|
this.paper_main_object.position = this.pos = this.body.position;
|
|
|
|
|
|
|
|
+ // fadein intro
|
|
|
|
+ if (this.paper_main_object.opacity < 9) {
|
|
|
|
+ this.paper_main_object.opacity = this.paper_main_object.opacity * 1.04;
|
|
|
|
+ } else{
|
|
|
|
+ this.paper_main_object.opacity = 1;
|
|
|
|
+ }
|
|
|
|
+
|
|
this.handlePaperVisibilityOnAfterEnginUpdate()
|
|
this.handlePaperVisibilityOnAfterEnginUpdate()
|
|
|
|
|
|
},
|
|
},
|