rexrainbow's Forum Posts

  • harrisyu

    Sorry, I have no idea how to put other object before video object.

  • Update:

    [plugin] TouchWrap. The different between touchwrap and official touch plugin are

    -Touchwrap will keep tracing position of cursor when mouse moving even if mouse click is not down.

    • Touchwrap will keep the lastest touch or cursor position when touch end or mouse click up.
  • xoros

    Thanks, I had fixed [behavior] nickname, please download it again.

  • Try Construct 3

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

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

    Here it is, nickname plugin and nickname behavior.

  • This plugin could create instance by defined nickname string. It is useful when creating a vary type of instance.

    Nickname plugin

    Nickname behavior

    plugins and sample capx files are included in these documents.

  • xoros

    3) Pick objetc by tag (if it makes sence)

    There are many ways to pick instances, for example: pick by UID, pick by private instance, pick by condition...

    What "condition" would you like for picking instances?

    BTW, I had implemented "Create object by tag" called "Nickname plugin". I might release it recently.

  • SigmundO

    I had the same problem.

    Here is a simple capx which is a cursor sprite.

    And here is a exported demo, which works well at pc and android. But had a problem at new iPad -- the sprite could not move at touch point.

  • xoros

    I'll try to make a plugin from your requirement about creating object by tag if you want.

    The first step, you need to write down your requirement.

  • A brief introduction of matcher plugin

  • Document

    ====

    This plugin try to find matched pattern on board object.

    This is a sample of using this plugin --

    Match 3 in hex board.

    Capx

    It needs 3 parts to get matched pattern.

    • action:Get matching tiles
    • condition:On get symbol , expression:TileUID , action:Set symbol
    • condition:On matching pattern

    Each tiles at board could have one symbol in one character.

    When call "action:Get matching tiles"(action at event 6), plugin will

    1. get all symbols on the board by "condition:On get symbol"(event 7) and "action:Set symbol". Each tile will call this event one time.

    2. then it will check each target pattern by "condition:On matching pattern"(event 8). Put matched tiles into instance group. So that user could get matched tile instances of one pattern under these conditions. Each matched tiles group will call this event one time.

    Remember setup board and instance group for matcher plugin by "action:Setup" before using it.

    This plugin could find pattern at square grid board (board plugin + SquareTx plugin) or hex grid board (board plugin + HexTx plugin).

    Advance:

    2d matched pattern

    This plugin not only could find 1d pattern, it could also find 2d pattern.

    Capx

    The 2d pattern is shown by csv format. For example,

    ",1
    1,1
    ,1"[/code:3n7ffequ]
    means 
    [code:3n7ffequ]_o
    oo
    _o[/code:3n7ffequ] -- it is a "T" shape.rexrainbow2013-07-30 15:57:08
  • Update:

    Add pin mode at properties table. User could pin sprite instances automatically.

    xoros

    Here it is.

  • xoros

    Yes, before using "create object by tag", user should register tag with object.

  • xoros

    It could not "create instance by name", because that C2 will change the sprite name after export.

    "it could be a plug-in "Object", which can hold any object type (Sprite,Text, Button etc) and has it's own object creation method with "object name"."

    It might be possible, to use tag (string) to replace the object type.

  • xoros

    Yes, the matcher plugin could be used for square grid or hex grid, just replace HexTx to SquareTx.