-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node.js #8
Comments
Sure; I'd originally removed server-side support (to save a bit of filesize) since I didn't think there was a use-case for it. I've added Node.js support back in for box2d-wasm v1.3.0. I've made a few backend demos to demonstrate how to install it into your application. Can I ask what it is you're doing with Box2D server-side? Is it a multiplayer game or something? |
Awesome, thank you so much for that! Yes, I'm working on a multiplayer game and currently checking some potential physics engines. Box2D seems a really good fit to what I need although I just realised that it doesn't support resizing shapes (for example, growing and shrinking circles) which might actually be a problem for my project. |
Followed the instructions for Modern + Typescript and got this after
And got this after
|
But classic and modern do work 👍 |
@gpeles thanks for trying it out.
|
Yes, I can confirm that it works now! Thanks a lot! |
no problem 🙂 hope it works out for multiplayer! |
Hello, thank you very much for porting the newer version of Box2d and supporting TypeScript.
Is it possible to make the package work also server-side on Node.js?
The text was updated successfully, but these errors were encountered: