Bejeweled (Plugins demo)

Show us your completed creations made in Construct 2

Post » Thu Jan 29, 2015 7:24 pm

@rexrainbow

Your plugins are always awesome.

I'm slowly learning about FSM and the bejeweled example is great. However I am stuck trying to figure out how to change the input from swapping to clearing the matches of a tile when the tile is clicked. I understand how to not clear matches automatically when they occur and how to change the match min and max limits. Can you give me some additional pointers?

Or if anyone else can point me in the right direction, I'd appreciate it.
B
6
S
1
G
1
Posts: 13
Reputation: 397

Post » Fri Jan 30, 2015 5:10 pm

Thanks Rex. I had my own way of doing this game but yours is very interesting.
B
9
S
3
G
1
Posts: 128
Reputation: 1,116

Post » Mon Mar 02, 2015 5:52 am

This is great! One thing I have noticed though, some times I make a match three and it doesn't register as a match. The tiles act as if the are different types. However, if I make another move and then try the move that did not register as a match it will work. I can't reliably recreate the bug I can't quite figure out what causes it. Any ideas of where I should look?

http://imgur.com/TEK2QQF
I got a screenshot showing the issue. If I move the pink piece up then my move fails. However, moving a pink piece down creates a match with the bottom two pieces (the numbers are just the animation frame I added for debugging purposes) Image
B
4
Posts: 5
Reputation: 210

Post » Mon Mar 02, 2015 6:26 am

desdinova wrote:This is great! One thing I have noticed though, some times I make a match three and it doesn't register as a match. The tiles act as if the are different types. However, if I make another move and then try the move that did not register as a match it will work. I can't reliably recreate the bug I can't quite figure out what causes it. Any ideas of where I should look?

http://imgur.com/TEK2QQF
I got a screenshot showing the issue. If I move the pink piece up then my move fails. However, moving a pink piece down creates a match with the bottom two pieces (the numbers are just the animation frame I added for debugging purposes) Image

its not click to move always its supposed to drag and match 3 or more of same color, what you shown in pictures wont match even if u do 2 moves u dident understood the concept of bejweled maybe you should try play the original game
ImageImageImage
B
48
S
12
G
45
Posts: 1,109
Reputation: 29,125

Post » Mon Mar 02, 2015 6:57 am

Thank you for the reply. Maybe I didn't explain properly; I do understand the rules of bejewelled and as my screenshot shows I move drag my piece to the piece above it which makes 3 of a kind but the game doesn't register. If you read my question again you will notice that I said that if I make another move (that doesn't affect this part of the board) and comeback to the piece that would not register, it will now register. This is a bug that seems quite rare and most of my moves act normally based on the rules of bejewelled

HERE is a gif showing what should be a valid move not working: http://i.imgur.com/ie3hCUF.gif

and HERE is a gif showing the exact same move working after manipulating another part of the board http://i.imgur.com/F9k0UN8.gif
B
4
Posts: 5
Reputation: 210

Post » Mon Mar 02, 2015 7:44 am

desdinova wrote:Thank you for the reply. Maybe I didn't explain properly; I do understand the rules of bejewelled and as my screenshot shows I move drag my piece to the piece above it which makes 3 of a kind but the game doesn't register. If you read my question again you will notice that I said that if I make another move (that doesn't affect this part of the board) and comeback to the piece that would not register, it will now register. This is a bug that seems quite rare and most of my moves act normally based on the rules of bejewelled

HERE is a gif showing what should be a valid move not working: http://i.imgur.com/ie3hCUF.gif

and HERE is a gif showing the exact same move working after manipulating another part of the board http://i.imgur.com/F9k0UN8.gif


Image

Just to be clear - This is an unmodified version of the current demo capx apart from the sprite images. It has happened several times.
Image
B
14
S
3
G
1
Posts: 61
Reputation: 993

Post » Mon Mar 02, 2015 8:16 am

@desdinova

Thanks, I would try to reproduce this bug later.
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Mon Mar 02, 2015 5:34 pm

@desdinova
@blackcrypt

Found bug in event sheet:FSM-match3-MATCH3, line 2. Add condition: match3.matchlines > 0.
For i = 1 to 0 means that i = 1, 0 , but the logic should start from 1 to match3.matchlines and match3.matchlines is start from 1.

I had updated capx and export html5.
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

Post » Tue Mar 03, 2015 12:09 am

@rexrainbow
Thank you for looking at my issue. I really appreciate that you are still helping people even in old topics.
B
4
Posts: 5
Reputation: 210

Post » Tue Mar 03, 2015 4:01 am

Update:

Now the demo would show a possible solution by flashing two chess, i.e. swap these two chess would lead to match3. It is possible to find all possible solutions.

User needs to update rex_matcher plugin before open the sample capx.
B
97
S
22
G
178
Posts: 4,121
Reputation: 104,049

PreviousNext

Return to Completed Creations

Who is online

Users browsing this forum: No registered users and 5 guests