top of page

Canary's Chirp - Development Post #7

  • Writer: Akash Oak
    Akash Oak
  • Dec 30, 2019
  • 1 min read

Updated: Feb 1, 2020



Hello!

This post is all about the prototype of the game. The game is being developed in Unity 3D, hence all the programming is done in C#.

This blog post breaks down the second part of the programming bit, which is the puzzle system!

Puzzle System

The notions of puzzles is to indicate that Canary is trying to build the word in her mind to say it.

The puzzle section of the game was a little complex to do since the image needed to be broken down and scattered around. For this purpose, state machines and animators were used. The script will accept any image and break it down into 2x2, 3x3 or 5x5 grid puzzles which will randomize themselves.


Once the sprite is cut, the script remembers the position of each piece and check for the condition “Completed” to indicate that the puzzle is indicated. This condition turns true when each piece is slid into the slot that it started in.

This one was the most hard to do since it required a lot of programming effort and research!


The next blog post will break down the process for the music section of the game and the music itself.

Cheers!

Comments


bottom of page