Skip to content

Commit

Permalink
Neon wail by sac
Browse files Browse the repository at this point in the history
  • Loading branch information
drB-dotjpg committed Jan 27, 2024
1 parent 14f1090 commit 950932a
Show file tree
Hide file tree
Showing 16 changed files with 118 additions and 23 deletions.
Binary file added src/graphics/assets/nw/bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/graphics/assets/nw/nw-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/graphics/assets/nw/nw-large.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/graphics/assets/nw/nw-small.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
71 changes: 71 additions & 0 deletions src/graphics/assets/nw/presented-by-sac.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/graphics/assets/nw/unknown-stage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions src/graphics/break/break.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<div class="circle"></div>
</div>
<div class="text-wrapper">
<img class="logo" src="assets/sac-logo.png">
<img class="logo" src="assets/nw/nw-large.png">
<div class="text">
<div>
<fitted-text class="flavor-text" text="Be right back!" id="main-flavor-text"></fitted-text>
Expand Down Expand Up @@ -41,6 +41,7 @@
</div>
</div>
</div>
<img class="presented-by-sac" src="assets/nw/presented-by-sac.svg">
</div>
<div class="content-wrapper teams-wrapper layout horiz c-vert c-horiz">
<div class="teams-layout">
Expand Down Expand Up @@ -69,7 +70,7 @@
<div class="info-bar-container layout horiz c-horiz c-vert">
<div class="info-bar layout horiz c-vert">
<div class="info-bar-logo layout horiz c-vert">
<img src="assets/sac-logo-white.png">
<img src="assets/nw/nw-small.png">
</div>
<div class="info-bar-content-wrapper">
<div class="info-bar-items layout horiz c-vert">
Expand Down
17 changes: 16 additions & 1 deletion src/graphics/break/scripts/sceneSwitcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,13 @@ function hideMainScene(): gsap.core.Timeline {
duration: 0.5,
stagger: -0.1,
opacity: 0
}, 'sceneHide');
}, 'sceneHide')
.to('.presented-by-sac', {
opacity: 0,
x: 50,
ease: 'power2.in',
duration: 0.5
}, 'sceneHide+=0.5');

return tl;
}
Expand Down Expand Up @@ -97,6 +103,15 @@ function showMainScene(): gsap.core.Timeline {
duration: 0.75,
ease: 'power2.out',
clipPath: 'polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%)'
}, 'sceneShow')
.fromTo('.presented-by-sac', {
opacity: 0,
x: 50
}, {
duration: 0.5,
opacity: 1,
x: 0,
ease: 'power2.out'
}, 'sceneShow');

return tl;
Expand Down
2 changes: 1 addition & 1 deletion src/graphics/break/scripts/stages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ NodeCG.waitForReplicants(activeRound, assetPaths).then(() => {
});

function getStageUrl(stageName: string): string {
return assetPaths.value.stageImages[stageName] ?? 'assets/unknown-stage.png';
return assetPaths.value.stageImages[stageName] ?? 'assets/nw/unknown-stage.png';
}

async function updateGames(games: UpdatedGames, winners: Array<UpdatedWinner>): Promise<void> {
Expand Down
5 changes: 3 additions & 2 deletions src/graphics/break/styles/break.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ body {
width: 1920px;
height: 1080px;
overflow: hidden;
position: relative;

color: white;
color: $text-color;
}

.scene-content-wrapper {
Expand All @@ -35,7 +36,7 @@ body {
}

.content-background {
background-image: url('/assets/background.png');
background-image: url('/assets/nw/bg.png');
background-size: contain;
z-index: -1;
}
4 changes: 2 additions & 2 deletions src/graphics/break/styles/infoBar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
.info-bar-logo {
height: 100%;
background-color: $sac-accent;
padding: 0 25px;
padding: 0 15px;

img {
height: 85%;
height: 100%;
}
}

Expand Down
11 changes: 9 additions & 2 deletions src/graphics/break/styles/mainScene.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@
.text-wrapper {
position: absolute;
left: 275px;
bottom: 155px;
filter: $global-drop-shadow;

.logo {
height: 360px;
margin-bottom: 20px;
height: 450px;
}

.text {
Expand Down Expand Up @@ -77,4 +77,11 @@
font-weight: 300;
}
}

.presented-by-sac {
position: absolute;
top: 40px;
right: 70px;
width: 320px;
}
}
2 changes: 1 addition & 1 deletion src/graphics/main/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<div class="separator"></div>
<div class="layout horiz">
<div class="logo">
<img src="assets/sac-logo-minimal-white.png">
<img src="assets/nw/nw-icon.png">
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/graphics/main/styles/casters.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

.casters-container {
position: absolute;
right: 50px;
bottom: 50px;
right: 30px;
bottom: 30px;
filter: $global-drop-shadow;
}

Expand Down
8 changes: 4 additions & 4 deletions src/graphics/main/styles/scoreboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

.scoreboard-container {
position: absolute;
top: 50px;
left: 50px;
top: 30px;
left: 30px;
width: 370px;

> .scoreboard-extra-container {
Expand All @@ -21,9 +21,9 @@
margin: 0;

> img {
height: 30px;
height: 40px;
margin: 0;
transform: translate(-1px, -5px);
transform: translate(0, -5px);
}
}

Expand Down
12 changes: 6 additions & 6 deletions src/graphics/styles/constants.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
$pageWidth: 1920px;
$pageHeight: 1080px;

$sac-background-1: #00153E;
$sac-background-2: #003C77;
$sac-background-3: #004488;
$sac-background-1: #011310;
$sac-background-2: #022720;
$sac-background-3: #033329;

$sac-accent: #F00A4B;
$sac-accent: #D61CDA;

$text-color: #E1E1E1;
$text-color: #E8f7FF;

$global-drop-shadow: drop-shadow(0 0 5px rgba(22, 22, 22, 0.55)) drop-shadow(0 0 15px rgba(22, 22, 22, 0.3));
$global-drop-shadow: drop-shadow(0 0 5px rgba(40, 40, 40, 0.55)) drop-shadow(0 0 15px rgba(40, 40, 40, 0.3));

0 comments on commit 950932a

Please sign in to comment.