rexrainbow's Forum Posts

  • Equinox80

    Hum... do you mean that you might want to get tile image at runtime without stored in sprite in C2?

    You might use "Action: Retrieve tile array" + load image from url

    Action: Retrieve tile array:

    "Action: Retrieve tile array". This action will not create any instance, it only trigger "Condition:On each tile cell" for each available cell. You can get properties stored in layer/tileset/tile to create instance manually.

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

    See test_TMXImporter_adv.capx in first post.

  • Uh, I forget to say: user should update instance group.

  • Joannesalfa

    Uh, sorry, I forget to notify that user need to update grid move behavior.

  • Update:

    Add filter document.

    Advance: Filter

    The filter feature could re-assign the target instances got by plugin in "action:Get moveable area".

    Get move-able tile without any chess standing on it

    For example, if designer want to get the move-able tile without any chess standing on it. Add "condition:On filter", and set the filter name into "action:Get moveable area". Use "action:Append filter result" to re-assign the captured UID of instance under "condition:On filter".

    In this capx, call "action:Append filter result" only if (expression:TileX, expression:TileY, 1) is empty. So that the tiles with chess standing on it will not be selected.

    BTW, the filter could not only select tile, but also could be used to select chess to get the chess target. For example, get the attacked targets.

  • Update:

    [Plugin] Board

    Add "condition:On chess kicked". It will be trigger when the chess had been kicked from board when executing "action:Add tile", "action:Add chess", "action:Move chess", since a (x,y,z) only allows one chess.

    For example, running "action:Create chess" at (1,1,1) twice, the first chess will be kicked from board.

    [Behavior] Grid move

    If set "Property:Force move" to "Yes", grid move behavior will not check "solid" and logic overlapping. And the z index of chess will be changed when overlapping to other chess (to avoid overlapping), this feature could make the chess "cross" other chess with the same z index.

    For example, there is a chess at (1,1,1). Now another chess want move from (0,0,1) to (1,2,1).

    • Finding moving path by slg_movement plugin
    • then moving chess by grid move behavior with "Force move" mode.

    The possible moving index might be

    (0,0,1) -> (1,0,1) -> (1,1,"#30") -> (1,2,1)

    Grid move behavior will change z index when logical overlapping to other chess at (1,1,1). So no chess will be kicked after this moving.

  • Try Construct 3

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

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

    Now console.log message will only be shown when preview mode.

  • Update:

    Change some code. No ACE changing.

  • Update:

    Fix DragDrop2 behavior.

    [Behavior] DragDrop2. The different between my dragdrop2 and official dragdrop is - my dragdrop2 provide dragging at horizontal or vertical axis. It need to add touch wrap in project.

    • "Condition:On dragging" had been deprecated.
  • Sheepy

    Well, now these notification will move to console, so... good luck. <img src="smileys/smiley9.gif" border="0" align="middle" />

  • Animmaniac

    It might use "else" to replace "condition: Var = 1".

  • Julmust

    Uh, could you provide me a test capx for more detail? Thanks.

  • Equinox80

    Uh, I'm not sure. I always use the same tmx file at first post.

  • Thanks, I will take a look on it. I have saw object layer in text editor.

  • Sheepy

    I update plugin again. Now these assertions will be moved into "console.log". These assertions are just a notify that designer might read/write the invalid entry.

  • Equinox80

    For BrowserQuest, it need a server to handle all of the computing, client only do displaying at view-able area.