septeven's Forum Posts

  • Ashley

    About your first request, of course we can !

    About your answer, first of all, thanks to care about this. I will try with this and 'll tell you what happens ;)

  • Try Construct 3

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

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

    Thanks, really.

    I guess it's getting to help me, I'm doing some try - I misunderstood sth in your code though:

    self.thingResults[thing] = result;

    why is this for ?

    Other thing, in my mail, I talked you about the expression things too.

    Have to do the same kind of thing?

  • rexrainbow Pode

    Sorry for the alert guys, but if you have some help about how to succeed with asynchronous functions and construct2 conditions/expressions, please don't hesitate :)

    Sorry for multipost, but I'm just stuck and it's really frustrating me.

  • Ashley

    I'm looking for a solution, again and again...

    It seems your AJAX code uses the acts to fire the doRequest().

    But its conditions are linked to its actions (request - on complete/on error ...).

    For me, it has to check if a file exists, so when have I to fire the action which'll trigger the event...

  • Ashley

    Ouch, this part in your Ajax plugin seems really difficult to understand for me ... :(

    But even if I'll understand it, I'm always wondering how I will be able to return this boolean in a "Check thing" action...

    If you have time, I could send you this part of my code in order to make you understand exactly what I want to do (I'm adapting an external library so I depend of this library)

    Edit. Ash, I sent you a personal email since my plugin isn't released yet, but I'll give the solution asa I'll be able to correctly understand this.

  • Ashley or other may help me on this problem.

    I'm aware that it could be a general javascript question (please don't forget that I've been developing in JS for only one year), but I stay totally stuck on this.

    I'm developing a new plugin for C2 and need to code a condition like this :

    Cnds.prototype.isThingExist = function (thing)
    {
        this.content(thing, function(boolean) {
                       if (condition == true) 
                       return boolean;
                     });
    };

    So I'm aware that I can't return the boolean since it's from an asynchronous function.

    So my question is, how to return the boolean value to isThingExist(); ?

    Thanks for helping guys

  • Tenshi

    Thanks for reporting this. I'll fix it asap.

  • mmm, I'll try to see why but it'll be difficult to test since I don't have any android device at home.

  • Savvy001

    Uhm, there's no scrollbars on iphone (excepted the kind of scrollbar you find in my iscroll plugin).

    On iphone, the user has to scroll with two fingers (don't know for the nexus)

  • Savvy001

    With the new one, yes ;)

  • Changelog v1.12

    Add - A show/hide borders property.

  • Savvy001

    Look at this plugin I did, I don't remember but I think I added the same options.

    scirra.com/forum/plugin-multiline-box_topic48898.html

  • Savvy001

    Look your PM.

    Release 2.41

    Change - New icon.

    Add action "Reattribute IDs" - Let you reattribute all line's ID from 1 to y.

    Fix multiple bugs occured when there's none item into the combobox.

  • Jax

    It's just impossible to do with the actual text object since the text is directly drawn into the canvas. It's not simple html text.

    About your questions on textbox, look in the plugin part of the forum, I did a textbox addon which allows you to modify its style. (maybe C2 does it natively).

  • zhangcui

    pcrnst

    With this plugin, you can.