Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by mmaxwell

Instead of hardcoding the path to the lib/impact/ folder, why not use relative paths? ./font.js instead of lib/impact/font.js?

This would allow users to structure their directory however they want. For instance, ExpressJS encourages you to use a structure such as root/public/javascripts, and other patterns include includes/js/, etc.

1 decade ago by stahlmanDesign

I think it's because the structure is used by the bake script.

When you publish a finished game, all the files are compiled into one big file and I think it might depend on the structure you are referring to. I could be wrong.
Page 1 of 1
« first « previous next › last »