Skip to content

Commit

Permalink
Update launcher.html
Browse files Browse the repository at this point in the history
  • Loading branch information
burnedpopcorn authored Sep 1, 2024
1 parent 68a6581 commit d97a02f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions launcher.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,14 @@

<script>
// JQuery code that randomizes any images listed in this array here
var images = ['./images/bg/bg.png', './images/bg/bg2.png'];
var images = ['./images/bg/bg.png', './images/bg/bg2.png', './images/bg/bg3.png'];
// the /assets/ folder is removed, as its handled below for some reason
$('body').css({'background-image': 'url(assets/' + images[Math.floor(Math.random() * images.length)] + ')'});
</script>
<!--
Also thanks for @Dess for bg.png
and @Greenstachio for bg2.png
and @bfbfan26 for bg3.png
these backgrounds are amazing
-->

Expand Down Expand Up @@ -120,4 +121,4 @@ <h2 class="gallery__preview-title">Pizza Tower 1.1.0 (Fast Loading Build)</h2>
</div>
</footer>
</body>
</html>
</html>

0 comments on commit d97a02f

Please sign in to comment.