Is Crafty still being developed?

166 views
Skip to first unread message

Dud

unread,
Jun 28, 2018, 4:25:44 AM6/28/18
to Crafty
Hello,

I took a look at the API and examples, really like the syntax and entity/component system, but before getting into it wanted to know if the engine is still supported by the developers, are there any future plans? Last commit on github was 5 month ago.

Thanks

starwed

unread,
Jun 30, 2018, 11:21:12 AM6/30/18
to Crafty
Yup, still in development!  But, clearly at a slower pace.  I do try to fix any bugs that are reported.  (Though certainly, PRs are also very welcome!)

> future plans?

I've currently been playing around with a proof-of-concept of replacing the spatial hash map with a rust module compiled to web assembly.   It's definitely much faster in some, but not all, cases.  Once I've got it cleaned up a bit I'll try to post the code and a brief overview.

I'm not sure it's the time to directly include wasm in Crafty, but as an intermediate step I'd like to land some changes that will make it easier to import external modules at init time.  So that's probably the next immediate change on my personal roadmap.

Dud

unread,
Jul 1, 2018, 4:22:48 AM7/1/18
to Crafty
good to know, thanks :)

Syamsul Arifin

unread,
Jul 2, 2018, 9:20:38 PM7/2/18
to Crafty


On Sunday, July 1, 2018 at 4:22:48 PM UTC+8, Dud wrote:
good to know, thanks :)


i am glad to hear too... Thanks for developer

starwed

unread,
Jul 22, 2018, 1:40:26 PM7/22/18
to Crafty
If anyone is curious,  I threw a rough draft of some notes about the wasm implemenation up on a github wiki page here: https://github.com/starwed/Crafty/wiki/POC-for-wasm-map-implementation

That focuses more about the wasm part than Crafty, but the code changes to crafty can be seen in this branch.  The rust module and wasm integration live in the wasm-poc directory.  (I think some of the aspects of the Canvas implementation are broken in that branch, though I haven't actually checked!  I stuck with WebGL for testing the POC.)

A demo of it in action can be seen here.  You can compare the performance with and without the wasm module, for a variable number of entities.  (On my machine the difference is fairly obvious with a 30x30 grid in Firefox, and a bit more in Chrome.)

On Thursday, 28 June 2018 04:25:44 UTC-4, Dud wrote:
Reply all
Reply to author
Forward
0 new messages