Skip to content

This is an SDL binding for NodeJS. It is written in c++ using native v8 addons. The goal is to make a pygame for NodeJS

License

Notifications You must be signed in to change notification settings

Rishi-Bidani/sdl-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node-sdl

For building the binaries

node-gyp configure build

For running the nodejs code

The example code has been provided in the nodesdl.js file. It can be run using the following command.

node nodesdl.js


Main libararies and dependencies

c++

  • SDL2
  • SDL_Image
  • Node.h

Node.JS

  • No dependencies, it uses native v8 addons - written in c++

Future plans

  • Background colour
  • Rectangles
  • Manipulate rectangles
  • Allow images
  • Manipulate images
  • Other shapes
  • Add more events and additional information with each event

About

This is an SDL binding for NodeJS. It is written in c++ using native v8 addons. The goal is to make a pygame for NodeJS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published