Game Sederhana dengan WPF part 1
ini adalah posting pertama saya tentang WPF. sebenernya saya masih baru banget nih tentang teknologi WPF ini jadi sekarang masih belajar sambil nyoba2 sedikit biar gak cupu2 amat lah...
malu donk klo jadi anak IF tapi gak bisa ngoding 
game yang saya buat ini terinspirasi dari game yang ada di handphone teman saya tapi yang saya buat ini baru gambarnya doang
dan tools yang saya pake Microsoft Expression Blend 2. karena belum begitu ngerti C#, jadinya belum di koding deh... hehehe..
maap2.. mungkin di postingan selanjutnya baru bisa...
source code XAML:
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="Game_Coba2.Window1"
x:Name="Window"
Title="Game Coba2"
Width="700" Height="500" Background="Gray">
<Grid x:Name="LayoutRoot" Height="462" Width="700">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="700*" />
<ColumnDefinition Width="0*" />
<ColumnDefinition Width="0*" />
</Grid.ColumnDefinitions>
<Menu VerticalAlignment="Top" Height="23" Background="AliceBlue" Margin="0,0,17,0">
<MenuItem Width="36" Height="20" RenderTransformOrigin="0.5,0.5" Header="File">
<MenuItem Width="151" Height="25" Header="Start Game" Background="AliceBlue" Click="Start"/>
<MenuItem Width="151" Height="25" Header="Exit" Background="AliceBlue" Click="Exit"/>
</MenuItem>
<MenuItem Width="50" Height="20" Header="About"/>
</Menu>
<Rectangle Fill="Blue" Stroke="Black" HorizontalAlignment="Left" Margin="311,0,0,21" VerticalAlignment="Bottom" Width="38" Height="38" RadiusY="120" RadiusX="120" x:Name="bola"/>
<Rectangle Fill="Black" Stroke="Black" RadiusX="0" RadiusY="0" Margin="236,0,268,8" VerticalAlignment="Bottom" Height="13" x:Name="papan"/>
</Grid>
</Window>
untuk screenshotnya nanti juga bakal menyusul....
