Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shakiba
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
Ask HN: Can we stop Coronavirus if enough people volunteer to catch it?
2 points
by
shakiba
7y ago
|
7 comments
2.
▲
by
shakiba
7y ago
That's right, it's only rendering and layout library.
3.
▲
Ask HN: How to Implement `toString` in JavaScript with Functional Programming?
1 points
by
shakiba
9y ago
|
1 comments
4.
▲
by
shakiba
9y ago
I guess I fixed the issue that you pointed out, it was a new bug in testbed. Thanks for reporting! You may need to force-reload the example to see the update. Please let me know if the issue still exists for you.
5.
▲
by
shakiba
9y ago
Thanks! It is easy to integrate Planck.js with other liraries and dev tools.
6.
▲
by
shakiba
9y ago
Thank you! I have not seen any problem with car example on my own laptop, but I will try it on some more different devices to find the issue. Regarding performance, because Planck.js code is hand-made and readable it is not difficult to imp
7.
▲
by
shakiba
9y ago
The game is very cool! :)
8.
▲
by
shakiba
9y ago
P2.js was a great effort and is a nice project. It is also inspired by Box2D and its API is very similar, however Box2D algorithm and architecture are more sophisticated and stable, and is already used in many popular games (such as AngryBi
9.
▲
by
shakiba
9y ago
Box2DJS is based on an old Flash port and as far as I remember it didn't work well when I tested it (for example second example on the website doesn't work currently, right click to switch to next example). I decided to directly p
10.
▲
by
shakiba
9y ago
Awesome, thank you!
11.
▲
by
shakiba
9y ago
Probably it would be easy, I would be happy to help with that, please feel free to open an issue on github.
12.
▲
by
shakiba
9y ago
Those are changes to internals, there are only few API differences which are explained on readme page. Anyway, I agree with you, a new API doc would be very helpful.
13.
▲
by
shakiba
9y ago
The main difference is that it is a hand-made rewrite, so the code is readable and improvable, so performance can be improved and optimized even if it is not fast enough in some cases. Also see my other comment about comparison with emscrip
14.
▲
by
shakiba
9y ago
In JS, if you pass same input it will give you same results. With box2d/planck frequency needs to be constant anyway, and I have not seen any nondeterministic component in the code. (I think in box2d docs it refers differences in execu
15.
▲
by
shakiba
9y ago
Great work! I decided to directly rewrite Planck.js from Box2D C++ code, so that I can keep it updated (as far as I remember that flash port was few years old).
16.
▲
by
shakiba
9y ago
Thanks! Repost from reddit: The main reasons that I decided not to use Emscripten port was usability: - First, it is generated and unreadable code, therefore it is impossible to understand how it actually works in JS to use it optimally, de
17.
▲
by
shakiba
9y ago
Planck.js developer here! I have posted this to reddit before, so I'm just going to include it here too: I have ported/rewritten Box2D physics engine to JavaScript, for cross-platform HTML5 game development. Planck.js includes ent
18.
▲
by
shakiba
9y ago
Thank you! Just fixed it! I actually LOLed very hard!
19.
▲
by
shakiba
10y ago
Author here! Thanks for troll comment!
20.
▲
by
shakiba
10y ago
> when I look at an open-source codebase built on React + Redux, it's so easy to understand the application architecture. That's my point, I believe a library should not imply architecture.
21.
▲
Redux is Overhyped
(medium.com)
7 points
by
shakiba
10y ago
|
4 comments
22.
▲
Redux is Overhyped
(medium.com)
2 points
by
shakiba
10y ago
|
3 comments
23.
▲
by
shakiba
10y ago
:)
24.
▲
by
shakiba
10y ago
Looks like a new hell!
25.
▲
Is this a ship-shipping ship, shipping shipping ships?
(skeptics.stackexchange.com)
8 points
by
shakiba
11y ago
|
1 comments
26.
▲
by
shakiba
11y ago
"APRIL" 2015
27.
▲
Show HN: QwickUp, open-source lookup tool.
(qwickup.com)
3 points
by
shakiba
12y ago
|
0 comments
28.
▲
by
shakiba
12y ago
Why?
29.
▲
by
shakiba
12y ago
I compared O! GC with few other HTML5 games, it seems that GC frequency is normal with high number of game objects.
30.
▲
by
shakiba
12y ago
Regarding you technical points: Yes, there is an issue with O!, it makes too much garbage, it should be corrected. I guess your point is to store depth of a drawable instead of traversing the tree? I'm not sure how faster it can make
More ›