diff --git a/src/client/assets/ui/titlebarMask.png b/src/client/assets/ui/titlebarMask.png new file mode 100644 index 0000000..d76b8dc Binary files /dev/null and b/src/client/assets/ui/titlebarMask.png differ diff --git a/src/client/components/camera.ts b/src/client/components/camera.ts index 9d3a45b..79a5106 100644 --- a/src/client/components/camera.ts +++ b/src/client/components/camera.ts @@ -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(); @@ -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, diff --git a/src/client/components/titleBar.ts b/src/client/components/titleBar.ts index 8607cfa..ef27c5f 100644 --- a/src/client/components/titleBar.ts +++ b/src/client/components/titleBar.ts @@ -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') );