An open API service indexing awesome lists of open source software.

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

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.