I can't believe you still don't have this possibility since 2012
- What if I have a lot of diffirent aces, and I would like to split them to keep them in different files?
- What if I have a huge drawing system that I want to keep in a separate file?
- What if I have the same chunk of code that I want to use in 5 different plugins?
I realize that edittime works in a pure V8 context, but there are pure V8 libs, like Node.js, that allow to use require.
I was hoping it's gonna work in Construct, tried to separate the drawing stuff, wrote this:
var draw = require('./drawEdit');
draw.draw();[/code:2hql0u53]But it wouldn't work.
Any thoughts about it?