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
Haxe externs #19
Comments
Cool! Does it require specifying static types for methods' arguments and return? |
They are already defined into the externs : ... or sometimes they are just externs of yours : For now I've just checked the instances are created (World, Body .... Transform ...) and filled correctly. I followed the provided index.js file and tryed to deal with code that is exposed (not all protected members, not the Solver class, I believe the latter can remain hidden for now) More testing is needed, I work for a client and I will test it this week .... |
That's interesting and very helpful! Do you know how does it compare to TypeScript types? Because someone asked me about it before. |
Sorry, I dont have expertise with TypeScript |
Ah, ok. Please keep me updated about your work, I'm interested to see how it works. |
Hello, My work is still in progress, and for now the planckjs seems to run properly with the Haxe externs. From my first post, I had to adjust the externs to be compliant with your code, I updated them into my framework repository (see previous links). I copy my "commit comments" here : I continue the testings :) |
Hello, here a game demo extracted from my work for my client. I think I can share this : The game is redeveloped from former Flash Box2D sources. Mechanics are very simple. It conforms to the original game. No issues for now, just some adjustments to adapt to the last Box2D API. |
Awesome! :) I'm glad it worked for you. I will add it to a new demo list in near future. |
Not an issue, but just to let you know that I am working on externs for Haxe (not shure of the best practice to post this) :
https://github.com/NicolasVereenoghe/git.vega.pixi4/tree/master/haxe/lib/planck%2Cjs
It's a first try, and for now the externs are hosted into my framework repository.
I'm going to deal with serious testing the coming days. I hope it will make the job ^^
If you're interested, try it or tell ... I may create another repository for the Haxe externs, for now I'm not sure :)
The text was updated successfully, but these errors were encountered: