Block Slider

BlockSlider

Below is the source code for Game 22 from our 30 Games in 30 Days project.

To run the game:

  1. Import Grids into a new project.
  2. Import the package below into the project.
  3. Open the BlockSlider scene in the Game22 folder, and run it.

BlockSlider_Grids1_8.unitypackage

The code is pretty straightforward. It shows an example of making a compound grid shape, how to handle wrapping in a more complicated scenario, and how to work with rows and columns.

(The update to Grids 1.8 was done by Michael Grätzbach. Thanks Michael!)

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top