Hacker News new | past | comments | ask | show | jobs | submit login

This is awesome! There are lot's of things to learn from this code base...

In particular, I had not heard about http://brunch.io/ before and it looks like an interesting frontend build tool. The config file looks totally readable, even for a complex app like this: https://github.com/codecombat/codecombat/blob/master/brunch....

I can't seem to find ''app/assets/images/sprites'' in the git repo which I was interested in for an RPG project of mine. Were these not included to simply to keep the repo light, or are these not to be released?




Brunch is amazing. I was using Grunt in another project, but Brunch is so, so much faster to recompile changes, since it's very clever about caching.

Oh yeah, those sprites were in the repo as raster files, but we managed to move them all over to our awesome vector-graphics-in-the-database system just before launch. Check the DB dump to get a copy: https://github.com/codecombat/codecombat/wiki/Developer-envi...

(We did a ton of cleanup work before open sourcing, which managed to get our gzipped GitHub clone download from 203MB to 3.5MB.)

It might be hard to use these art assets in another game unless you take a lot of CodeCombat code on top of EaselJS to render the sprites directly from the vector graphics data, though, because of how they are stored: https://github.com/codecombat/codecombat/wiki/Surface#vector...

I could send you the old raster versions if you did want to use EaselJS for their animations but not go whole-hog with the CocoSprite solution.


FWIW, I would be interested in the old raster versions! Think you could put them on a public Dropbox folder or something? Thanks in advance for any help!


I just put some exported .png copies of some of them in the Dropbox folder you shared with me, but I'm realizing that without the associated metadata it's not going to be very useful (I can perhaps find where that was put later but it's not in the places I'm looking). Would you be able to use them in .swf form?


Wow, this is just amazingly helpful. Thanks a ton! SWF format would also be helpful for me personally at least.

A couple of questions:

* I assume you'd be fine with me putting these up on Github, pointing to your project and the license document?

* At this point I only see one "ally" folder, is that because the other ally sprites (magician etc.) were made later when you had the vector format?

Again - massive props to you all for just giving away your hours and hours of hard work! Not every day you see professional-grade artwork like this. Deeply appreciated.


Sure, that's what CC-BY is all about. Will be happy to see the art used in more places. (We don't actually draw the stuff ourselves; we're hiring an excellent game art studio to draw it for us, RetroStyle Games.)

Right, this is an old export, and the latest batch of units have never been exported in raster. Let's keep discussing the best way to get the exports here–Scott has come up with a better idea for it that'll stay current: https://github.com/codecombat/codecombat/issues/94

The SWFs are also part of the old format, so they won't be kept up-to-date; I wonder if we could just build some process around the vector -> raster export Scott's talking about through our site and still be useful.


They're in the DB to keep the repository lean and mean. But they're also licensed under CC. You can find 'em here:

http://codecombat.com/editor/thang

They're in a custom JSON-vector format, and the app turns them into sprite sheets in the code.

Brunch is pretty awesome, by the way. We chose it because it only compiles the files that have changed, which is good because it takes at least 15 seconds to compile the whole app on a fast machine.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: