How do I set a special movement on board game ?

Get help using Construct 2

Post » Wed Jan 25, 2017 9:50 pm

Hello,

I am kinda stuck (again .. ><), I'm doing a board game and I'm stuck about the pieces' deplacements.

Take a look at this. ( I think you gonna need to open it in full tab)
Image

On the left you can see the board, ready and prepared for a game. And on the right how it works, so you need to tap the piece you want to move and click on the case it needs to go (both are already scripted and works).
Now the problem become from the rules, the piece can move from 1 to 1 case and only in 4 directions.
So I have to create an highlight on neighboor cases so I can tap on it to move the piece. The problem is, I don't know how to create this part, I have already thinking about creating a collision box with a collision box that goes on the other cases, but the problem is I have exceptions (like the cases with no symbols, a piece can't go back in it after exiting) so generate all of them might be rought and long. Same for creating the special collider for the box, kinda ugly x). Like all the solution itself.

So if anyone of you knows a proper solution, or if there isn't (which I clearly doubt since i'm far to be a genius x) ) just tell me.

Regards.
B
5
Posts: 30
Reputation: 291


Post » Wed Feb 01, 2017 11:20 am

Hi, I've tried but this is not what i am looking for.

I want to highlight the selectable cases which are directly neighboor from the starting case (where there is my piece). And after that I know how to do the deplacement, the thing i don't know is how to highlight the neighboor cases :c
B
5
Posts: 30
Reputation: 291

Post » Wed Feb 01, 2017 11:20 am

Hi, I've tried but this is not what i am looking for.

I want to highlight the selectable cases which are directly neighboor from the starting case (where there is my piece). And after that I know how to do the deplacement, the thing i don't know is how to highlight the neighboor cases :c
B
5
Posts: 30
Reputation: 291

Post » Wed Feb 01, 2017 1:10 pm

B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Wed Feb 01, 2017 1:11 pm

Looks like it is what I want, gonna test that and come back to say it's ok or not x)
B
5
Posts: 30
Reputation: 291


Return to How do I....?

Who is online

Users browsing this forum: tarek2 and 63 guests