Skip to content
This repository was archived by the owner on Jun 18, 2020. It is now read-only.

Commit e4b76df

Browse files
committed
New idea!
1 parent 7f362ca commit e4b76df

35 files changed

+497
-42
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# LD42
2-
### [Ludum Dare Compo #42. Theme: "------"](https://ldjam.com/events/ludum-dare/42)
2+
### [Ludum Dare Compo #42. Theme: "Running out of space"](https://ldjam.com/events/ludum-dare/42)
3+
*source* - game that I upload as finished ld42 compo
4+
5+
*sourceFirstIdea* - fruitless attempt. I cant made normal sidescrolling and bullet shoots.
36

47
#### THEME
58

@@ -10,10 +13,6 @@
1013
#### HOW TO PLAY
1114

1215

13-
#### TIP
14-
15-
16-
1716
### OTHER
1817
#### LINK TO GAME ENTRY
1918

source/App.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
44
xmlns:local="clr-namespace:ld42"
5-
StartupUri="GameWindow.xaml">
5+
StartupUri="MainWindow.xaml">
66
<Application.Resources>
77

88
</Application.Resources>

source/MainWindow.xaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<Window x:Class="ld42.MainWindow"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
6+
xmlns:local="clr-namespace:ld42"
7+
mc:Ignorable="d"
8+
Title="MainWindow" Height="450" Width="800">
9+
<Grid>
10+
11+
</Grid>
12+
</Window>

source/MainWindow.xaml.cs

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
using System.Windows;
7+
using System.Windows.Controls;
8+
using System.Windows.Data;
9+
using System.Windows.Documents;
10+
using System.Windows.Input;
11+
using System.Windows.Media;
12+
using System.Windows.Media.Imaging;
13+
using System.Windows.Navigation;
14+
using System.Windows.Shapes;
15+
16+
namespace ld42 {
17+
/// <summary>
18+
/// Interaction logic for MainWindow.xaml
19+
/// </summary>
20+
public partial class MainWindow : Window {
21+
public MainWindow() {
22+
InitializeComponent();
23+
}
24+
}
25+
}

source/ld42.csproj

Lines changed: 4 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<PropertyGroup>
55
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
66
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7-
<ProjectGuid>{6662F594-C302-40C6-AE57-02DFC04EF2C8}</ProjectGuid>
7+
<ProjectGuid>{FCA3EA88-4F7C-4F24-A272-1B3D5E2FD8FE}</ProjectGuid>
88
<OutputType>WinExe</OutputType>
99
<RootNamespace>ld42</RootNamespace>
1010
<AssemblyName>ld42</AssemblyName>
@@ -48,37 +48,22 @@
4848
<Reference Include="WindowsBase" />
4949
<Reference Include="PresentationCore" />
5050
<Reference Include="PresentationFramework" />
51-
<Reference Include="WpfAnimatedGif, Version=1.4.17.0, Culture=neutral, processorArchitecture=MSIL">
52-
<HintPath>packages\WpfAnimatedGif.1.4.17\lib\net\WpfAnimatedGif.dll</HintPath>
53-
</Reference>
5451
</ItemGroup>
5552
<ItemGroup>
5653
<ApplicationDefinition Include="App.xaml">
5754
<Generator>MSBuild:Compile</Generator>
5855
<SubType>Designer</SubType>
5956
</ApplicationDefinition>
60-
<Compile Include="Bullet.cs" />
61-
<Compile Include="Coord.cs" />
62-
<Compile Include="CoordReal.cs" />
63-
<Compile Include="Direction.cs" />
64-
<Compile Include="ExtensionMethods.cs" />
65-
<Compile Include="Game.cs" />
66-
<Compile Include="GameCell.cs" />
67-
<Compile Include="GameMap.cs" />
68-
<Compile Include="Ghost.cs" />
69-
<Compile Include="Settings.cs" />
70-
<Compile Include="Shake.cs" />
71-
<Page Include="GameWindow.xaml">
57+
<Page Include="MainWindow.xaml">
7258
<Generator>MSBuild:Compile</Generator>
7359
<SubType>Designer</SubType>
7460
</Page>
7561
<Compile Include="App.xaml.cs">
7662
<DependentUpon>App.xaml</DependentUpon>
7763
<SubType>Code</SubType>
7864
</Compile>
79-
<Compile Include="Hero.cs" />
80-
<Compile Include="GameWindow.xaml.cs">
81-
<DependentUpon>GameWindow.xaml</DependentUpon>
65+
<Compile Include="MainWindow.xaml.cs">
66+
<DependentUpon>MainWindow.xaml</DependentUpon>
8267
<SubType>Code</SubType>
8368
</Compile>
8469
</ItemGroup>
@@ -100,7 +85,6 @@
10085
<Generator>ResXFileCodeGenerator</Generator>
10186
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
10287
</EmbeddedResource>
103-
<None Include="packages.config" />
10488
<None Include="Properties\Settings.settings">
10589
<Generator>SettingsSingleFileGenerator</Generator>
10690
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
@@ -109,15 +93,5 @@
10993
<ItemGroup>
11094
<None Include="App.config" />
11195
</ItemGroup>
112-
<ItemGroup>
113-
<Resource Include="Resources\hero\ghost.gif" />
114-
</ItemGroup>
115-
<ItemGroup>
116-
<Resource Include="Resources\floor\1.png" />
117-
<Resource Include="Resources\wall\1.png" />
118-
</ItemGroup>
119-
<ItemGroup>
120-
<Resource Include="Resources\hero\ghostBullet.png" />
121-
</ItemGroup>
12296
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
12397
</Project>

source/ld42.sln

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 15
44
VisualStudioVersion = 15.0.27703.2047
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ld42", "ld42.csproj", "{6662F594-C302-40C6-AE57-02DFC04EF2C8}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ld42", "ld42.csproj", "{FCA3EA88-4F7C-4F24-A272-1B3D5E2FD8FE}"
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1010
Debug|Any CPU = Debug|Any CPU
1111
Release|Any CPU = Release|Any CPU
1212
EndGlobalSection
1313
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14-
{6662F594-C302-40C6-AE57-02DFC04EF2C8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15-
{6662F594-C302-40C6-AE57-02DFC04EF2C8}.Debug|Any CPU.Build.0 = Debug|Any CPU
16-
{6662F594-C302-40C6-AE57-02DFC04EF2C8}.Release|Any CPU.ActiveCfg = Release|Any CPU
17-
{6662F594-C302-40C6-AE57-02DFC04EF2C8}.Release|Any CPU.Build.0 = Release|Any CPU
14+
{FCA3EA88-4F7C-4F24-A272-1B3D5E2FD8FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{FCA3EA88-4F7C-4F24-A272-1B3D5E2FD8FE}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{FCA3EA88-4F7C-4F24-A272-1B3D5E2FD8FE}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{FCA3EA88-4F7C-4F24-A272-1B3D5E2FD8FE}.Release|Any CPU.Build.0 = Release|Any CPU
1818
EndGlobalSection
1919
GlobalSection(SolutionProperties) = preSolution
2020
HideSolutionNode = FALSE
2121
EndGlobalSection
2222
GlobalSection(ExtensibilityGlobals) = postSolution
23-
SolutionGuid = {A8C6CE22-1E6B-466C-9A58-9CA9A65BAE70}
23+
SolutionGuid = {018552B9-7291-4790-8622-5B65696752E0}
2424
EndGlobalSection
2525
EndGlobal

sourceFirstIdea/App.config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
5+
</startup>
6+
</configuration>

sourceFirstIdea/App.xaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Application x:Class="ld42.App"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:local="clr-namespace:ld42"
5+
StartupUri="GameWindow.xaml">
6+
<Application.Resources>
7+
8+
</Application.Resources>
9+
</Application>

sourceFirstIdea/App.xaml.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Configuration;
4+
using System.Data;
5+
using System.Linq;
6+
using System.Threading.Tasks;
7+
using System.Windows;
8+
9+
namespace ld42 {
10+
/// <summary>
11+
/// Interaction logic for App.xaml
12+
/// </summary>
13+
public partial class App : Application {
14+
}
15+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
using System.Reflection;
2+
using System.Resources;
3+
using System.Runtime.CompilerServices;
4+
using System.Runtime.InteropServices;
5+
using System.Windows;
6+
7+
// General Information about an assembly is controlled through the following
8+
// set of attributes. Change these attribute values to modify the information
9+
// associated with an assembly.
10+
[assembly: AssemblyTitle("ld42")]
11+
[assembly: AssemblyDescription("")]
12+
[assembly: AssemblyConfiguration("")]
13+
[assembly: AssemblyCompany("Microsoft")]
14+
[assembly: AssemblyProduct("ld42")]
15+
[assembly: AssemblyCopyright("Copyright © Microsoft 2018")]
16+
[assembly: AssemblyTrademark("")]
17+
[assembly: AssemblyCulture("")]
18+
19+
// Setting ComVisible to false makes the types in this assembly not visible
20+
// to COM components. If you need to access a type in this assembly from
21+
// COM, set the ComVisible attribute to true on that type.
22+
[assembly: ComVisible(false)]
23+
24+
//In order to begin building localizable applications, set
25+
//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file
26+
//inside a <PropertyGroup>. For example, if you are using US english
27+
//in your source files, set the <UICulture> to en-US. Then uncomment
28+
//the NeutralResourceLanguage attribute below. Update the "en-US" in
29+
//the line below to match the UICulture setting in the project file.
30+
31+
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
32+
33+
34+
[assembly: ThemeInfo(
35+
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
36+
//(used if a resource is not found in the page,
37+
// or application resource dictionaries)
38+
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
39+
//(used if a resource is not found in the page,
40+
// app, or any theme specific resource dictionaries)
41+
)]
42+
43+
44+
// Version information for an assembly consists of the following four values:
45+
//
46+
// Major Version
47+
// Minor Version
48+
// Build Number
49+
// Revision
50+
//
51+
// You can specify all the values or you can default the Build and Revision Numbers
52+
// by using the '*' as shown below:
53+
// [assembly: AssemblyVersion("1.0.*")]
54+
[assembly: AssemblyVersion("1.0.0.0")]
55+
[assembly: AssemblyFileVersion("1.0.0.0")]

sourceFirstIdea/Properties/Resources.Designer.cs

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

0 commit comments

Comments
 (0)