rexrainbow's Forum Posts

  • Update

    Add condition:For each 1d pattern, For each N symbols,For each 2D pattern, For each 2D template pattern.

    Capx

    <img src="http://i1081.photobucket.com/albums/j352/rexrainbow1/screen1-31_zps6064fc54.png" border="0">

    User might use these condition directly to get matched symbols ( without call action:get matched tiles )

    And action:Force update symbol array. Now the plugin will only update symbol array (by trigger condition:on get symbol) one time at the same tick.

  • Jerbens

    Humm.. there might be 2 reasons.

    1. the server is not available every time

    2. the server had been blocked by firewall

    I'm thinking about changing the host... when I have time.

  • Spider_hip

    It looks like that you want to move twice since "Up arrow is down, right arrow pressed" will trigger both of

    "+ right arrow pressed" and ""+Up arrow is down, right arrow pressed". So that it move "Up-right" and "Right" at the same tick.

    To pick chess at logic (0,0) , you might use "condition: pick chess at logic XYZ". Then do something after picking.

  • An example of using this plugin in Bejeweled.

    <img src="http://i1081.photobucket.com/albums/j352/rexrainbow1/screen-1_zpsd78c0610.png" border="0">

  • A match3 demo -- Bejeweled

  • Update

    Add condition:Any 1d pattern, Any N symbols, Any 2D pattern, Any 2D template pattern , to test if there is any pattern matched.

    This condition will return true when finding one matched pattern.

  • Update

    [Plugin] Board

    • Fix bug on "action:Swap"

    [Behavior] Grid move

    • Add "action:Swap", to swap with other chess which has grid move behavior.
  • lemo

    The plan of this plugin does not include server programming.

    I'm thinking that is it possible to create server logic by C2.

    -> Could C2 create a server at linux?

  • Update

    [Plugin] Board

    • add "condition:Pick chess at Logic X,Y,Z"
    • "condition:Pick chess above tile UID", now the parameter of tile's UID could be number, or a JSON string for a list of tiles. It is useful to get chess from instance group.

    For example

    <img src="http://i1081.photobucket.com/albums/j352/rexrainbow1/screen-1_zps55208f2e.png" border="0" />

    The tiles with matched symbol will be saved into instance group "match 3".

    Use expression: GroupToString("match 3") to get tile's UID in JSON string. Then put this string in parameter of tile's UID.

    + Pick chess above tile UID: InstGroup.GroupToString("match 3")
  • Update:

    • Add an "if" condition:No matched pattern.
    • Add condition:On matched 2D template pattern.

    For example, there are three kinds of symbol on the board named "1", "2", "3". User want to pick all kinds of symbol with pattern

    ",x,
    *****
    ,x,"

    It needs assign

    ",1,
    1,1,1
    ,1,"
    ",2,
    2,2,2
    ,2,"
    ",3,
    3,3,3
    ,3,"

    In template pattern, user only need assign

    ",x,
    *****
    ,x,"

    x could be any kind of character.

  • DaveSX

    It seems you saved instance bank to JSON string (at default.json) at previous mode. Then use this saved data at exported mode.

    The C2 engine will rename all types, so that instance bank could not get the saved data by type name.

    You could create the default.json after exported to use the same type name.

  • emutron

    Put it in D:\Construct 2\exporters\html5\behaviors folder.

  • Try Construct 3

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

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

    I'm not sure. Test ok when I save instance bank into WebStorage, then load it immediately.

    You might provide a very simple test capx.

  • Hi all,

    I would like to add more SOL methods to help designer pick chess more easily, any suggestion?