[Plugin] Matcher

Post your completed addons to share with the community

Post » Mon Oct 21, 2013 5:09 pm

Hello everyone,

This is my first post and my english is'nt very good so don't be too rude with me.

I try using he matcher for a bubble shooter like with the hex board and the matcher. But i can't figure out how to make the 2d paterns works...

My project works quite good with the "for each N symbols" but it's not exactly what i'm tryig to do since there could be other matchs than inline match...

I try following the bejeweled with the paterns and adapt it for my game, but it does not work.

So, i have some questions:

Does the matcher works with chesses?
What the matcher campares? Because if i send him different animations, he find nothing but if all my assests are in the the same sprite but on different frame it works.
Is there a special syntax for the paterns on multiple lines?

Thanks in advance!

And a special thank for Rexrainbow and his plugins, it's very usefull!
B
2
Posts: 2
Reputation: 154

Post » Tue Oct 22, 2013 12:50 pm

Problem solved!

It came from the way i was calling the matcher...
B
2
Posts: 2
Reputation: 154

Post » Sun Oct 27, 2013 10:06 am

Hello,

I was wondering if there is a way to find X+ connected tiles (not especially in a row, ref. flood fill algorithm: en.wikipedia.org/wiki/Flood_fill) ?

Thanks
B
5
S
1
G
1
Posts: 23
Reputation: 536

Post » Thu Oct 31, 2013 8:39 pm

Rexrainbow or anyone else
I want to set symbol to chess.animationName , but it dont work , what shall i put in the string to get the matcher plugin to work
istavang2013-10-31 20:40:15
B
12
S
5
G
4
Posts: 176
Reputation: 4,384

Post » Mon Feb 03, 2014 4:36 pm

RexRepo_v2 does not work on my Windows 8. What do I do?
B
9
S
2
Posts: 16
Reputation: 1,053

Post » Sat Mar 01, 2014 3:45 pm

Can someone provide a comprehensive list or more examples of matches. For instance on a 5x5 board what would be the pattern for:

V shape
A Shape
X shape
L Shape
Z Shape

I don't fully understand the example for the T shape provide in this thread

Thanks!
B
3
Posts: 5
Reputation: 187

Post » Sat Mar 01, 2014 4:18 pm

@scottldouglas

T shape is
Code: Select all
ooo
xox


and you might rotate this shape 90 degree
Code: Select all
xo
oo
xo


Or ini a 3x3 array
Code: Select all
ooo
xox
xox


Code: Select all
xxo
ooo
xxo


You might list all 4 possible directions
B
97
S
22
G
178
Posts: 4,118
Reputation: 104,043

Post » Tue Mar 04, 2014 2:14 pm

@rexrainbow
Thanks Rex - That make a ton more sense. Now I have another issue. The sprite does not flash when the matcher finds a match. I know the code is executed and debug is incremented. Scratching my head on this one. Any thoughts?? I'm sure it's something fairly stupid I am missing.
You do not have the required permissions to view the files attached to this post.
B
3
Posts: 5
Reputation: 187

Post » Tue Mar 04, 2014 3:22 pm

@scottldouglas

Try put condition "Has any 5 continuous symbols matched" under action "Get matched tiles", or use trigger condition "On N symbols".
B
97
S
22
G
178
Posts: 4,118
Reputation: 104,043

Post » Tue Mar 04, 2014 4:30 pm

Thanks @rexrainbow- Changing the condition to "On N Symbols" did the trick
B
3
Posts: 5
Reputation: 187

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 2 guests