Skip to content

Commit 909552b

Browse files
committed
[Final] Final Version 1.124
1 parent 7b58ab0 commit 909552b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+322
-105
lines changed
-512 Bytes
Binary file not shown.

Side-scrolling Tower Defense/AI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public void GenerateSolider(Panel grid1, int type, double op)
129129
else if (type == 6)
130130
{
131131
soldier.Add(new Lancer(true, op));
132-
grid1.Children.Add(soldier[soldier.Count - 1].Show(100, 50, "/Images/tower_test1.gif"));
132+
grid1.Children.Add(soldier[soldier.Count - 1].Show(85, 70, "/Images/eSoldier1Move.gif"));
133133
}
134134
else if (type == 7)
135135
{
File renamed without changes.
258 KB
Loading
File renamed without changes.
File renamed without changes.
File renamed without changes.

Side-scrolling Tower Defense/MainWindow.xaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<RowDefinition/>
1414
<RowDefinition Height="108"/>
1515
</Grid.RowDefinitions>
16-
<Grid x:Name="grid1" AllowDrop="True" VerticalAlignment="Bottom" Height="315" Grid.RowSpan="2" HorizontalAlignment="Left" Width="1094" Margin="0,0,0,107" Grid.Row="1">
16+
<Grid x:Name="grid1" AllowDrop="True" VerticalAlignment="Bottom" Height="315" Grid.RowSpan="2" HorizontalAlignment="Left" Width="1094" Margin="0,0,0,107" Grid.Row="1" d:IsLocked="True">
1717
<Grid.Background>
1818
<ImageBrush ImageSource="pack://siteoforigin:,,,/Images/bg_inGame.jpg"/>
1919
</Grid.Background>
@@ -24,7 +24,7 @@
2424
<DockPanel Height="35" LastChildFill="False" Margin="717,10,0,0" Background="#FFE2DBDB" HorizontalAlignment="Left" VerticalAlignment="Top" Width="105"/>
2525

2626
</Grid>
27-
<Grid x:Name="gridControlBar" Background="#FF2C2206" Margin="0,1,0,0" Grid.Row="2">
27+
<Grid x:Name="gridControlBar" Background="#FF2C2206" Margin="0,1,0,0" Grid.Row="2" d:IsLocked="True">
2828
<Button x:Name="btnSpeedUp" Content="&gt;" HorizontalAlignment="Left" Margin="24,58,0,0" VerticalAlignment="Top" Width="48" FontWeight="Bold" FontSize="16" Click="btnSpeedUp_Click" Height="35" Focusable="False" ToolTip="調整遊戲進行速度" Background="#FFB09F9F"/>
2929
<Button x:Name="btnReturnToMenu" Content="Menu" HorizontalAlignment="Left" Margin="24,10,0,0" VerticalAlignment="Top" Width="48" Height="35" Click="btnReturnToMenu_Click" Focusable="False" ToolTip="回主選單" Foreground="Black" Background="#FFB09F9F" FontWeight="Bold"/>
3030
<Button x:Name="skill1" HorizontalAlignment="Left" Margin="127,10,0,0" VerticalAlignment="Top" Width="43" Height="39" Focusable="False" ToolTip="時間凍結&#xA;CD: 40s&#xA;停止敵方全體10秒" Click="skill1_Click" BorderThickness="1" Background="{x:Null}" BorderBrush="{x:Null}">
@@ -68,27 +68,28 @@
6868
<Button x:Name="btnUnlock6" Content="$" HorizontalAlignment="Left" Height="26" Margin="817,46,0,0" VerticalAlignment="Top" Width="82" Click="btnUnlock6_Click" Focusable="False" Background="#FFB09F9F"/>
6969
<Button x:Name="btnUpgradeTower" Content="升級塔" HorizontalAlignment="Left" Height="70" Margin="981,15,0,0" VerticalAlignment="Top" Width="79" Click="btnUpgradeTower_Click" Focusable="False" Background="#FFB09F9F" BorderThickness="0"/>
7070
</Grid>
71-
<Grid x:Name="gridTopBar" Background="#FFC5BCBC">
71+
<Grid x:Name="gridTopBar" Background="#FFC5BCBC" d:IsLocked="True">
7272
<Label Content="HP/maxHP" Margin="757,0,0,10" Height="25" HorizontalContentAlignment="Right" BorderBrush="#FF0F0909" BorderThickness="1" HorizontalAlignment="Left" VerticalAlignment="Bottom" Width="200" Background="#FFFB0505" />
7373
<Label Content="HP/maxHP" Margin="35,0,0,10" Height="25" BorderBrush="Black" BorderThickness="1" HorizontalAlignment="Left" VerticalAlignment="Bottom" Width="200" Background="#FFF70F0F" />
7474
<Label Content="難度" HorizontalAlignment="Left" Margin="456,16,0,0" VerticalAlignment="Top" Width="107"/>
7575
</Grid>
7676

77-
<Grid x:Name="gridBG" Grid.RowSpan="3" MouseDown="gridBG_MouseDown" d:IsHidden="True" >
77+
<Grid x:Name="gridBG" Grid.RowSpan="3" MouseDown="gridBG_MouseDown" >
7878
<Grid.Background>
7979
<ImageBrush ImageSource="Images/Cover.png"/>
8080
</Grid.Background>
8181
<StackPanel x:Name="stackMenu" HorizontalAlignment="Left" Height="278" Margin="25,75,0,0" VerticalAlignment="Top" Width="131" OpacityMask="Black">
8282
<Button x:Name="startGame" Content="新遊戲" Height="45" Click="startGame_Click" Padding="5" FontSize="16" FontWeight="Bold" Margin="0,10" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White"/>
83-
<Button x:Name="howTo" Content="說 明" Height="49" Click="howTo_Click" Padding="5" FontSize="16" FontWeight="Bold" Margin="0,10" BorderBrush="{x:Null}" Background="{x:Null}" Foreground="White"/>
84-
<Button x:Name="about" Content="關 於" Height="49" Click="about_Click" Padding="5" FontSize="16" FontWeight="Bold" Margin="0,10" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White"/>
83+
<Button x:Name="howTo" Content="關 於" Height="49" Click="howTo_Click" Padding="5" FontSize="16" FontWeight="Bold" Margin="0,10" BorderBrush="{x:Null}" Background="{x:Null}" Foreground="White"/>
84+
<Button x:Name="about" Content="作者群" Height="49" Click="about_Click" Padding="5" FontSize="16" FontWeight="Bold" Margin="0,10" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White"/>
8585
</StackPanel>
8686
<StackPanel x:Name="spDiffcultly" HorizontalAlignment="Left" Height="167" Margin="161,87,0,0" VerticalAlignment="Top" Width="94" Visibility="Hidden">
8787
<Button x:Name="btnEasy" Content="簡 單" Height="35" Click="btnEasy_Click" Padding="5" Focusable="False" FontSize="16" FontWeight="Bold" Margin="0,3" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White"/>
8888
<Button x:Name="btnNormal" Content="中 級" Height="35" Click="btnNormal_Click" Padding="5" Focusable="False" FontSize="16" FontWeight="Bold" Margin="0,3" BorderBrush="{x:Null}" Background="{x:Null}" Foreground="White"/>
8989
<Button x:Name="btnHard" Content="困 難" Height="35" Click="btnHard_Click" Padding="5" Focusable="False" FontSize="16" FontWeight="Bold" Margin="0,3" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="White"/>
9090
<Button x:Name="btnSuperHard" Content="絕望級" Height="35" Click="btnSuperHard_Click" Padding="5" Focusable="False" FontSize="16" FontWeight="Bold" Margin="0,3" BorderBrush="{x:Null}" Background="{x:Null}" Foreground="White"/>
9191
</StackPanel>
92+
<Label Content="Version: 1.124" HorizontalAlignment="Left" Margin="992,0,0,0" VerticalAlignment="Top" Height="28" Width="102" FontWeight="Bold" Foreground="White" Background="{x:Null}" OpacityMask="#FF131313"/>
9293
</Grid>
9394
</Grid>
9495
</Window>

Side-scrolling Tower Defense/MainWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ private void about_Click(object sender, RoutedEventArgs e)
973973
}
974974
private void howTo_Click(object sender, RoutedEventArgs e)
975975
{
976-
976+
new Window2().ShowDialog();
977977
}
978978

979979
#endregion

Side-scrolling Tower Defense/Properties/Resources.Designer.cs

Lines changed: 44 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)