Puzzle

From Game Editor

Jump to: navigation, search

Puzzle Games

In puzzle games, you will usually need an array to store and sort the puzzle pieces, and to check for scores.

The first and most basic rule of puzzle games is:

DO NOT CREATE A BUNCH OF CLONES IN THE EDITOR FOR YOUR JEWELS/PIECES.

Instead, use a script to create them as needed. This only makes sense, for many reasons:

You will need to wipe and reset the board every time player completes a level, so you will need a proper spawning script either way. You will probably change the setup of the board at some point, and you'll have to go in and delete all those clones, one by one.

For information on how to spawn puzzle pieces, see the section

And for more information on puzzle and strategy games, see the section