rexrainbow's Recent Forum Activity

  • Update:

    • Now the timer at Timeline plugin could use official function plugin to be it's callback.

    Sample Capx

    Note: remember DO NOT use "action:Setup timer" at "Z: Deprecated" group (shown at action select list in C2 editor) if user want to use official function plugin.

    Actions at ""Z: Deprecated" group are used for rex_function.

    • Add some actions at "Timer: Triggered timer", which could assign new parameters of callback, or start/delete current triggered time.
  • Update:

    Fix typo at combo select list at properties list.

    This Capx was to generate 10 numbers from 2 to 40 without repeating.

  • Tatiana Conde

    This Capx was to generate 10 numbers from 2 to 40 without repeating. (You need to use int() to transfer pattern string to number if necessary)

    You need to download patterngen plugin again.

  • Try Construct 3

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

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

    You need download this plugin. The download link is at the top of this post.

  • kenli

    Dialog plugin will create a dialog by html tag, it will block the game as I uesd before.

  • Try this plugin, you could even assign the weight of each number.

  • Ashley

    I try to build some plugins which could call official function object. So I get the parameter list then pass this list into official function object.

    I had used AddVariadicParams in my timeline plugin, it works fine. But I could not add AddVariadicParams in a behavior type plugin.

  • Hi, Ashely

    I add "AddVariadicParams" in behavior in edittime.js, but C2 editor does not know it. Would you please check if "AddVariadicParams" could be used in behavior?

    I like the design of "AddVariadicParams"! It makes the interface more clearly in some cases.

    Thanks for your help.

  • Update:

    Add "expression:ToString" which could transfer hash table into JSON string.

    It could assign mulit-parameters or no parameter.

    • If there has no parameter, transfer current hash table saved in this hash table plugin.
    • If there has parameters, like
    Hash.ToString("a", 10, "b", 20)

    It will create a new hash table = {"a":10, "b":20}, then transfer it into JSON string.

    User could use this method to create JSON string of hash table in an single expression. It might be useful to pass parameters with string index into official function plugin's "expression:Call".

    Capx

    <img src="http://i1081.photobucket.com/albums/j352/rexrainbow1/FnHash.png" border="0">

  • boolean

    You still could download my function plugin, but I recommend users migrate to official function plugin.

    And my other plugins which related my function plugin (for example, timeline series) will migrate to connect to official function plugin, too.

  • I agree that the official function plugin should keep using "number" index, since it makes the interface simple. "expression:Call" could not use "string" parameter as well.

    To support "string" index, a solution is using my hash table plugin or official dictionary to transfer parameters into JSON string and set this string in parameter of official function. In "On function", unpack the JSON string by hash table plugin or official dictionary. to get parameter by string key.

    (string key, value) -> hash table -> JSON string -> function parameter 
    -> "call function -> "on function" 
    -> function parameter (JSON string) -> hash table -> (string key, value)

    <img src="http://i1081.photobucket.com/albums/j352/rexrainbow1/FnHashtable.png" border="0">

    Edit:

    I update my hash table plugin to support create JSON string in an single expression.

    <img src="http://i1081.photobucket.com/albums/j352/rexrainbow1/FnHash.png" border="0">

  • Ashley

    Try these steps:

    1. add an action at event sheet then save it

    2. set this action to "af_deprecated" (in edittime)

    3. reopen capx, try to click the action which have "af_deprecated" and see the gui interface.

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