Skip to content

Commit

Permalink
Release: 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pdom0327 committed Nov 7, 2020
1 parent 689f61a commit 67c8ec6
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
Binary file added src/client/assets/ui/titlebarMask.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions src/client/components/camera.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export class Camera extends PIXI.Container {
private _eventQueue: CameraEventQueue;
private _lastJobId?: 0 | JobId;
private _opponentOffset = 360;
private _logo: PIXI.Sprite;

constructor() {
super();
Expand All @@ -61,6 +62,19 @@ export class Camera extends PIXI.Container {

this._splashContainer = container.addChild(new PIXI.Container());

this._logo = this._splashContainer.addChild(
PIXI.Sprite.from('../assets/ui/logo.png')
);
this._logo.visible = false;

autorun(() => {
if (store.sequenceStore.currentSequence?.event == IOEvent.START) {
this._logo.visible = true;
} else {
this._logo.visible = false;
}
});

this._leftSplash = this._splashContainer.addChild(
new Splash(
0,
Expand Down
6 changes: 6 additions & 0 deletions src/client/components/titleBar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ export class TitleBar extends PIXI.Container {
})
);

const mask = this.addChild(
PIXI.Sprite.from('../assets/ui/titlebarMask.png')
);
mask.position.set(428, 0);
this._main.mask = mask;

this._leftArrow = this.addChild(
PIXI.Sprite.from('../assets/ui/leftArrow.png')
);
Expand Down

0 comments on commit 67c8ec6

Please sign in to comment.