Cross-platform scripts to launch the Lua Game Example project.
./start.shstart.batThe start script provides an interactive menu with the following options:
-
LOVE2D Game (Frontend)
- Launches only the space shooter game
- No backend services
-
JavaScript Integration Examples (Backend)
- Runs the Fengari and Wasmoon examples
- Demonstrates JavaScript-Lua integration
-
TypeScript Integration Examples (Backend)
- Runs the TypeScript-Lua bridge examples
- Shows type-safe Lua integration
-
LOVE2D Game + JavaScript Backend
- Launches game in foreground
- Runs JavaScript examples in background
-
LOVE2D Game + TypeScript Backend
- Launches game in foreground
- Runs TypeScript examples in background
-
All (Game + Both Backends)
- Launches all services simultaneously
- Game runs in foreground
- Both backends run in background
- Logs saved to
logs/directory
When running multiple services (option 6), backend logs are saved to:
logs/js-backend.log- JavaScript integration outputlogs/ts-backend.log- TypeScript integration output
- Press
Ctrl+Cto stop all running services - Closing the game window will also stop associated backend services
Run the installation script first:
./install.sh # macOS/Linux
install.bat # WindowsFor backend services only, you can use npm scripts:
cd integration
npm start # JavaScript examples
npm run start:ts # TypeScript examples