Tuesday, October 4, 2011

Development Stage Two

With the Quartz falling down from the top and all lined up, lets add another column and some more colour to the scene.

  • Implement Full Spritesheet

    The same sprite sheet is loaded for all Quartz and divided into frames. Depending on a random number drawn, the only part of the image is shown, giving us our Quart!


  • Another Column and Colour Detection

    The second column is positioned directly next to the first. The Colour Property is added to the Quart Class and a simple function call from update checks for adjacent matching colours. If it finds them, it calls the deleteQuart function!

  • Make a selection and Highlight a Quart

    Clicking on Quartz adds a new entity called selectionRectangle. For now, this is just a tinted grey with a low alpha positioned over the selected Quart.

    Coming Up Next:
    Level layout, Making a move: Swapping Quartz and Score Implementation.
  • No comments:

    Post a Comment