Match-3 Starter Kit – Just released!

Notice to the Customers

This thread is no longer in use because of the impossibility to keep the trolls under control.
The sole way to get in touch with us is by using our support website (http://dftgames.uservoice.com) or by dropping us an email at the address written at the end of the documentation.

Any video about it? Also does it support ‘swipe’ on iPhone, iPad?

Are the scripts in c#?

@Unity3dx: I didn’t think to produce a video… I’ll see what I can do and will post here. About mobile gestures, as I wrote in the OP, they are about to be released as update: I’m testing on Android but it’ll work on iPhone just the same way :wink:

@M_Stolley: yep, it’s all C#.

Cheers,
Pino

@Unity3dx: ok, just added a small video to the opening post, I hope it shows enough :wink:

How much?

@HTH_mrsnake: is on the Asset Store for $45 :wink:

Thanks for the video. VERY helpful to figure out what it is doing. I bought sometime ago another script on the Asset Store but it is pure crap, unusable on mobile platform or you need to rewrite it!
Your script seems to be very well done and I will purchase it very soon.

@unity3dx: thank you very much for your appreciation :wink: This kit is about to be updated with a full set of mobile controls to allow a seamless integration on all platforms. The mobile part is now in QA so it’ll not take long to have it out. If this QA session ends quickly enough I’ll put in also another planned update, making the size of the board completely customizable.

I do understand the problem posed by not knowing what’s in the box, that’s why to show the community how we work we are about to publish a serie of Commerial Grade Freebies (see related thread).

Release 1.1 just been submitted to the Asset Store! (should go live in a couple of days)
(added mobile demo video to the opening message)

Release Notes - Version 1.1
Breaking changes

  • The board’s file name has been changed from “board[BoardNumber]” to “Board[BoardNumber].[rows].[columns]”, so upgrading from previous version you have to rename the boards accordingly in Unity project view. For instance, the file board1 becomes board1.10.10 (this because in previous version the board was fixed to be 10 by 10.

  • The points are now defined as Board’s parameters.

New features
New parameters added to the Board script as follows:

  • Mobile input is now supported out-of-the-box.

  • Delegates for Pause, Level Cleared and Time Out called in the OnGUI.

  • The Play Area Editor allows now to define and edit any board size.

  • Rows: amount of rows on the board.

  • Columns: amount of columns on the board.

  • Fill On X: tell the script to fit the board on the screen. This is mostly used on mobile phones. The script will not deform the layout so to have the board actually filling the screen you have to design it having the phone resolution in mind. The board will be resized to fit the screen as much as possible having the starting point set on the upper left corner.

  • Centre on X: This is considered only if Fill On X is True.

  • Points to be awarded are now Board’s parameters as follows:

  • Points Normal

  • Points Strong

  • Points Extra Strong

  • Points Super Strong

The release 1.1 is now live on the Asset Store! Make sure to download and import the update :wink:

I bough the package… it seems you guys spend alot of effort on this, THank you for making it available.

I have few questions, is there any way I can modify this so that brocks are droped to fill empty spots, not fly in.
Is this flexible enough to make 4 in a row type game play if then what is the best way to do it?

thank you,

Thanks, glad you like it! don’t forget to rate it :wink:

I’m not sure to understand: do you want the pieces to simply appear in position without any transition? If so, you can change the code in PieceScript.cs (lines 252-266) to make it faster or simply immediate, for instance if you change this (lines 263-264):

velocity.Normalize();
myTransform.position = (myTransform.position + (velocity * [COLOR=#2b91af]Time[/COLOR].deltaTime * (damping / 0.20f)));

to this:

myTransform.position = myTransform.position + velocity;

so that the piece will just be at its destination in one frame. I guess you want to fine tune this or only use that for new pieces, so maybe you can add a flag to perform instant moving or not… there are many scenarios coming from your request.

A Match-4 instead of a Match-3? Just add one more position test in the methods CheckTileMatchY and CheckTileMatchX (in Board.cs) by testing also the remaining combinations.

At any rate, as I love to update my code to meet users’ goals and expectations, your requests will be implemented in the update following the one I’m just releasing (this week update releases the hint system) :wink:

Just want to say that this is in my “to-buy” list. It looks superb and looks like it will be a great help ^ ^

Thank you for your quick respond. I guess I wasn’t clear about my question.
My question was if I can make blocks appear top of the screen and drop to fill the empty spots just like bejewel.

Sure, in Board.cs go to line 730 and just change this

PlayingPieces[x, y] = new PlayingPiece(Instantiate(piecesToUseNormal[t], new Vector3(v0.x, v0.y, zPiecePosition - Random.Range(20f, 30f)), Quaternion.identity) as GameObject, (PieceColour)t);

to this:

PlayingPieces[x, y] = new PlayingPiece(Instantiate(piecesToUseNormal[t], new Vector3(v0.x, v0.y + Random.Range(20f, 30f), zPiecePosition), Quaternion.identity) as GameObject, (PieceColour)t);

If you want to get that effect also at the board start then you have to change (in the same way) the lines 202, 205, 208 and 211.

I will add this change driven by a flag in the Unity Inspector with next Update :wink:

Cheers,
Pino

Just a quick note to let you know that I’ve just uploaded the release 2.0 (I’ll update the OT as soon it goes live). Here the change list:

Release Notes - Version 2

Breaking changes
· None

New features
· It’s now possible to make a Match-4 game simply checking the newly added flag “Is Match 4”in the Inspector.
· Hints: now you can add (in the Inspector) an effect and an audio to give moves hints to the player. In the Inspector you can also define after how much inactivity time (in seconds) the hint is shown.
· You can now decide to make the new pieces fall from the top instead of flying in from behind the camera simply checking in the Inspector the flag “New Pieces From Top”.

Version 2.0 is now live! Go get it :wink:

Hey guys,

is anybody willing to showcase what’s done using this kit? That would be great :wink:

Release 2.1 just submitted to the Store

This release will be live on the Asset Store in a couple of days. It delivers a couple of minor fixes about two edge cases. No other issues are pending.