I’m trying to use an external js API, using an intermediary js file and an extern.
I’ve got this working - but my issue is that I’d like to copy my intermediary JS file into my bin folder when I build, rather than manually. Or, add it into my my main game JS file…
Is there a way of doing this? (Bonus points if you can tell me how to do it in atom.io too)
euh… tag template copy automaticly your file into export|bin folder like asset tag.
I don’t know atom.io so i can’t see exactly what you are talking about
If you’ve got any ideas I’d be really grateful, because doing it manually is proving a bit…
I think the thing I find strange is that it also doesn’t do anything when I build from the command line… (So, I guess something must be wrong with my xml)
The system copy at the source of your project. So you don’t have to add “bin/html5/bin”. Just “js/Wrapper.js” is correct. <template path="src/js/Wrapper.js" rename="js/Wrapper.js" if="html5" />