https://github.com/tgsstdio/node-sdl2-boilerplate
node-sdl2 project boilerplate for new SDL2 applications and demos
https://github.com/tgsstdio/node-sdl2-boilerplate
boilerplate boilerplate-template nodejs sdl2
Last synced: 2 months ago
JSON representation
node-sdl2 project boilerplate for new SDL2 applications and demos
- Host: GitHub
- URL: https://github.com/tgsstdio/node-sdl2-boilerplate
- Owner: tgsstdio
- Created: 2017-06-27T08:16:40.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-27T08:20:14.000Z (about 9 years ago)
- Last Synced: 2025-05-29T19:00:53.947Z (about 1 year ago)
- Topics: boilerplate, boilerplate-template, nodejs, sdl2
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-sdl2-boilerplate
node-sdl2 boilerplate template project for starting new node.js based SDL demos and applications
## Installation
### Instructions
1. Make sure to install [node-ffi](https://github.com/node-ffi/node-ffi) and its dependency [node-gyp](https://github.com/nodejs/node-gyp) and follow the instructions related to build node-gyp according to your [development environment](https://github.com/nodejs/node-gyp#installation).
2. Enter ``` npm install ``` into the commamd-line in the project folder. This will install node-sdl as part of the build process.
3. Download and/or install the appropriate binaries of [SDL2](https://www.libsdl.org/download-2.0.php).
4. __Windows specific__ Copy the dll and drop it within the project root folder.
## Demo
Open a SDL window
### Instructions
1. Enter ``` npm start ``` or ``` node index.js ``` into the commamd-line. This will install node-sdl as part of the build process.