
Learn to build a mobile puzzle game in Unity by implementing core match logic and combo detection, seed-based item generation, level design, visual feedback, and export to real devices.
Initialize a Unity project for a mobile puzzle game, set up a GitHub repository, configure Unity Hub with universal 3D and Android build, and organize files into a folder.
Create a Unity scene with a ground plane and a clickable sphere, add a collider and rigidbody, and detect clicks using a raycast from the camera.
Create an item spots container beneath the camera and a sphere spot; attach the sphere as a child via an observer pattern and set its local position.
Improve input handling in Unity by enabling drag-to-select: cast a ray on drag, store the current item, and select it on mouse up with null checks.
Add a basic outline to a selected item in a Unity match-3 style game by creating a URP unlit shader graph and implementing select and deselect with an outline material.
Turn spots into prefabs, create item prefabs (sphere, cube, cylinder), assign shared materials, replace colliders with suitable types, and enable click detection via parent item components.
Leverage the item spots manager to place each clicked item into a free spot, using get free spot and populate logic, while disabling shadows for cleaner visuals.
Explore how the item spots manager coordinates one task at a time, checks for free spots, groups like items, and performs merges to support future animations.
Implement a Unity item management algorithm using dictionaries and item merge data, wiring the item spots manager, free spots, and game over checks.
Learn to manage item merge data in Unity by finding ideal spot for an item, updating its data, and moving it there using spot assignment and sorting by sibling index.
Master item merging in the item spots manager by using item merge data to detect merges, destroy merged items, clear spots, and move remaining items left to avoid game over.
Move all items to the right from the ideal spot when it is occupied. Manage spot indexing, rightward shifts, and merge checks to place the new item smoothly.
Move all items to the left after a merge in a Unity mobile puzzle game, starting from index three. Manage spots and target spots while preparing for animations.
Learn to refactor item movement in a Unity puzzle game by passing callback actions as arguments, replacing duplicate methods with a single move-item routine and preparing for animations.
Animate items in Unity for a mobile puzzle game by using LeanTween to move, scale, and rotate with easing, callbacks, and a bump animation on spots.
Develop the merging system by introducing a merge manager and action-based triggers via the observer pattern, and animate item movement with tweening and easing.
Sort items left to right and move the outer items to the middle position. Use a smash duration with easing, destroy the originals, and play merge particles in Unity.
Create a level with an item placer in Unity, define item level data as a serializable structure, validate amounts as multiples of three using naughty attributes and nested inspector.
Place items within a defined spawn zone using a box collider, create walls, and spawn item prefabs in the editor with a seeded random generator for repeatable layouts.
Create and manage level goals by marking spheres as goals in item data, retrieving them via a level manager, and checking if all goals are completed.
Create a level manager to spawn levels, save level index in player prefs with a constant key, wrap with modulo, and emit a level spawned event for the goal system.
Create a goal manager in Unity that subscribes to level spawned and item picked up events, retrieves level goals, updates goal amounts, and checks for level completion.
Implement the goal cards UI for the Unity puzzle game by creating a main canvas with scale with screen size and a horizontal layout to display card fronts and backs.
Spawn goal cards from a prefab, configure amount text with Text Mesh Pro, show icons, and update or complete cards under the goal manager.
Import assets in Unity, adjust items with a blue Persian mesh, a convex collider, and a centered pivot, then create icons by screenshotting items and exporting sprites to icons folder.
Add icons to items in a Unity puzzle game by importing sprites, creating a serialized icon field on the item script, and displaying it on the item card UI.
Animate the goal cards in Unity using LeanTween for bump effects when collecting items, enabling a completion animation with a check mark and backface handling.
Implement a singleton game manager and a UI manager to control the menu and play flow, using a game state enum and a state listener interface to spawn levels.
Create a simple unity ui manager that toggles the menu, game, level complete, and game over panels based on the game state, using enums and a singleton game manager.
Implement the core loop by adding next and retry button callbacks to reload scenes, while preventing item clicks outside the game state and saving the level index.
Learn to implement a timer in a Unity puzzle game by building a timer UI and manager, formatting seconds to minutes with time span, and linking it to level spawn.
Add the vacuum power up in a Unity mobile puzzle game by building a power up manager and collecting three items from the greatest goal.
Add the vacuum model and animation, import the prefab, and place it under a power-up zone with four spots. Adjust materials, scale, and particles for proper idle visuals.
Animate the vacuum with a power-up trigger to grab items, moving them to the suck position via tweening with cubic easing; prevent reactivation with a busy flag.
Detects clicks on power-ups using a collider and camera raycast on the power-up layer, triggering the power-up manager to animate the vacuum.
Update visuals for power-ups in a Unity 2D game by adding a circular amount container with text and a video icon. Learn to manage counts with playerprefs.
Improve item movement from each item to the vacuum by drawing a four-point Catmull-Rom spline, using start, middle elevated point, and end positions, with adjustable duration for satisfying collection animations.
Learn to implement the spring power up in unity by selecting a random occupied spot, re-enabling physics, unassigning and releasing the item, and updating the item spots and goals.
Implement a fan power up in Unity by applying a random directional force to all items' rigid bodies with a controllable magnitude, using velocity change as the force mode.
Implement the freeze power up in a Unity mobile puzzle game by adding a freeze timer and a singleton timer manager, using start timer and cancel on level complete.
Hey there !
Build Your Own Addictive Puzzle Mobile Game in Unity!
Are you ready to create a game like Match Factory and learn valuable Unity skills in the process? In this course, you’ll build a fully functional match puzzle game from scratch — no prior game dev experience required! (If you have a bit of experience, it's better of course :))
What You’ll Learn:
How to set up a smooth Match-Factory like control
Implement matching logic, combos, and satisfying effects
Design and polish fun, colorful levels like in the original Match Factory game
Create interactive UI, menus, score systems, and progression
Optimize for mobile and test on a real device
By the end of the course, you'll have your very own working puzzle game that you can expand, customize, or even publish to the Play Store!
Why This Course?
Hands-on project from A to Z
Focus on fun, casual game mechanics
Perfect for indie devs, students, or hobbyists
Learn production-ready Unity techniques that you can reuse in other projects
Whether you want to launch your own mobile game or simply level up your Unity skills while building something exciting, this course is for you!
Let’s start building this amazing game today!
P.S. : You will find the source code and all the assets used attached as resources.