Veggie Crunch

user_avatar Made by: mc games


Share this project:

I've been working on expanding my Druid's Keep game with some different mini-games and puzzles. I wanted to add a mini-game like Bejeweled/CandyCrush, so this is what I came up with.

It's not a complete game (I'll be using it within Druid's Keep), but I wanted to put this up on the Hub to show that a Candy Crush like game can be done in Hyperpad.

It's branchable, so feel free to use this as a starting point for your own game --- change graphics, add scoring system, add bonus items, levels, sound, etc.

Note that this current version allows any two adjacent tiles to be swapped, whether they make a match or not. Some additional coding will be needed to not allow moves that do not make a match.

Feedback and bug sightings welcome.


Last Updated: September 21, 2022

Changed things around a bit so now veggies drop when space is cleared beneath them.
Also, new veggies are spawned at the top and drop into place.
Still needs some "bells and whistles" to make a complete game, so think of this as a template to start your own candy crush like game.



September 22, 2016

Thanks for sharing. It's very handy to see new ways to make use of the behaviors.

September 13, 2016

Cool! I think that one of the reasons candy crush was so popular was because of the rewarding visuals after each match. For example, when you match 3 veggies, they simply just disappear and that's it. You could add a nice little "Great!" or something like that to better reward the player, as well as some cool animations to make the veggies disappear. Otherwise it's perfect.

September 13, 2016

Very cool! Thanks for sharing this with the community :). I'm sure other users can learn a lot from this. @Puzzles was asking about this the other day.

September 14, 2016

Yep! The one thing that I can't seem to do is that when one doesn't match it doesn't go back to the original position

September 15, 2016

The current version allows you to swap two veggies whether it results in a match or not. This is how I wanted it for what I'm putting into my Druids Keep game. It will take a bit more coding to check for a match and then if one is not made to swap the veggies back to their original position. You'd also need to code an algorithm to check if there are any possible moves, and if not to reset the field with random veggies.