locked
How to control image using 2d array

    Question

  • I have created an 8-Puzzle game in c# (an console application)

    now i want to convert it to an window 8 app i am successful in it using TextBlock control in xaml 

    and its working but i want to show an image puzzle how can i use my 2d array to control images like shuffle it and move it  

     

    Sunday, March 2, 2014 4:53 PM

Answers

  • Hi Pharaoh,

    Sounds like a interesting game, but not quite sure if I got what you mean, use Storyboarded animations should be ok.

    For instance if you wish to move an image from position A to position B, PointAnimation your X/Y point position is fine. More information plz download the XAML animation sample

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


    Monday, March 3, 2014 5:43 AM
    Moderator