Jump to content

ES3178

Member
  • Posts

    1
  • Joined

  • Last visited

Reputation Activity

  1. Agree
    ES3178 reacted to Franck in C# Text-Based Adventure Game Map   
    is the map showing only 1 room at the time or you mean it's like a labyrinth with black room and THEN it shows up with color and all the gizmos when you enter it ?
     
    If It's always showing full map but just partial parts at a time it's very easy. You must be familiar with MVVM if you have chosen WPF over Winform for such a project.
    I suggest you make your map as a grid and image elements for each room. One black out and one fully displayed with the character icon inside. Then make a simple class with a boolean property for each rooms. Then bind the background image of each grid with and image where the source depends on the boolean value of that room. If you enter room 6 then you only need to change all the boolean to false but put true in room6 and the grid will use all blacked out images for all rooms and room6 will show all nicely with the character.
×