ramtinsoltani's Forum Posts

  • Ashley The plugin brings the concept of Delegates and allows functions to be grouped with a delegate and be all invoked by that delegate. I have conditions such as: On delegate invoked, on delegate removed, etc. and I want them to be triggered without any delays. Can I use the 'cf_trigger_fast'? If so, what would be the benefit of it? What tweaks are done on that unique trigger against the normal triggers? Can I benefit from them?

  • QuaziGNRLnose Thanks for the reply.

  • Ashley Fair enough. I'm creating a plugin which would trigger functions and has some similar conditions compared to Functions. It would work as an addon to the Functions plugin. Do you recommend me to avoid `cf_fast_trigger | cf_trigger` or would it be ok to use it due to the similarity between Functions and my plugin?

  • I was wondering if the documentation for Construct 2 SDK is incomplete, because I was looking at the Function plugin code and saw `cf_fast_trigger` flag which is not documented.

    Is that flag the only thing missing from the SDK documentation or are there more? I'm writing a plugin and would like to know about all the tools I can use.

  • zenox98

    Do you think the saved draft will be available again or reset? I'm not sure if Scirra saves the drafts on their servers or in user's local storage.

  • I was in the middle of writing my tutorial and saved it as draft, then came back the next day and I'm seeing a list of tutorials with More... button instead of the tutorial editor that supposed to be there!

    What happened to the draft and where's the editor?

  • SecondaryTesla the issue was fixed by Tom and that so called a "hack" was just an April fool joke (since the file that was causing the transitions was hosted on scirra's servers).

    I'm not experiencing any logout issues, but the badge thing happened to me to (I haven't visited Scirra for 100 consecutive days but somehow earned the badge!)

    "Click any link outside of the forum and the pages start breaking apart."

    What do you mean?

    Lancifer

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads

    ---------------------------------------

    -------------------------------

    ------------------------------------------------------

  • Thanks armaldio

  • Since I can't reply to your pm (due to <500 reputation points) I uploaded the edited plugin here: jigargushe.com/c2plugins/c2_email_plugin.zip

    Example.capx is excluded.

  • Not enough reputation points!

    But the problem was with the check

    if (data === "OK")[/code:39nmj5cb] on the promise, fixed it with [code:39nmj5cb]if (data.substr(data.length - 2, 2) == "OK")[/code:39nmj5cb] and also triggered the "OnSendFailed" on the else clause where it wasn't included.
    
    [img="http://s22.postimg.org/nkzyfo0u9/mail_runtime.png"]
    
    BTW, I implemented the "don't/do console log" idea in your plugin and it's awesome! You should do the same thing.
    
    [img="http://s7.postimg.org/cucp8aw97/mail_runtime2.png"]
  • Great plugin,

    the only problem is that the conditions "On mail sent" and "On mail failed" never get triggered and their code never gets executed!

    I really need a way of finding out if the email was sent successfully or not (creating a feedback system) to let the player know by showing a message.

    Also, the console logs are great when testing, but it's not a good idea to log unnecessary stuff on the browser when the game is published (a "Prevent console logs" checkbox would be a great addition). Trying to execute console.clear() but it doesn't get executed due the triggers issue.

    This is how I'm using your plugin: