SplashScreen müsste jetzt funktionieren (wenn ich nichts vergessen hab (kann ja nicht testen)) & Ordner sounds angelegt mit "step.wav" als Soundeffekt
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<ConsolePause>False</ConsolePause>
|
||||
<additionalargs>/unsafe</additionalargs>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<DebugType>none</DebugType>
|
||||
@@ -31,6 +32,7 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<ConsolePause>False</ConsolePause>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
|
||||
BIN
sounds/step.wav
Normal file
BIN
sounds/step.wav
Normal file
Binary file not shown.
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Drawing2D;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace WorldOfPeacecraft
|
||||
@@ -18,11 +19,8 @@ namespace WorldOfPeacecraft
|
||||
protected override void OnPaint (PaintEventArgs e)
|
||||
{
|
||||
Graphics g = e.Graphics;
|
||||
}
|
||||
|
||||
public void PaintImage(Graphics g)
|
||||
{
|
||||
g.DrawImage (Logo, 100, 20, 450, 150);
|
||||
g.InterpolationMode = InterpolationMode.Low;
|
||||
g.DrawImage (Logo, 0, 0, 450, 150);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user