vioz's Forum Posts

  • Good idea, I take a look at the API and it seems complete.

    https://developers.google.com/chart/interactive/faq?csw=1#offline

    [quote:1xjwmiub]Can I use charts offline?

    Your users' computers must have access to http://www.google.com/jsapi in order to use the interactive features of Google Charts. This is because the visualization libraries that your page requires are loaded dynamically before you use them. The code for loading the appropriate library is part of the included jsapi script, and is called when you invoke the google.load() method. Our terms of service do not allow you to download the google.load or google.visualization code to use offline.

    It is therefore not possible to use will be offline?

  • Does this plugin support animation 3d models?

  • Thank you guys, so the problem come from minifier.

    [quote:29gbwbrt]When exporting, Construct 2 gives the user the option to 'Minify script'. This runs the common and runtime scripts through Google Closure Compiler's ADVANCED_OPTIMIZATIONS mode. This imposes some limitations on what scripts can do. You must obey these limitations when writing your plugins, otherwise your plugin will be broken on export. More details can be found here (http://code.google.com/closure/compiler ... rial3.html).

    The main thing is to always use dot syntax (Object.property) rather than bracket syntax (Object["property"]). All properties using dot syntax are changed by Closure Compiler, but none of the properties in bracket syntax are changed. Therefore, if you use Object.property in one place and Object["property"] in another to access the same property, the plugin will be broken on export. You may still use bracket syntax (e.g. for a dictionary of user-inputted strings) - just be aware of how Closure Compiler will transform the code.

    i think i need change this :

    ...plugins/nodewebkit/runtime.js

    window.ondrop = function (e)

    {

    e.preventDefault();

    for (var i = 0; i < e["dataTransfer"]["files"].length; ++i)

    {

    droppedfile = e["dataTransfer"]["files"]["path"];

    self.runtime.trigger(cr.plugins_.NodeWebkit.prototype.cnds.OnFileDrop, self);

    }

    return false;

    };

    e.preventDefault(); is the function prevent the original event browser , it seems that this function does not work after obfuscation

  • anyone can try an export and try this ?

  • ok in preview mode , it's work (i have launch construct as normal user). But after exported , it's react like a browser , picture replace all the window.

    Preview mode : Works.

    After export :

  • i have steam version , i launch steam as administrator. When i launch construct i see "(administrator) " in title bar .

  • have you 32bit or 64bit version ?

  • construct reinstalled.

    Same problem :

  • Problem Description

    In preview mode drop file in window doesn't work.

    In exported , the window react like we drop a file on a browser application.

    Attach a Capx

    [attachment=0:2ej32utg][/attachment:2ej32utg]

    Description of Capx

    On dropped file , load the file into sprite.

    Steps to Reproduce Bug

      Observed Result
      • PREVIEW MODE I can't drop any files in window.
      • EXPORTED When we try drop a file in node-webkit application , the window react like a browser. Example : I drop a PNG file on my node-webkit window , the picture appear in the left-top corner.
      Expected Result When i drop a file in the windows , do an action . Affected Browsers
      • Chrome: NO
      • FireFox: NO
      • Internet Explorer: NO

    Operating System and Service Pack

    Windows 7

    Construct 2 Version ID

    Beta r171

  • (Horizontal,Vertical)

    0,1 top

    0,-1 bottom

    1,0 left

    0,1 right

    make a screenshot or send the capx for i see what is wrong.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • "Newline"

    Example :

    "My text before the return of line" & Newline & "My text after the return of line".

  • becarefull of having use overlap on the good sprite .

    set you'r offset on 0,1

  • I'll be back Monday, I'll try to make you a template.

  • Hi ,

    Be sure the explosion is not in a top layer.

  • You need :

    ●A list of word in your language. (search on google , i am french & i have find a plaintext file words of my language)

    You can put the list in a array of dictionnary object for compare word after.

    ●A sprite for each letters (a frame = a letter , example Frame 1 = A , Frame 2 = B ,...)

    ●Global variables for all possible letters forming a word (Example : letter1 , letter2 , ...)

    ●A variable indicating the nth letter is clicked ( for each letter cliqued , variable +1 . for letter cancelled - 1)

    For each click you add all global variables and put the result in "finalword" for example . you compare the "finalword" variables with your list word.