playMaker

Author Topic: Match 3 PlayMaker Kit (#1GAM5)  (Read 16360 times)

Flying Robot

  • Sr. Member
  • ****
  • Posts: 293
  • Od ton yebo redro
    • Flying Robot Studios
Match 3 PlayMaker Kit (#1GAM5)
« on: May 16, 2013, 02:51:06 AM »
For those who don't know about my previous #1GAMs / PlayMaker Kits
Showcase Thread Link

This month I'm resorting to the casual genre. It'd be a Match 3 Game. Very interesting logic. Time to have fun with ArrayMaker.





Screens and WebPlayer
« Last Edit: June 01, 2013, 09:25:26 AM by Flying Robot »

Flying Robot

  • Sr. Member
  • ****
  • Posts: 293
  • Od ton yebo redro
    • Flying Robot Studios
Re: Match 3 PlayMaker Kit (#1GAM5)
« Reply #1 on: May 16, 2013, 07:40:28 AM »
Swap Mechanism. Two options of the generation of the grid. One system generates the grid with Match2 checked, another one (better) ignores Match2 and checks for Match3 only.

WebPlayer

Flying Robot

  • Sr. Member
  • ****
  • Posts: 293
  • Od ton yebo redro
    • Flying Robot Studios
Re: Match 3 PlayMaker Kit (#1GAM5)
« Reply #2 on: May 22, 2013, 07:31:39 AM »
The Match 3 system is mostly done. Please check. It looks simple. But believe me, it's not.

Now it's time to add some graphics and a countdown timer.



WebPlayer

 Let me know what you think.

sebaslive

  • Hero Member
  • *****
  • Posts: 572
    • Frame Tale Studios
Re: Match 3 PlayMaker Kit (#1GAM5)
« Reply #3 on: May 22, 2013, 04:04:30 PM »
Great work! I think this is quite the achievement to do and I bet it was pretty difficult to accomplish.
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

Flying Robot

  • Sr. Member
  • ****
  • Posts: 293
  • Od ton yebo redro
    • Flying Robot Studios
Re: Match 3 PlayMaker Kit (#1GAM5)
« Reply #4 on: May 22, 2013, 11:03:30 PM »
It was really a programming puzzle! At one point I wondered if it's at all possible with PlayMaker.

But then, PlayMaker surprised me. :)

Sjones

  • Full Member
  • ***
  • Posts: 203
Re: Match 3 PlayMaker Kit (#1GAM5)
« Reply #5 on: May 28, 2013, 06:52:29 AM »
only thing I would suggest is doing the drop of the cube once all matches have been completed - if you move a block to create a pair of matches (2x3) it does one, then drops the above and then does the second.
If the first set moves your second set out of position, that second set of 3 is not counted and just drops.

Flying Robot

  • Sr. Member
  • ****
  • Posts: 293
  • Od ton yebo redro
    • Flying Robot Studios
Re: Match 3 PlayMaker Kit (#1GAM5)
« Reply #6 on: May 28, 2013, 07:55:27 AM »
only thing I would suggest is doing the drop of the cube once all matches have been completed - if you move a block to create a pair of matches (2x3) it does one, then drops the above and then does the second.
If the first set moves your second set out of position, that second set of 3 is not counted and just drops.

Nice find! Will update.

Flying Robot

  • Sr. Member
  • ****
  • Posts: 293
  • Od ton yebo redro
    • Flying Robot Studios
Re: Match 3 PlayMaker Kit (#1GAM5)
« Reply #7 on: May 28, 2013, 12:11:17 PM »
Can you check the WebPlayer again?

WebPlayer

The thing works like this...
1. Based upon the player's move, match3 is run on the picked position and then the swapped position. Here, match3 is run twice. So, if the pieces are moved in the 1st run, they will be detected in the 2nd run. They won't drop without checking.
2. While running match3 the cascading takes place in the 3 items if the match3 is detected.
3. While cascading the repositioned items are tagged.
4. At last, counters loop through the grid and check for the tagged items for recursive match3.
5. Stops where there are no more tagged items.

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Match 3 PlayMaker Kit (#1GAM5)
« Reply #8 on: May 30, 2013, 11:52:19 PM »
Haven't tested very in-depth but it seems to work fine, just too fast for me to really see whats happening. I'd slow it down so the player can see the matches pop away and the above units drop down.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Flying Robot

  • Sr. Member
  • ****
  • Posts: 293
  • Od ton yebo redro
    • Flying Robot Studios
Re: Match 3 PlayMaker Kit (#1GAM5)
« Reply #9 on: June 01, 2013, 09:19:38 AM »




@Lane : Thanks for Playing and for your suggestions. I've slowed the dropping/cascading a little bit so that it registers.

Also, The bugs gave me such a hard time in this project decided to dedicate this project after them. Cute bugs though.

Please play and let me know if they are still in it.  ;D

Screens and WebPlayer
« Last Edit: June 01, 2013, 09:26:53 AM by Flying Robot »

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Match 3 PlayMaker Kit (#1GAM5)
« Reply #10 on: June 02, 2013, 05:17:27 PM »
Hmm did you test the webplayer? It doesnt work for me, says there was an error downloading.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Flying Robot

  • Sr. Member
  • ****
  • Posts: 293
  • Od ton yebo redro
    • Flying Robot Studios
Re: Match 3 PlayMaker Kit (#1GAM5)
« Reply #11 on: June 02, 2013, 10:51:30 PM »
Just checked it again. Working fine.

I think the # in the dropbox link may be causing some problem in some browsers, will remove that.

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Match 3 PlayMaker Kit (#1GAM5)
« Reply #12 on: June 03, 2013, 07:18:50 AM »
Works now.

There's some bug where its popping a block that isn't related to the sequence. Try making some debug tests or slow things down so you can see exactly what pops and watch it. I noticed it pop one to the side (only one) instead of doing the vertical sequence lineup and it left the last vertical one alone. Seemed to be something weird happening every few pops.

Also how does it figure the long non-3 rows out? So if you have 4 blues with a red in the middle and you swap in a blue for a big row of 5 blues then how does it figure out which ones are the three series that its going to pop?

Looking much better now that there is some speed control and graphics.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Flying Robot

  • Sr. Member
  • ****
  • Posts: 293
  • Od ton yebo redro
    • Flying Robot Studios
Re: Match 3 PlayMaker Kit (#1GAM5)
« Reply #13 on: June 03, 2013, 10:22:31 AM »
@Lane

Thanks for lending a hand in crushing the bugs. The game is full of it :D

Here's a special build with slo mo dropping and a vigourous shake before popping of the bugs. Mainly to catch attention where next popping is going to occur.

Please play and let me know what you think.

Link to WebPlayer


Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Match 3 PlayMaker Kit (#1GAM5)
« Reply #14 on: June 03, 2013, 12:43:44 PM »
Man, great work. Trying in slow mo is a lot easier to follow. I didn't see any bugs, tried a bunch of long combos and stuff. I probably saw a chain combo pop somewhere else on the board before and I only caught the tail end of it. Either that or the speed somehow causes a bug that gets the wrong .. bug. Either way i can dupe it in slowmo.

Combo's would be a good idea to implement. If you push in and make a 5 string of the same kind it just seems like they should all pop rather than the 3 neighbors which can be hard to guarantee. Other than that it seems pretty impressive.

*edit

okay i just played the faster version, its definitely doing something weird. It looks like it skips the middle block sometimes.

Push one into the center on a vertical run. It will always leave one behind.
« Last Edit: June 03, 2013, 12:48:37 PM by Lane »
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D