Hacker Newsnew | past | comments | ask | show | jobs | submit | xqunix's commentslogin

Nice article.

I've built a Component-Entity-System library in JavaScript a while back, and the code is quite similar. You can check it out at https://github.com/qiao/ces.js


Thanks! I've come across your library before and I think it's great. I like how you abstract the World to be a container for the systems and entities.


Author here.

The demo actually works in all modern browsers that support WebGL. The reason why I only allowed Chrome to visit was that it was the only browser that could run it smoothly.(At least on my machine at the time I developed this demo).

I have just removed the detection. Sorry for the inconvenience and hope you enjoy it.


For future reference, if one does detection (which is probably alright for proof-of-concepts using new features) just make it a dismissable warning that pops up, preferably with a screenshot or animation or short video so that people can get some idea of what it looks like/what they're supposed to see.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: