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:
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!
If i have some time tonight i’ll add a “Goto level x” feature
Hey Mike, i found some time to implement your feature
Feel free to play it at icteam.be
Sweet
Tim 4 prez!