https://github.com/gildas-lormeau/coin-pusher-2000-electron
A coin pusher game using Three.js and Rapier.rs in Electron
https://github.com/gildas-lormeau/coin-pusher-2000-electron
javascript rapier3d rust threejs
Last synced: 3 months ago
JSON representation
A coin pusher game using Three.js and Rapier.rs in Electron
- Host: GitHub
- URL: https://github.com/gildas-lormeau/coin-pusher-2000-electron
- Owner: gildas-lormeau
- Created: 2025-07-09T02:38:54.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-07-25T01:19:29.000Z (3 months ago)
- Last Synced: 2025-07-25T04:38:25.107Z (3 months ago)
- Topics: javascript, rapier3d, rust, threejs
- Language: Rust
- Homepage:
- Size: 123 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Warning: This is a work in progress!
This repository contains the code required to run [Coin Pusher 2000](https://github.com/gildas-lormeau/coin-pusher-2000) in Electron. This project mainly contains the Rapier.rs binding needed to run the game.
# Build
- Install Git if not already installed, cf. https://git-scm.com/
- Intall Node.js if not already installed, cf. https://nodejs.org/en/download
- Install Rust if not already installed, cf. https://www.rust-lang.org/tools/install
- Install Python (required for native module compilation):
- **macOS**: `brew install python3` or download from https://www.python.org/
- **Windows**: Download from https://www.python.org/ or `winget install Python.Python.3`
- **Linux**: `sudo apt install python3 python3-dev` (Ubuntu/Debian) or equivalent
- Install build tools:
- **macOS**: `xcode-select --install` (Command Line Tools)
- **Windows**: Install Visual Studio Build Tools or Visual Studio Community
- **Linux**: `sudo apt install build-essential` (Ubuntu/Debian) or equivalent- Run the following commands to clone the project, install its dependencies, and build it
```sh
git clone --recursive https://github.com/gildas-lormeau/coin-pusher-2000-electron.git
npm install
npm run build
```
# RunLaunch the following command to run the game.
```sh
npm start
```# Package
Launch the following command to run the game.
```sh
npm run package
```# Troubleshooting
If you encounter build errors:
- Make sure Rust is properly installed: `rustc --version`
- Ensure Python is available: `python3 --version`
- On macOS, make sure Xcode Command Line Tools are installed
- On Windows, ensure Visual Studio Build Tools are installed
- Try clearing node modules: `rm -rf node_modules package-lock.json && npm install`