
Learn to build pipe puzzles, hexagonal and triangle puzzles in Unity, including responsive UI, level selection with loading, button interactions, tile rotation, and timers.
Design and implement Unity combination puzzles by creating rotatable tiles—square, triangle, and hex—connecting color-coded routes from start to goal using 2D assets and C sharp logic.
Create a straight pipe tile for a combination puzzle by designing connectors with gradients, aligning and duplicating shapes, and applying gradient shading to achieve a 3d look.
Create a corner pipe piece by duplicating the background, forming inner and outer circles, applying difference cuts, and adjusting color and blur; group parts and add screws and shadows.
Create a cross shaped game piece by duplicating, rotating, and mirroring four connectors, aligning shapes with unions, and refining details while managing blur and saving work.
Create a new T pipe tile by duplicating a straight piece, trimming corners, and forming connectors, then align with snap and rotate 90 degrees before uniting and importing into Unity.
Create hexagon tiles and a tile set for puzzle pieces, adjust colors, sizes, and alignment, and use center rotation points and snapping to place and duplicate pieces.
Create triangle shapes from tiles with the polygon tool, align and duplicate them to form a versatile puzzle grid for Unity's combination puzzles.
Export a 4 by 3 tile atlas using 512 by 512 tiles to a 2048 by 1536 PNG, select visible tiles, fix gaps, and save for import into Unity.
Arrange Unity’s scene, game, console, hierarchy, and inspector for a fluid workflow. Import an atlas, slice sprites with 512-by-512 cells, and set 2D mode and aspect ratios.
Create a centered puzzle holder, build a first custom puzzle from tile pieces with a start and end arrow, and arrange, rotate, and tint sprites with text labels.
Enable tile rotation by left and right clicks for square, hexagonal, and triangle tiles, while organizing textures and scripts and implementing a tile script with collider-based click detection.
Teach rotating puzzle tiles in Unity via a coroutine, a rotating flag, and rotate towards logic; use an enum to set 60/90/120 degree angles for hexagon, square, and triangle.
Implement a rotation routine for puzzle tiles using a direction parameter to rotate by positive or negative angles around the center, and test left and right rotations with colliders.
Replace polygon colliders with box colliders for easier tapping. Organize puzzle pieces in a puzzle holder and design incoming/outgoing tiles for 9 by 16 and 10 by 16 aspect ratios.
Learn to code a puzzle system that shuffles tiles at start, collects tiles into a dynamic list, and uses shuffle amount and directions to randomize tile positions for solving puzzle.
Shuffle the puzzle tiles by recording their rotations in a solved list, then apply a randomized shuffle with nested loops and a directions array rotating tiles on the z axis.
Awaken the puzzle in this Unity game tutorial by shuffling tiles and verifying the solved state, comparing rotations to the solved list, with UI feedback and deactivation when solved.
design rotation logic for square tiles in unity, distinguishing cross and straight pieces. handle two-direction rotations from the original position and use accessors to read the solved state.
Round tile rotations to whole numbers by implementing a helper script that rounds vector components and applies rounding after each rotation and shuffle to ensure a solved state.
Design a game UI in Inkscape for a Unity puzzle game, planning the playfield, buttons, and UI panels while using grayscale, gradients, and clipping, and exporting an atlas.
Set up a scalable Unity UI canvas using a canvas scaler and anchored layout, apply sprites from the UI atlas, and assemble background, game area, timer, and buttons.
Implement a countdown timer in a Unity-based combination puzzles game and display the time via a UI text element connected to a game manager updating minutes and seconds.
Build a countdown timer in Unity that starts at 60, counts down with routine inside a while loop, updates seconds and minutes, and refreshes timer display until time runs out.
Fix the timer by moving seconds and minutes calculations into update time text, ensuring the start shows the correct 1:00 and the play time decreases every second in Unity.
Lock all puzzle tiles when the puzzle is solved to prevent further rotation, stop the timer, and display a win screen, while updating the game manager to halt core routines.
Learn to update the user interface for aspect ratio changes in a Unity puzzle game by anchoring user interface elements to the canvas and preserving button and timer positions.
Implement a two-dimensional camera aspect ratio fix by calculating the screen size, deriving a target ratio, and adjusting the orthographic camera size with a placeholder sprite's bounds.
Design a level select scene in Unity using a canvas, images, and a grid layout to display game mode and level buttons with responsive scaling across aspect ratios.
Create and customize level select buttons for pipes, hex, and triangle modes in a saved level select scene, using UI images and prefabs to load scenes based on level count.
Create a dynamic level select system by generating level buttons from a string list, wiring a level button script and a button loader to load scenes with Unity's scene manager.
Learn to automate level button creation in a Unity level select scene using a prefab, fix null reference by GetComponent in children, and activate the correct space via on-click.
Tune the level select UI in Unity by aligning the pipes spacer at the bottom and loading correct pipes, hex, and triangle level buttons via prefabs.
Configure hex 1 and build the first hexagonal puzzle scene, using a combination atlas, tile rotation, and a polygon collider 2D, with color options and arrow placement.
Design and implement a triangulated puzzle by creating triangle pieces with proper pivot points, polygon colliders, and rotation logic, then assemble and save a solvable combination puzzle.
Build a level select system in Unity by wiring level buttons to tris, hex, and pipe puzzles, configuring build settings, and ensuring scenes load and return to the level select.
Design and implement win and lose panels in a Unity game using screen space overlay canvases, user interface buttons, and scene management to load menus, level selects, or restart levels.
Learn to block inputs on win or lose panels using an overlay and canvas group to stop raycasts, then activate the appropriate panel from the game manager and deactivate tiles.
Learn to implement multi-scene management in Unity for a combination puzzles game by duplicating canvases, wiring panels to the game manager, and creating reusable level-select buttons and dynamic level titles.
Extend the pipes puzzle from 3x3 to 4x4 by adding distraction tiles outside the puzzle holder. Enable rotation and update solved checks to skip distraction tiles.
Explore triangle puzzles by rotating tiles and matching colors to create solvable levels, using distraction pieces and careful level design to ensure unique solutions.
Explore hex tile puzzle design in Unity by duplicating, rotating, and color-coding hex tiles, enforcing color matches, and iterating levels to reveal multiple solution paths.
Design a Unity main menu scene with a scalable canvas, a title, and a start button linked to level select, plus an exit option and build settings.
Design levels freely, create graphics, and set camera and ui resolutions. Build scene transitions, level buttons, and puzzles with hex, triangle, and pipe tiles.
In this Course you'll learn how to create multiple combination puzzles with Unity Game Engine. The system we create can handle hexagonal puzzles, triangle puzzles and quadratic puzzles. We will create all grafics in Inkscape
This course is a Beginner course, so if you have trouble in any case, write me a message or Q&A, and i'll help as best as i can.
If you are beginner, you might have some trouble to follow, but the videos will guide you through the complete course. Don't forget you only become better if you repeat things and keep on learning!
So you learn about the following:
Inkscape (free Vector Grafics Program)
create pipe grafics
hex tile grafics
triangle tile grafics
export a usable Texture Atlas
C# (Monodevelop)
variables: bool, int, string, float
functions
loops: for and foreach
Lists, Arrays
Co-Routines
so we can create:
functions to rotate the tiles on click
fuctions to shuffle the game at start
functions to check if the puzzles has been solved
Timer
and many more...
Unity (2019.1)
User Interface Design
Canvas Aspect Ratio Fix for 2D Games for Mobile Devices
UI Aspect Ratio Fix
Sprites and Sprite Settings
Level design
Buttons
Interaction with the Tiles on Click
and many more...
Course Material
I provide the following Material with the Course:
None, because i teach you how to create all on your own in Inkscape.
You have to write the code on your own, i do not provide the final scripts!
All graphics for Menu's, Icons, Images or Buttons need to be created on your own, i show you how in the course.
All Materials i provide are for education only and should not be in your final release!
Conclusion
In the end of this course you should have a fully functional Combination Puzzle 2D Game with multiple levels.
Challenge
After you have created nice Menus, Buttons, and a lot additional content and levels, upload the Game to any Gaming Website, Google Playstore, Apple Store or even Windows Store or Steam.
So what are you waiting for?
Let's make your dream game a reality!!
Level: Beginner
Video Course Length: ~7 hours
Unity Version required: 5.6+