smart princess

smart princess

  • NA
  • 1
  • 1.8k

Pacman stage

Dec 3 2011 12:28 PM
plz anyone help me in making stage of pacman em totally stuck in it=(
here below the code n i want this type ov stage

http://www.learn4good.com/games/pacman/pacman.htm








<Window x:Class="WpfApplication1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="300" Width="300">
<Grid Height="259" Width="276">
<Grid.RowDefinitions>
<RowDefinition Height="13*"></RowDefinition>
<RowDefinition Height="13*"></RowDefinition>
<RowDefinition Height="6*"></RowDefinition>
<RowDefinition Height="26*"></RowDefinition>
<RowDefinition Height="7*"></RowDefinition>
<RowDefinition Height="13*"></RowDefinition>
<RowDefinition Height="13*"></RowDefinition>
<RowDefinition Height="13*"></RowDefinition>
<RowDefinition Height="13*"></RowDefinition>
<RowDefinition Height="13*"></RowDefinition>
<RowDefinition Height="13*"></RowDefinition>
<RowDefinition Height="13*"></RowDefinition>
<RowDefinition Height="13*"></RowDefinition>
<RowDefinition Height="13*"></RowDefinition>
<RowDefinition Height="13*"></RowDefinition>
<RowDefinition Height="13*"></RowDefinition>
<RowDefinition Height="13*"></RowDefinition>
<RowDefinition Height="13*"></RowDefinition>
<RowDefinition Height="13*"></RowDefinition>
<RowDefinition Height="13*"></RowDefinition>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="21*"></ColumnDefinition>
<ColumnDefinition Width="21*"></ColumnDefinition>
<ColumnDefinition Width="6*"></ColumnDefinition>
<ColumnDefinition Width="56*"></ColumnDefinition>
<ColumnDefinition Width="5*"></ColumnDefinition>
<ColumnDefinition Width="22*"></ColumnDefinition>
<ColumnDefinition Width="18*"></ColumnDefinition>
<ColumnDefinition Width="19*"></ColumnDefinition>
<ColumnDefinition Width="21*"></ColumnDefinition>
<ColumnDefinition Width="22*"></ColumnDefinition>
<ColumnDefinition Width="17*"></ColumnDefinition>
<ColumnDefinition Width="25*"></ColumnDefinition>
<ColumnDefinition Width="0*" />
<ColumnDefinition Width="0*" />
<ColumnDefinition Width="24*" />
</Grid.ColumnDefinitions>
<Canvas Grid.Row="2" Grid.Column="2" Background="BlueViolet"></Canvas>
<Canvas Grid.Row="2" Grid.Column="3" Background="BlueViolet"></Canvas>
<Canvas Grid.Row="2" Grid.Column="4" Background="BlueViolet"></Canvas>
<Canvas Grid.Row="3" Grid.Column="2" Background="BlueViolet"></Canvas>
<Canvas Grid.Row="4" Grid.Column="2" Background="BlueViolet"></Canvas>
<Canvas Grid.Row="4" Grid.Column="3" Background="BlueViolet"></Canvas>
<Canvas Grid.Row="4" Grid.Column="4" Background="BlueViolet"></Canvas>
<Canvas Grid.Row="3" Grid.Column="4" Background="BlueViolet"></Canvas>
<Canvas Grid.ColumnSpan="6" Background="Black"></Canvas>
<Canvas Grid.Row="1" Grid.Column="0" Background="Black"></Canvas>
<Canvas Grid.Row="2" Grid.Column="0" Background="Black"></Canvas>
<Canvas Grid.Row="3" Grid.Column="0" Background="Black"></Canvas>
<Canvas Grid.Row="4" Grid.Column="0" Background="Black" Grid.RowSpan="18"></Canvas>
<Canvas Grid.Row="0" Grid.Column="1" Background="Black"></Canvas>
<Canvas Grid.Row="0" Grid.Column="2" Background="Black"></Canvas>
<Canvas Grid.Column="3" Background="Black" Margin="0,0,10,0"></Canvas>
<Canvas Grid.Row="0" Grid.Column="4" Background="Black"></Canvas>
<Canvas Grid.Row="0" Grid.Column="5" Background="Black"></Canvas>

<Canvas Grid.Row="0" Grid.Column="6" Background="Black"></Canvas>
<Canvas Grid.Row="0" Grid.Column="7" Background="Black"></Canvas>
<Canvas Grid.Row="0" Grid.Column="8" Background="Black"></Canvas>

<Canvas Grid.Row="0" Grid.Column="9" Background="Black"></Canvas>
<Canvas Grid.Row="0" Grid.Column="10" Background="Black"></Canvas>
<Canvas Grid.Row="0" Grid.Column="9" Background="Black"></Canvas>
<Canvas Grid.Row="0" Grid.Column="10" Background="Black"></Canvas>
<Canvas Grid.Column="11" Background="Black" Margin="0,0,23,0" Grid.ColumnSpan="4"></Canvas>
<Canvas Grid.Column="13" Background="Black" Grid.ColumnSpan="2"></Canvas>
<Canvas Grid.Column="13" Background="Black" Grid.ColumnSpan="2"></Canvas>
<Canvas Grid.Column="13" Background="Black" Grid.ColumnSpan="2"></Canvas>
<Canvas Grid.Row="1" Grid.Column="13" Background="Black" Grid.ColumnSpan="2"></Canvas>
<Canvas Grid.Row="2" Grid.Column="13" Background="Black" Grid.ColumnSpan="2"></Canvas>
<Canvas Grid.Row="3" Grid.Column="13" Background="Black" Grid.ColumnSpan="2"></Canvas>
<Canvas Grid.Row="4" Grid.Column="13" Background="Black" Grid.RowSpan="16" Grid.ColumnSpan="2"></Canvas>

</Grid>
</Window>