Skip to content

Commit

Permalink
bombsquad static paths
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenbbickerton authored Oct 25, 2023
1 parent 5c6819c commit 25020b4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion client/components/Bin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
background-color: black;
z-index: 50;
margin: auto;
background: url('/static/img/sprites/carts.png') no-repeat;
background: url('/bombsquad/static/img/sprites/carts.png') no-repeat;
overflow: hidden;
transform-origin: bottom;
Expand Down
8 changes: 4 additions & 4 deletions client/components/Bomb.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
line-height: 48px;
background-color: black;
z-index: 100;
background: url('/static/img/sprites/bombs.png') no-repeat;
background: url('/bombsquad/static/img/sprites/bombs.png') no-repeat;
background-size: 48px auto;
background-position: center auto;
Expand All @@ -33,7 +33,7 @@
height: 96px;
margin-top:-48px;
margin-left: -24px;
background: url('/static/img/sprites/explosion-4.png') left center;
background: url('/bombsquad/static/img/sprites/explosion-4.png') left center;
background-size: 1152px 96px;
animation: explode 1s steps(12) 1;
z-index: 100;
Expand Down Expand Up @@ -72,8 +72,8 @@ export default {
return {
bombColorClass: `bomb--${this.bomb.color}`,
exploding: false,
armedNoise: new Audio('/static/audio/extraShip.wav'), // From asteroids arcade game
explosionNoise: new Audio('/static/audio/bangSmall.wav')
armedNoise: new Audio('/bombsquad/static/audio/extraShip.wav'), // From asteroids arcade game
explosionNoise: new Audio('/bombsquad/static/audio/bangSmall.wav')
}
},
computed: {
Expand Down
4 changes: 2 additions & 2 deletions client/components/Scenery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
.ground2, .ground1, .bush1, .bush2, .tree1,
.tree2, .cliff-left, .cliff-right
{ display: inline-block; background: url('/static/img/sprites/tileset.png') no-repeat; overflow: hidden; text-indent: -9999px; text-align: left; }
{ display: inline-block; background: url('/bombsquad/static/img/sprites/tileset.png') no-repeat; overflow: hidden; text-indent: -9999px; text-align: left; }
.ground2 { background-position: -5px -0px; width: 128px; height: 101px; }
.ground1 {
background-position: -5px -106px; width: 96px; height: 105px;
&--repeat {
background: url('/static/img/ground1.png') repeat-x;
background: url('/bombsquad/static/img/ground1.png') repeat-x;
width: 100%;
height: 105px;
}
Expand Down
2 changes: 1 addition & 1 deletion client/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ html, body {
display: grid;
text-align: center;
color: white;
background: url('/static/img/background.png') no-repeat;
background: url('/bombsquad/static/img/background.png') no-repeat;
background-position: center bottom;
background-size: 100% auto;
grid-template-rows: 200px 1fr auto;
Expand Down

0 comments on commit 25020b4

Please sign in to comment.