Rob Loach
Rob Loach
Thanks, always looking for better ways to accomplish this. As long as TypeScript provides value, is easier to maintain and build upon, then it'd be worth investigation.
I've added the `types` definitions in the latest version. Would love some testing on it! While adopting Typescript entirely will cause a bunch of duplicate code, we are still able...
Using nbind would be pretty cool... Oh, didn't know about node-c-parser. How far would it push it for us???
I believe this is worth some documentation! Thanks for the investigation here :+1:
Interesting... Perhaps it needs an update to the latest Raylib.
Possibly something like this? https://github.com/RobLoach/node-raylib/pull/43
Alright... Went through and updated raylib. Hopefully it's working now. Mind testing again? Also, mind sharing part of your main.js so I could test on my machine? THANKS!
Thanks for trying this out! Looks like there's no CMAKE C compiler? ``` No CMAKE_CXX_COMPILER could be found ``` Does VS2019 have some compilers you can add to it?
Looks like you got some permission errors. You shouldn't really need to run with `sudo`.
The [simple_game](https://github.com/RobLoach/node-raylib/tree/master/templates/simple_game) template provides a small example... ``` bash cd templates/simple_game npm install npm test ```