rexrainbow's Forum Posts

  • Hi,

    Capx:

    https://onedrive.live.com/redir?resid=7 ... ile%2ccapx

    I found that condition: OnStartOfLayout will be triggered while executing officail load action.

    The official loading action is used to recover whole state of instance, so "condition: OnStartOfLayout" should not be executed, imo.

    Is it a bug?

  • amkp

    Never mind. I had released another parse plugin name "tag", and I found there are "tag" everywhere.

  • Update:

    rex_board plugin: add "Condition:Pick an empty cell on tiles", "Condition:Has any empty cell on tiles". These could be used to pick an empty cell on a neighbor. ( Sample capx )

  • Update:

    Now rex_text_typing could type text on official text box object.

  • xanxion

    Call "Action:Request" to trigger current transition logic "Condition:On transfer logic". In this condition, call "Action:Set next state" to change to next state.

    [quote:2k6vfxnz]Action:Request -> Condition:On transfer logic

    Condition:On transfer logic: Action:Set next state

    Or call "Action:Go to state" to change state directly without trigger the transition logic.

  • amkp

    I am sure it is a better solution. Thanks for this suggestion.

    I might add "tag"(I would like to call it "handler name") back if you like "tag" after all.

  • amkp

    Here is a solution to simulate "tag" mechanism:

    1. put a private string variable named "tag"

    2. create an item table instance before saving request ( or other kinds of request )

    3. set the private variable "tag"

    4. do saving request ( or other kinds of request ) of item table

    5. in OnSaveComplete condition of item table, add "compare instance variable condition" to compare "tag" variable.

    6. destroy item table instance while request is finished if necessary.

    User could put other private variables to carry data for each request. Each request is owned by a dedicate instance.

    The motivation of this solution is - it might need carry some variables/parameter for each handler of request.

    How about this solution?

  • jabedbd

    Sorry, I had not used this plugin yet.

  • Update

    Add pattern count

    Sample capx

    Call "Action:Add pattern" to increase or decrease pattern count, it also affects remain patterns. i.e. unpicked patterns.

    Retrieve patterns

    Use "Condition:For each pattern" to retrieve each pattern in a for each loop. It has 4 sorting methods, sorting by pattern name in ascending/descending order, or sorting by total pattern count in ascending/descending order.Get pattern name by "Expression:CurPatternName", total pattern count by "Expression:CurPatternTotalCount", and remain pattern count by "Expression:CurPatternRemainCount". The loop index in this for each loop is "Expression:LoopIndex".

  • Try Construct 3

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

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

    Yes, I had fixed it. Replace "v" to "JSON.parse(v)".

  • stefan52a

    Thanks, I had fixed it.

    Since "SetValueOnDisconnect" is used to assign a number/string value. It does not need to parse JSON.

  • bilgekaan

    Sorry, it said that I had no permission to assess/download this plugin file.

  • Since I should keep the interface compatible, I only could add this parameter "Start volume" at the last one. Sorry.

    I had changed the parameter name "Stop volume" to "End volume" thanks for suggestion. Please download it again.

  • nothyn

    Put this behavior into export\html5\behaviors folder, not export\html5\plugin folder.

    Or install it by this tool.

  • We are under attacked!