I'm trying to connect my game to my Drupal website using Drupal services and the whole mission is giving me a gripping headache.
C3 no longer has jQuery as a dependency as mentioned here.
jQuery would really help what I'm trying to do though. My question is: what's the best and easiest way to include jQuery so I can use it in .js files with ValerypopoffJS?
Phacanu made a good solution for that.
That is for JQuery dependent plugins. Although, in your case. Just include JQuery into your project and use the JS plugin to include it on the runtime. And you are good to go!
—, Thanks so much for getting back so quickly on this. I highly appreciate it. At the risk of sounding like a complete muppet, how do I do step 1?
C3 plugins are in a .c3addon file. I'm not sure how to edit them.
Apologies if I'm being a "help vampire". I'm having one of those head + brick wall days.
Develop games in your browser. Powerful, performant & highly capable.
You don't need to edit vallerypoffs plugin, just download jquery from
then make a new js file in c3 copypaste the code from jquerys cdn paste it into that file then just include it like
Lovely! Thanks for that :)
I also just noticed Chadorireborn has a C3 plugin called "jQuery Plugin" so I'll check that out too.