arcade-machine/ui
2023-02-25 13:07:15 +01:00
..
3.0.6.2 :octocat: 2023-02-23 13:39:06 +02:00
Audio Audio FX 2023-02-23 23:11:23 +01:00
get :octocat: 2023-02-23 13:39:06 +02:00
JPGS added img for SDVX 5 2023-02-24 15:37:01 +02:00
.gitignore https://www.youtube.com/watch?v=hlv672jqbtE 2023-02-23 21:26:31 +02:00
forge.config.js https://www.youtube.com/watch?v=hlv672jqbtE 2023-02-23 21:26:31 +02:00
index.html Changed CSS to not be retarded 2023-02-25 13:06:37 +01:00
main.js More Configurable Vars 2023-02-25 12:34:21 +01:00
package-lock.json installed electron-packager 2023-02-25 00:54:40 +01:00
package.json installed electron-packager 2023-02-25 00:54:40 +01:00
README.md Update README.md 2023-02-25 12:25:54 +01:00
style.css Changed CSS to not be retarded 2023-02-25 13:06:58 +01:00
Vars.js Added configurable imgs 2023-02-25 13:07:15 +01: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

Closing the game with shortcut setup

  • Configure ExitKey1 and ExitKey2 in Vars.js
  • Set variable GameExe to whatever your game exe is (number after "GameExe" determines on which grid pos it will be)