Sokoban: Creating graphics with Expression Design

Earlier this morning i decided to improve the graphics the little. I launched Expression Design, created a new image, and drew each possible cell and piece in a seperate layer. With this technique i can easily preview how a “Box” on “Goal” looks like.

For each layer i simply copied the XAML from Expression Design into my Cell.xaml file. Apparently all the layers are interpreted as a Canvas and the layer name determines their x:Name which makes it pretty easy to make the correct canvasses visible. With a simple ScaleTransform i can ensure that the canvasses are sized correctly.

Here is the updated version of Sokoban:

This entry was posted in Silverlight, WPF. Bookmark the permalink.

4 Responses to Sokoban: Creating graphics with Expression Design

  1. Mike Bevers says:

    Darn it Tim, Dimitri and I got to level 4 or 5. Because of all the toggling, I got a cramp and double pushed a button. You’re missing a “Restart level” button! :-)

  2. timvw says:

    If i have some time tonight i’ll add a “Goto level x” feature ;)

  3. timvw says:

    Hey Mike, i found some time to implement your feature ;)

    Feel free to play it at icteam.be

  4. Mike Bevers says:

    Sweet :-)

    Tim 4 prez!

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>