Arne's Recent Forum Activity

  • Sorry Ashley for being unclear and jumping to solutions before making the requirements clear. What I want has nothing to do with extern.js but I saw it as a possible solution to my needs.

    What I want is:

    * Code completion in Webstorm when using external libraries in a plugin.

    As code completion is built on "dot" syntax it doesn't work when using literals. Another thing is that JSLint/JSHint complains about this, minor issue but I couldn't get Bracket to work after their last update.

    Any suggestions?

  • I forgot to make the request to Ashley, he is of course the only one to make improvements in this area

  • I agree with that you need to use the database functionality, the Analytics part is not suitable for this.

  • hmott I can see from the file structure that you have extracted the zip file directly into the plugins folder. You should instead extract the zip file in temporary location and then drag and drop the "parse1020.c2addon" file to an open Construct2 window.

    So to resolve the current problem you need first need to remove the folder "...\plugins\ParseFE1020\" before doing the drag and drop again.

    We are using the "new" method described in the manual to install plugins: https://www.scirra.com/manual/158/third-party-addons

    I will add a reference to the manual to make it clearer how to install external plugins.

  • Major update to include Parse Push Notifications.

    The new version support Parse Push Notifications for iOS and Android devices via Cordova export.

    Send push notifications very easily from the Parse Push Dashboard or make more complex pushes with Cloud code.

  • I have tried to get the FacebookConnect plugin to work for the last six months now:

    https://forums.html5dev-software.intel. ... =37&t=6845

    The last piece of the puzzle is to fix Crosswalk, i have a discussion with a build engineer at Intel now so it is ongoing but no solution yet.

  • Yes it can be worth looking into. It is based on Cloud code that can be called from the plugin in the current implementation.

    The only thing that worries me is that using Cloud code will definitely require some more knowledge from the plugin user. Maybe that is an other topic but how much can you expect a normal plugin user to be able to code outside C2?

  • One of the things that most often go wrong is that the Closure Compiler trashes your code at export with minify.

    After this hard lesson you start writing everything with literals like MyExternalLib["activateAFunctionButMisplelled"] and it still will not work, but you don't notice that and spent some quality time debugging.

    But there is a solution that is already used for C2 standard plugins and that is to use a externs.js file. So this is something I would like for 3pp plugins as well.

    With that I can fully use both code completion and JSHint/JSLint type syntax checkers. If you are doing a large and complex plugin that is really an advantage.

    I have gone from using Notepad++ to Brackets and now WebStorm and finally it's easy to write javascript again. WebStorm will index C2s all system files and give you code completion for everything. Well almost everything, the edittime.js needs special handling so I did a "library" for that here: https://www.frostyelk.se/development/edittimeLib.zip

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • pirx I have not seen anything else than Facebook authentication (a problem with being owned by Facebook maybe...).

  • omateos As this topic is for my plugin i just want to make sure that you are actually using the official admob in C2 and not this plugin. We are using this plugin and it works fine for C2 r190.

  • frenzyace You need to delete the plugin folder manually, I don't know of any automatic way to do it.

    As an example my plugin folder for admobfe is located here: D:\Apps\Construct 2\exporters\html5\plugins\admobfe

  • hassiba Are you looping over properties in an object or over an array? I assume you have read this https://developer.mozilla.org/en-US/doc ... s/for...in?

Arne's avatar

Arne

Member since 22 Feb, 2014

None one is following Arne yet!

Connect with Arne

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies