Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

making a puzzle with multiple variables

I'm making a puzzle in which there are eight moveable rocks that need to go into eight certain spots. If you saw it, it might make more sense. Basically it doesn't matter which rock goes into which spot, but all spots have to be filled by the rocks. How could I set it up so that when all rocks are on the certain spots that the puzzle will be complete?

The problem I'm facing is that if I use a conditional branch showing that one particular rock is in one spot, then I would have to do it eight times for each one, and that is a lot of conditional branches. Is there a simpler way to do this?
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top