Missing script reference?

0 favourites
  • 1 posts
From the Asset Store
Here is the wonderful & amazing script for your website or fun with maths.
  • I’m trying to port a Construct 2 plugin to Construct 3. Basically, I’ve taken the singleGlobalPlugin example and filled in my actions, conditions, expressions – and of course the language-files, addon, aces etc. too.

    However, I get “ReferenceError: $ is not defined“ in the following line which I've placed in the constructor in the c3runtime/instance.js file:

    this.connection = $.hubConnection('http://mydomain.com');
    

    I used to have this line in instanceProto.onCreate in Construct 2. It relies on a couple of scripts which I’ve added with AddFileDependency in plugin.js and also in DEPENDENCY_FILES.

    Am I missing a reference, or am I doing something else wrong here?

    Tagged:

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)