cleaned up some unused code
BIN
src/assets/images/backgrounds/jak1/basin1.png
Normal file
After Width: | Height: | Size: 2.6 MiB |
BIN
src/assets/images/backgrounds/jak1/canyon1.png
Normal file
After Width: | Height: | Size: 3.6 MiB |
BIN
src/assets/images/backgrounds/jak1/lost1.png
Normal file
After Width: | Height: | Size: 1.8 MiB |
BIN
src/assets/images/backgrounds/jak1/map.jpg
Normal file
After Width: | Height: | Size: 378 KiB |
BIN
src/assets/images/backgrounds/jak1/oracle1.png
Normal file
After Width: | Height: | Size: 3 MiB |
Before Width: | Height: | Size: 396 KiB After Width: | Height: | Size: 396 KiB |
BIN
src/assets/images/backgrounds/jak1/village1.png
Normal file
After Width: | Height: | Size: 4.3 MiB |
Before Width: | Height: | Size: 514 KiB After Width: | Height: | Size: 514 KiB |
Before Width: | Height: | Size: 569 KiB After Width: | Height: | Size: 569 KiB |
Before Width: | Height: | Size: 483 KiB After Width: | Height: | Size: 483 KiB |
Before Width: | Height: | Size: 924 KiB |
Before Width: | Height: | Size: 1.1 MiB |
Before Width: | Height: | Size: 397 KiB |
Before Width: | Height: | Size: 574 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 104 KiB After Width: | Height: | Size: 104 KiB |
|
@ -11,7 +11,7 @@
|
|||
|
||||
<body>
|
||||
<div class="container">
|
||||
<img id="background" class="position-fixed" src="../assets/images/jak1-bg.png">
|
||||
<img id="background" class="position-fixed" src="../assets/images/backgrounds/jak1/map.jpg">
|
||||
<div class="row">
|
||||
<!-- sidebar toggle button, it runs the entire vertical height -->
|
||||
<div class="col-1">
|
||||
|
@ -24,17 +24,13 @@
|
|||
<!-- OpenGOAL LOGO -->
|
||||
<div class="col my-auto">
|
||||
<div class="row justify-content-center">
|
||||
<img src="../assets/images/header-logo.png" class="logo">
|
||||
<img src="../assets/images/opengoal/logo.png" class="logo">
|
||||
</div>
|
||||
|
||||
<!-- game logo -->
|
||||
<!-- <div class="row justify-content-center">
|
||||
<img id="logo" class="game-logo" src="../assets/images/jak1-logo.png">
|
||||
</div> -->
|
||||
|
||||
<!-- buttons -->
|
||||
<div id="buttons" class="row justify-content-center">
|
||||
<!-- config button -->
|
||||
<!-- <button id="config" type="button" class="btn btn-success" onclick="config()">CONFIG</button> -->
|
||||
<button id="config" type="button" class="btn btn-success" onclick="config()">CONFIG</button>
|
||||
<!-- play button -->
|
||||
<button id="play" type="button" class="btn btn-success" onclick="launch()">PLAY</button>
|
||||
|
@ -47,16 +43,8 @@
|
|||
<div class="offcanvas-body">
|
||||
<a class="nav-link active" aria-current="page" href="#" data-bs-toggle="tooltip" data-bs-placement="right"
|
||||
title="Jak & Daxter: The Precursor Legacy" onclick="navBarClick('jak1')">
|
||||
<img src="../assets/images/jak-tpl.png" class="nav-img">
|
||||
<img src="../assets/images/games/jak-tpl.png" class="nav-img">
|
||||
</a>
|
||||
<!-- <a class="nav-link" aria-current="page" href="#" data-bs-toggle="tooltip" data-bs-placement="right"
|
||||
title="Jak 2" onclick="navBarClick('jak2')">
|
||||
<img src="../assets/images/jak-2.png" class="nav-img">
|
||||
</a>
|
||||
<a class="nav-link" aria-current="page" href="#" data-bs-toggle="tooltip" data-bs-placement="right"
|
||||
title="Jak 3" onclick="navBarClick('jak3')">
|
||||
<img src="../assets/images/jak-3.png" class="nav-img">
|
||||
</a> -->
|
||||
<a class="nav-link settings" aria-current="page" href="#" data-bs-toggle="tooltip" data-bs-placement="right"
|
||||
title="Settings" onclick="navBarClick('settings')">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="white" class="bi bi-sliders"
|
||||
|
|
|
@ -17,7 +17,7 @@ const createWindow = () => {
|
|||
height: 600,
|
||||
resizable: false,
|
||||
title: "OpenGOAL Launcher",
|
||||
icon: path.join(__dirname, 'assets/images/icon.png'),
|
||||
icon: path.join(__dirname, 'assets/images/opengoal/icon.png'),
|
||||
webPreferences: {
|
||||
preload: path.join(__dirname, "/js/preload.js"),
|
||||
nodeIntegration: true,
|
||||
|
@ -79,4 +79,4 @@ app.on('status', (value) => {
|
|||
// handle console messages
|
||||
app.on('console', (value) => {
|
||||
mainWindow.webContents.send('console', value);
|
||||
});
|
||||
});
|
|
@ -9,7 +9,6 @@ const container = document.querySelector('.container');
|
|||
const offcanvas = document.querySelector(".offcanvas-start");
|
||||
let backdrop = document.querySelector('.offcanvas-backdrop');
|
||||
const background = document.querySelector('#background');
|
||||
// const logo = document.querySelector('#logo');
|
||||
const configButton = document.querySelector("#config");
|
||||
|
||||
const { send, receive, handleStatus, handleConsole } = window.electronAPI;
|
||||
|
@ -43,20 +42,10 @@ function navBarClick(target) {
|
|||
function changeGame(game) {
|
||||
switch (game) {
|
||||
case "jak1":
|
||||
background.src = "../assets/images/jak1-bg.png";
|
||||
// logo.src = "../assets/images/jak1-logo.png";
|
||||
break;
|
||||
case "jak2":
|
||||
background.src = "../assets/images/jak2-bg.png";
|
||||
// logo.src = "../assets/images/jak-2.png";
|
||||
break;
|
||||
case "jak3":
|
||||
background.src = "../assets/images/jak3-bg.png";
|
||||
// logo.src = "../assets/images/jak-3.png";
|
||||
background.src = "../assets/images/backgrounds/jak1/map.jpg";
|
||||
break;
|
||||
default:
|
||||
background.src = "../assets/images/jak1-bg.png";
|
||||
// logo.src = "../assets/images/jak1-logo.png";
|
||||
background.src = "../assets/images/backgrounds/jak1/map.jpg";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|