Comments (3)
Check out https://github.com/Lusito/box2d.ts/blob/master/packages/benchmark/src/cli/index.ts to see how I fix it in the benchmarks.
Out of curiousity: Are you using box2d in node.js other than for benchmarking?
from box2d.ts.
I'm using box2d server-side as part of my authoritative game server architecture. Clients run box2d locally in their browser and send their inputs to the nodejs server. The server is also running box2d in a worker thread, which computes the results of received inputs, then sends the updated world state back to each client.
from box2d.ts.
same problem when i use node v14.x.
solve this problem with node v16.x.
from box2d.ts.
Related Issues (20)
- As a project developer, I want to be able to render the world to a canvas using a function HOT 7
- wasm builds of box2d and liquidfun HOT 2
- [Solved] Constructor of class 'b2World' is private and only accessible within the class declaration HOT 2
- [Solved] b2_island.d.ts:3:10 - error TS2305: Module '"./b2_contact_solver"' has no exported member 'b2ContactVelocityConstraint'. HOT 6
- Hasn't the DebugDraw() method been implemented? HOT 2
- [Solved] Where can I find the demo source code for the official @box2d/core examples? HOT 2
- Hello World example HOT 2
- Testbed a little too fast
- Hacktoberfest
- Plz make little note in guide HOT 1
- Feature Request: Implementation of b2Draw, SetDebugDraw and DebugDraw HOT 19
- [Solved] The requested module '@box2d/core' does not provide an export named 'b2Draw' HOT 2
- [Solved] `DrawSolidPolygon` gets wrong collider position HOT 6
- Rotation problem with box2d-core and WebGL HOT 12
- Feature Request: Add the ESM button to jsDelivr HOT 2
- Feature Request: Add an information to jsDelivr that @box2d/core is JavaScript port too HOT 1
- box2d-core on the server side HOT 13
- Drawing colliders for box2d-core using Pixi.js HOT 10
- Links in documentation don't work on local server HOT 1
- An error occurs when using the SetTransformXY method HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from box2d.ts.