[Plugin]Board, Layout2Board [Behavior] Grid Move

Post your completed addons to share with the community

Post » Tue Mar 12, 2013 2:34 pm

@Skillasaurus

Grid move behavior could not support CubeTx yet, sorry. (It is better to make another Cube move for cubeTx, but... I'm not sure when I have time.)
Most of my board applications target on 2D board (squareTx, or hexTx).rexrainbow2013-03-12 14:38:01
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Thu Mar 21, 2013 1:03 pm

@rexrainbow

Thank you for all these awsome plugins!

I have two questions because I seem not to understand some basics:
When I use (GridMove): Can move to the relative X offset is e.g. 1 for right and -1 for left, isnt it?
Because I want to check if a chess could move to left or right so I use 1 | -1 as an expression but it seems not to work.
My second question is how to check whether the chess above or under the picked chess has a given property/is of a given kind.

Below is a screenshot of a function I use.

I would like to replace the GridMove can move to Left condition with something expressing left or right at once.

And I would also like to check if the chess\instance under the picked one is type A or B / has local variable X or whatever. So the action is only performed if it is e.g. above a cycle chess and not a square chess.
I really hope I could paraphrase what I thought :D
B
6
S
1
Posts: 16
Reputation: 464

Post » Thu Mar 21, 2013 3:44 pm

@Raziel

About Q1, you might use
[code](GridMove): Can move to the relative X offset 1
- or -
(GridMove): Can move to the relative X offset -1[/code]
-> two condition in an OR block

About Q2, sorry, I'm not sure what you mean, the picture you post is too small.
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Thu Mar 21, 2013 4:37 pm

@rexrainbow

Thank you for your reply.

Sorry for the small pic.
I used your example of a falling chess. It works great.

So I tried to perform the following:
A chess can be a block and a cycle. Both are falling. But if a block or a cycle is on a cycle and can go left/right and left-down/right-down it rolls off.
Just like if something is on top of a stack it falls to the right or left if it is not stable.
B
6
S
1
Posts: 16
Reputation: 464

Post » Thu Mar 21, 2013 11:49 pm

[QUOTE=rexrainbow] @Hematite12

Uh, you could download plugins by double click these items, the tool will download plugins , and unzip + copy to your c2 folder.

Do you see this screen?



BTW, the first link is the basic steps, it should work.
You might ask your problem on this thread.[/QUOTE]

@rexrainbow...
How do I get this tool...I love your plugins and behaviors but tired for dependence...
I hope there is tool help me to update your plugins and behaviors automatically...:)
B
11
S
2
Posts: 73
Reputation: 1,438

Post » Fri Mar 22, 2013 12:09 am

@hoanganh17

Link is in his signature:
http://goo.gl/DOMiv
B
6
S
1
Posts: 16
Reputation: 464

Post » Fri Mar 22, 2013 12:18 am

Thank...i got all of rex products
B
11
S
2
Posts: 73
Reputation: 1,438

Post » Fri Mar 22, 2013 12:36 am

@Raziel

Sorry, I could not understand your problem. Let me see -
- You could check if the chess could fall down.
- You need to check if the chess could left/right and left-down/right-down

I thought the architectures of these two purpose are similar, the different is the checking condition.
Could you paste the checking condition?
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Fri Mar 22, 2013 2:16 am

I also just noticed Pin doesn't work with GridMove. The LX and LY do not update. Maybe you could add this as a feature or make it work in sync with Pin? Maybe I'm missing something though I'm sure there is a way to do it manualy I just don't know how to update or set a LX or LY without Moving it
B
6
S
1
Posts: 31
Reputation: 1,237

Post » Fri Mar 22, 2013 3:08 am

@Skillasaurus

Try to get LX, LY from physical position (x,y) by board expression: PXY2LX , PXY2LY.
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: Yahoo [Bot], zenox98 and 2 guests