node-raylib
node-raylib copied to clipboard
Node.js bindings for Raylib
Hi is it possible to add support for https://github.com/raysan5/rres?
jardeltorres reported on raylib discord, so I followed up. The code works fine if the animation is commented out, but segfaults if not. Additionally, I get `TypeError: r.SetMaterialTexture is not...
Hi, this library is super cool thanks for the hard work! I see in the package.json the current version is 0.20.0 but the latest version on npm is still [0.14.0](https://www.npmjs.com/package/raylib/v/0.14.0)...
**Issue** The current Node.js bindings for raylib have a type mismatch in the UpdateTexture / UpdateTextureRec function. The TypeScript definition forces pixel data to be a number type (presumably a...
This changes mac to always use a single "fat" library that supports ARM (M1/M4) and Intel both. It will build both in cmake, CI will build a single file, and...
If anyone needs, I managed to update this project to use raylib 5.5 https://github.com/r1tsuu/node-raylib/releases https://www.npmjs.com/package/@r1tsuu/raylib I also included pre-built binaries for Apple Silicon so the `preinstall` script doesn't need to...
``` inline const char * stringFromValue(const Napi::CallbackInfo& info, int index) { std::string val = info[index].As().Utf8Value(); const std::string::size_type size = val.size(); char *buffer = new char[size + 1]; //we need extra...
I was trying to use GuiTabBar, and the second argument is using (in the bindings for it) `pointerFromValue(info, 4)` and casting to `const char **`. The cast (I _think_) makes...