A basic platformer made using electron, js, css, and HTML5
Building this project from source code took less time than writing this explanation! It just takes three simple steps:
This application requires Node.js and npm for building projects and package management. Install these tools using their official installation guides.
Ensure that these programs work correctly by running the following commands in your terminal, command prompt, or PowerShell window:
node -v
npm -vThe output of each command should be the version of each tool. Check your installation if you get errors from these functions.
Navigate to the platformer/my-electron-app subfolder and run the following command to install all dependencies:
npm updateRun npm start in the platformer/my-electron-app subfolder to start the application. A new window containing the game should appear.
We are using Electron, a package based on Chromium, which converts HTML pages into desktop applications.