Comments (4)
@jgranick Ok, I did a little digging, but first I have a question. How are you maintaining this library? Is it a manual port or is it transpiled? I'm asking because making specific changes will make it much harder to maintain if it is the latter :/
So my findings are, that first compilation error is just an order of definitions issue. Line 72 just doesn't know about the constant it is using yet.
After fixing this, there are numerous runtime errors, that I have seemed to boil down to one simple thing. This library is expecting null
to be coerced to 0
in quite a few operations involving mainly bitmasks and increments from what I can see.
I just kept stomping them and making sure a 0
was defined where these operations failed with null
.
With that the openfl sample works on neko.
Your thoughts?
from box2d.
Since I'm new to the party, I'm not sure if this is a recent change in Neko, or in Haxe targeting Neko. But it does seem like a weird change :/
from box2d.
This was a manual conversion, so all (or any) Neko fixes would be greatly appreciated!
from box2d.
Box2D works on Neko in my tests, but if you have any more problems, please report them. Thank you! 😉
from box2d.
Related Issues (18)
- Default value of B2Mat22 is probably wrong HOT 1
- Needed fix for benchmark HOT 2
- Mass / density changes, doesn't change the way gravity interacts with a body HOT 2
- Can't edit contacts! (box2dflash 2.1a was outdated, broken, incomplete) HOT 2
- B2Fixture.setFilterData has wrong condition return HOT 1
- Calling B2Body::SetLinearVelocity / SetAngularVelocity should awaken body
- Remove dependency on Flash HOT 2
- DebugDraw: vector (box) shapes line to world pos 0,0 instead of closing
- Std.is is deprecated
- Can she used in heaps?
- Sir Plz attach documentation
- LiquidFun integration
- B2Body.applyAngularImpulse is missing
- Too low performance on mobile platform
- B2Body.ApplyForce and .ApplyImpulse don't behave as expected HOT 1
- body.setFixedRotation cause error. HOT 1
- B2internal::m_p.set() what alternate ? HOT 4
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.