rexrainbow's Recent Forum Activity

  • Ashley

    "Everywhere else applySolToContainer should be fine though"

    Is it including "create object"-like action? I had some actions which will create instances. (or I just follow these code in system:create object)

    And it seems engine will create other instances in the container by

    this.runtime.createInstance(obj, layer, x, y);

    , so that we don't need to create them manually?

  • Ashley

    Uh, sorry, I might typo'd your name many times. <img src="smileys/smiley9.gif" border="0" align="middle" />

    And thanks for the response. I will fix my plugins to support container.

    I found that engine used another code to maintain container in system:create object action.

    // Siblings aren't in instance lists yet, pick them manually
    var i, len, s;
    if (inst.is_contained)
    {
        for (i = 0, len = inst.siblings.length; i < len; i++)
        {
            s = inst.siblings[i];
            sol = s.type.getCurrentSol();
            sol.select_all = false;
            sol.instances.length = 1;
            sol.instances[0] = s;
        }
    }

    Is it the same as

    objtype.applySolToContainer();

    ?

  • xoros

    The original idea of instance group is -- each group is a set and it is also a list. So that the value (uid) in each group will only have one (never more then one). If user adds a value twice, it only adds once. (ignored the second adding).

    That why I need to consider what user want if user use "push back/front" to add value (uid) many times. In your proposal , you might want to have a uid list.

  • xoros

    Thanks, I will add these features latter.

    Edit:

    If push an instance which had been in the instance group, do you want to push it again?

  • This plugin could export in cocoonJS.

    Tested by gonzdevour , thanks.

  • Try Construct 3

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

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

    Because my dropbox space is almost full. <img src="smileys/smiley11.gif" border="0" align="middle" />

  • Joannesalfa

    Fix them, thanks.

    Actually, I register a new 1freehosting account to put them.

  • Update:

    Add "loading in a duration" feature.

  • Update:

    Add "action:Create tiles in a duration", "action:Retrieve tile array in a duration", "condition:On retrieve finished", "condition:On retrieve duration", "expression:RetrievingPercent".

    "action:Create tiles in a duration" or "action:Retrieve tile array in a duration" could split tmx tiles array loading in many ticks. So that the screen will not be hold when loading a big map

    When loading finished, it will trigger "condition:On retrieve finished", user could release tmx tile array under this condition.

    (Now "condition:On retrieve finished" will be triggered in all cases)

    Note: this feature could not decrease loading time, it might increase loading time.

    "condition:On retrieve duration" will be trigger each tick during load duration. User could use it and "expression:RetrievingPercent" to create a loading progress bar. (The range of "expression:RetrievingPercent" is from 0 to 1.) Then destroy this bar under "condition:On retrieve finished".

    This capx was fixed from your sample capx, now it has some response when tiles loading.

  • Thibaut

    Try FunctionExt, it works with official function plugin -- call official function defined at event sheet, do some actions, then get return value back.

  • xoros

    The server is back! You could download capx now.

  • xoros

    Thanks, I will take a look to yandex. I had dropbox, but it almost full. <img src="smileys/smiley11.gif" border="0" align="middle" />

rexrainbow's avatar

rexrainbow

Early Adopter

Member since 4 Apr, 2011

Twitter
rexrainbow has 84 followers

Connect with rexrainbow

Trophy Case

  • 13-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies