
Create a Unity input manager to handle single and two-finger touches and map to world via screen-to-world point. Configure the puzzle controller with the grid scale to detect nearby pieces.
Learn to detect and manage puzzle pieces by integrating a puzzle generator, storing pieces, and computing the closest piece within a detection radius to enable piece movement on the grid.
Learn to move puzzle pieces with touch input by implementing start/move/stop logic, world-space drag, delta tracking, and smooth interpolation for proper z-order.
Set the puzzle world size with a new constant, compute grid scale from world size and grid size, and initialize it at startup to fix piece detection and bounds.
Implement camera panning for a procedural jigsaw puzzle mobile game by building a camera controller and input manager that enables single-touch drag using screen coordinates and a configurable move speed.
Configure and store puzzle piece neighbors by linking right, bottom, left, and top references, derive x and y from index, validate grid positions, and wire into the generator.
Check all four neighbors, validate and compute each neighbor’s correct local and world position, then snap puzzle pieces together within a minimum distance while handling grouping scenarios.
Implement a snapping system that pairs puzzle pieces as neighbors and forms a group. Then align the group to each piece's correct world position and manage reparenting in Unity.
Learn to implement two-finger rotation of puzzle pieces in a procedural jigsaw game, using the input manager and puzzle controller to rotate single pieces or groups.
Discover procedural mesh techniques to generate square puzzle pieces and transform them into non-square shapes with holes and knobs. Learn ear clipping triangulation and clockwise vertex ordering for clean geometry.
Leverage the ear clipping algorithm with a mesh triangulator to convert 3d vertices to a 2d array, generate triangles, and prep splines using dream text planes in Unity.
Integrate dream text planes to create knobs and holes for puzzle pieces, configure a spline, and prototype top-edge knobs with prefabs for future shapes.
Add knobs on the right, bottom, and the left edges by calculating edge midpoints and rotating splines. Use -90, -180, and -270 degree rotations and preview results in unity.
Configure puzzle piece traits from the generator and convert splines to prefabs to enable updates; use a configure method with an int array [right, bottom, left, top] to generate pieces.
Add and propagate edge offsets for a puzzle piece using a float array and configure method to position knobs and holes along edges, with min and max asset offsets.
Implement a core loop by randomizing puzzle pieces in a 2x2 grid, validating each piece via events, and reloading the scene when all pieces are valid.
Hey Guys !
I hope you are ready, because we are going to embark on a creative odyssey into the world of mobile game development with this comprehensive course on crafting procedural jigsaw puzzle games.
Designed for aspiring developers and seasoned enthusiasts alike, this immersive journey will empower you & help you bring an amazing Jigsaw Puzzle Mobile Game to life in no time.
Dive headfirst into the intricacies of procedural puzzle generation as I guide you through each step of the process. From laying the foundation with grid-based object creation to refining the aesthetics with custom shaders and stylization, you'll master every aspect of the development pipeline.
Key Points We Will Tackle:
Grid Formation: Learn the fundamentals of creating a dynamic grid system to lay the groundwork for your puzzle framework.
Texture Slicing: The Tiling and Offset Material properties will be our best friends to seamlessly slice textures into individual puzzle pieces, fostering a cohesive gameplay experience.
Piece Refinement: Elevate your puzzle pieces from simple quads to intricate game elements using Dreamteck Splines for realistic knobs and holes, along with the Ear Clipping Algorithm for precise triangulation.
Photo Integration: Explore the exciting realm of player engagement by enabling users to transform personal photos into captivating jigsaw puzzles, leveraging the capabilities of mobile device cameras.
Stylization and Shader Magic: Unleash your creativity with advanced shader techniques, allowing you to stylize photos and puzzles with unique palettes and effects that captivate players' imaginations.
Dynamic Outlines: Enhance puzzle visibility and player interaction by implementing dynamic outlines using vertex normals and procedural mesh generation, ensuring a polished and intuitive gaming experience.
Why Choose This Course?
Uniqueness: This course is the first of its kind, a combination of originality and practical examples that will help you create a unique, fully customizable Jigsaw Puzzle Game
Hands-On Experience: Dive into practical, project-based learning exercises that empower you to apply newfound skills in real-world scenarios.
Expert Guidance: Benefit from expert instruction and personalized feedback from an industry professional with a passion for teaching and mentorship.
Whether you're a novice seeking to break into the world of game development or a seasoned veteran looking to expand your skill set, this course offers the perfect blend of theory and practice to propel you toward success.
Join us as we unlock the limitless possibilities of procedural puzzle creation and embark on an unforgettable adventure in mobile game development.
Enroll today and start crafting your masterpiece—one Puzzle Piece at a time.