Comments (8)
I've forked box2d.js
and added support for Box2D v2.4.0:
https://github.com/Birch-san/box2d-wasm
from box2d.js.
I don't have time to maintain this project myself, but I'd be happy to merge pull requests like that, @Birch-san
from box2d.js.
thanks! :) I'm not sure what that pull request would look like — box2d-wasm isn't a fork in the strictest sense — it's a "start again" but with copying + modifying of a few files (the .idl bindings, glue stub, helpers), and with an entirely different approach to build and source control.
I think it'd be relatively easy to contribute TypeScript typings to box2d.js (i.e. by running https://github.com/Birch-san/box2d-wasm/tree/master/webidl-to-ts on each .idl file you have), or to contribute a .wasm and .idl of the Box2D v2.4.0+@f0f9d50 commit that I'm on, but anything beyond that would be substantially harder (e.g. due to the cmake-based build system being very different to the Makefile-based build system).
from box2d.js.
THanks @Birch-san, What about Box2D 2.4.1? Does 2.4.0 fixes issue #90 ?
from box2d.js.
@JxM-92 I don't know whether the small block allocator has been made any less leaky in newer versions, but the repro looks simple so should be easy to check.
I did actually try upgrading to Box2D v2.4.1, but it instantly encounters assertion failures at runtime (fails to assert that inertia must be positive). this is something that needs reporting as an issue. I briefly looked at the commits that had happened in the intervening time, and wonder whether it's related to reverting back to an older interpolation algorithm.
from box2d.js.
@Birch-san In that case, maybe a link in this repo could go to yours?
from box2d.js.
@kripken that sounds good, if you'd be okay with that?
from box2d.js.
@Birch-san Yeah, it sounds like a good idea to link to it from the readme, could help people find it.
If people find it useful maybe we can merge the repos, that's another option. But for now a link is a good simple step.
from box2d.js.
Related Issues (20)
- b2Vec2 won't free HOT 2
- Unable to build latest on macOS Mojave with [email protected] HOT 5
- High Gravity jitter HOT 1
- missing runtime methods for allocating arrays HOT 4
- box2d.wasm.html test faild with [email protected] build HOT 2
- is there typescript declaration file (d.ts) for this project? HOT 2
- Box2d 2.4.0
- Node server side implementation
- How does this work with webpack? HOT 1
- May I ask why the calculation results are different on the ios and android platforms HOT 2
- vue how to use it
- vue hao to use it
- why is not show?
- why now show debugdraw
- could i have more simple demos about the box2djs ,and where can i see the API about box2djs
- How to build? I want to build the debug version of javascript file
- Position not getting what is set
- Uncaught (in promise) cannot construct a b2Draw, no constructor in IDL
- Cannot SetTarget of b2MouseJoint
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.js.