A puzzle game is a game genre found on Scratch. This genre is focused on introducing game mechanics while forcing the player to interact with them in creative and obscure ways to accomplish a goal.
Types of Puzzles
Although puzzle games may vary greatly, here are some common puzzle games made on Scratch:
How to Make Puzzle Games Listed Above
A maze game is a game wherein the character should get to the finish, by using arrow keys.
Then, create the character, e.g. a small, black circle, and the finish line, e.g. a flag with black and white rectangles.
For the character, place these scripts:
when [right arrow v] key pressed change x by (10) if on edge, bounce // This means that if it goes to the edge of the screen, it bounces back when [left arrow v] key pressed change x by (-10) if on edge, bounce when [up arrow v] key pressed change y by (10) if on edge, bounce when [down arrow v] key pressed change y by (-10) if on edge, bounce when gf clicked forever if <touching [#008000]?> then // Should be the wall color change x by (10) when gf clicked forever if <touching [Sprite2 v]?> then // Sprite or color can do switch backdrop to [you win v] // Optional
A jigsaw puzzle is a type of puzzle wherein one combines pieces to form a picture. Usually, jigsaws range from just four pieces to hundreds of them.
First, create the pieces. One can use any paint editor to create them.
Then, place these scripts on each of the puzzle pieces:
when gf clicked forever if <(distance to [any surrounding piece v]) < (15)> then go to [any surrounding piece v]
Finally, allow it to be dragged. Just click the blue "i" near the sprite thumbnail, then allow it to be dragged on player.