arcade-machine/ui
2023-02-23 17:34:53 +01:00
..
3.0.6.2 :octocat: 2023-02-23 13:39:06 +02:00
get :octocat: 2023-02-23 13:39:06 +02:00
.gitignore :octocat: 2023-02-23 13:39:06 +02:00
BACKGROUND GOOD.png Changed background 2023-02-23 18:31:21 +02:00
gray background for UI with gradient and tiny bit of metallic.png Changed background 2023-02-23 18:31:21 +02:00
image.png.b5bf2f097d47d184e6ec84f44e3d5dcd.png :octocat: 2023-02-23 13:39:06 +02:00
index.html Changed background 2023-02-23 18:31:21 +02:00
main.js :octocat: 2023-02-23 13:39:06 +02:00
maxresdefault.jpg :octocat: 2023-02-23 13:39:06 +02:00
maxresdefault2.jpg :octocat: 2023-02-23 13:39:06 +02:00
maxresdefault3.jpg :octocat: 2023-02-23 13:39:06 +02:00
package-lock.json :octocat: 2023-02-23 13:39:06 +02:00
package.json :octocat: 2023-02-23 13:39:06 +02:00
README.md Update README.md 2023-02-23 17:34:53 +01:00
SDVX5.jpg :octocat: 2023-02-23 13:39:06 +02:00
SDVX5scaled.jpg :octocat: 2023-02-23 13:39:06 +02:00
sound-voltex-iii-gravity-wars-1.png :octocat: 2023-02-23 13:39:06 +02:00
style.css Changed background 2023-02-23 18:31:21 +02:00
Vars.js :octocat: 2023-02-23 13:39:06 +02:00

UI for launching games with Custom built controllers

How to use ?

  • Add a new variale in Vars.js and set it to game exe path
  • Add new switch switch case in
switch (vers) {
        case 3:
            execFile(AsphyxiaPath);   
            execFile(SDVX3Path);
            //console.log(vers);
            break;
        case 4: 
            execFile(AsphyxiaPath);   
            execFile(SDVX4Path);
            break;
        case 5:
            execFile(AsphyxiaPath);   
            execFile(SDVX5Path);
            break;
        case 6:
            execFile(NewVar)
        default:
            break;

With execFile(your variable) Like this:

        case 6:
            execFile(NewVar)
  • Add <button class="move" type="button" id="sdvx3-button" onclick="vers=3;sdvx()">

set the id to whatever you want and vers to corresponding number in switch case