[Plugin]Board, Layout2Board [Behavior] Grid Move

Post your completed addons to share with the community

Post » Sun May 31, 2015 3:29 pm

Update:

Add rex_board_hexshapemap plugin to place hex grid with hexagon, triangle, parallelogram shapes.

Image
Image
Image
Image
Image
Image
Image
Image
Image
B
97
S
22
G
178
Posts: 4,120
Reputation: 104,047

Post » Tue Jul 07, 2015 11:01 pm

Hi @Rexrainbow

I'm trying to figure out which of your board plugins would work best for my situation.

Imagine on a grid you can start dragging from a location, and it will highlight that spot. Then only when you drag up/down/left/right to a neighbouring grid space, that one will light up as well (unless its marked as unpassable).

So you end up creating a path, but its not doing any "pathfinding". After you release the mouse button, an object would travel that path starting from where you started dragging.

would a particular board plugin you have created simplify this for me?

thanks
B
50
S
21
G
8
Posts: 844
Reputation: 10,299

Post » Wed Jul 08, 2015 2:27 am

@justifun

Unfortunately, there is no dedicated plugins for this function.
It could be implemented by rex_board, I will make one sample later.

Edit: Here is a sample capx, which only has 6 events.
Please update rex_grid_move behavior then run it.
Last edited by rexrainbow on Wed Jul 08, 2015 5:56 am, edited 3 times in total.
B
97
S
22
G
178
Posts: 4,120
Reputation: 104,047

Post » Wed Jul 08, 2015 3:14 am

Update

rex_grid_move behavior: Fix bug while move to current logic position.
B
97
S
22
G
178
Posts: 4,120
Reputation: 104,047

Post » Wed Jul 08, 2015 11:40 am

Thx !! I was looking for this too !!
B
6
Posts: 25
Reputation: 300

Post » Mon Jul 13, 2015 11:18 am

@rexrainbow

The "rex_board_hexshapemap" is awesome!
Is it possible to use it with the normalt square tx board?
I would like to make board shapes with simple squares.
B
34
S
8
G
7
Posts: 498
Reputation: 7,753

Post » Thu Jul 16, 2015 7:36 am

@xanxion

What kind of shape?
B
97
S
22
G
178
Posts: 4,120
Reputation: 104,047

Post » Thu Jul 16, 2015 10:30 am

rexrainbow wrote:@xanxion

What kind of shape?


Image
Like that for example :D
B
34
S
8
G
7
Posts: 498
Reputation: 7,753

Post » Thu Jul 16, 2015 10:37 am

@xanxion

I would use excel (csv) to describe these square grids.

Because excel is a square editor, it is better to have plugin for hexagon grid.
Now, tiled also supports hexagon grid.
plugin-rex-tmx-importer-v2_p949994?#p949994
B
97
S
22
G
178
Posts: 4,120
Reputation: 104,047

Post » Thu Jul 16, 2015 12:39 pm

Cool Rex! thanks a lot, i will definatly try that!
B
34
S
8
G
7
Posts: 498
Reputation: 7,753

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 2 guests