Skip to content

Commit

Permalink
All android samples running and pointing to the Monogame and lidgren
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea committed Mar 18, 2013
1 parent 59c3a0a commit 1026ea4
Show file tree
Hide file tree
Showing 42 changed files with 303 additions and 42 deletions.
10 changes: 10 additions & 0 deletions AdMob/AdMob.Android.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,14 @@
<ItemGroup>
<AndroidJavaLibrary Include="GoogleAdMobAdsSdk-4.3.1.jar" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\ThirdParty\Lidgren.Network\Lidgren.Network.Android.csproj">
<Project>{565129E0-4EE5-4F6F-B403-C3484C9740BE}</Project>
<Name>Lidgren.Network.Android</Name>
</ProjectReference>
<ProjectReference Include="..\..\MonoGame.Framework\MonoGame.Framework.Android.csproj">
<Project>{BA9476CF-99BA-4D03-92F2-73D2C5E58883}</Project>
<Name>MonoGame.Framework.Android</Name>
</ProjectReference>
</ItemGroup>
</Project>
16 changes: 15 additions & 1 deletion AdMob/Resources/Resource.designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions CatapaultWars/CatapultWars.Android.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -280,4 +280,14 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</AndroidAsset>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\ThirdParty\Lidgren.Network\Lidgren.Network.Android.csproj">
<Project>{565129E0-4EE5-4F6F-B403-C3484C9740BE}</Project>
<Name>Lidgren.Network.Android</Name>
</ProjectReference>
<ProjectReference Include="..\..\MonoGame.Framework\MonoGame.Framework.Android.csproj">
<Project>{BA9476CF-99BA-4D03-92F2-73D2C5E58883}</Project>
<Name>MonoGame.Framework.Android</Name>
</ProjectReference>
</ItemGroup>
</Project>
16 changes: 15 additions & 1 deletion CatapaultWars/Resources/Resource.designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions CatapultNetWars/CatapultNetWars.Android.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -324,4 +324,14 @@
<Link>Resources.resx</Link>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\MonoGame.Framework\MonoGame.Framework.Android.csproj">
<Project>{BA9476CF-99BA-4D03-92F2-73D2C5E58883}</Project>
<Name>MonoGame.Framework.Android</Name>
</ProjectReference>
<ProjectReference Include="..\..\ThirdParty\Lidgren.Network\Lidgren.Network.Android.csproj">
<Project>{565129E0-4EE5-4F6F-B403-C3484C9740BE}</Project>
<Name>Lidgren.Network.Android</Name>
</ProjectReference>
</ItemGroup>
</Project>
16 changes: 15 additions & 1 deletion CatapultNetWars/Resources/Resource.designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions ChaseAndEvade/ChaseAndEvade.Android.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,14 @@
<Target Name="AfterBuild">
</Target>
-->
<ItemGroup>
<ProjectReference Include="..\..\ThirdParty\Lidgren.Network\Lidgren.Network.Android.csproj">
<Project>{565129E0-4EE5-4F6F-B403-C3484C9740BE}</Project>
<Name>Lidgren.Network.Android</Name>
</ProjectReference>
<ProjectReference Include="..\..\MonoGame.Framework\MonoGame.Framework.Android.csproj">
<Project>{BA9476CF-99BA-4D03-92F2-73D2C5E58883}</Project>
<Name>MonoGame.Framework.Android</Name>
</ProjectReference>
</ItemGroup>
</Project>
16 changes: 15 additions & 1 deletion ChaseAndEvade/Resources/Resource.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified CompiledContent/Android/Content/Effects/Clouds.xnb
Binary file not shown.
Binary file modified CompiledContent/Android/Content/Effects/ParticleEffect.xnb
Binary file not shown.
Binary file modified CompiledContent/Android/Content/Fonts/Arial.xnb
Binary file not shown.
Binary file modified CompiledContent/Android/Content/Fonts/DataActiveFont.xnb
Binary file not shown.
Binary file modified CompiledContent/Android/Content/Fonts/Font.xnb
Binary file not shown.
Binary file modified CompiledContent/Android/Content/Fonts/GameScreenFont14px.xnb
Binary file not shown.
Binary file modified CompiledContent/Android/Content/Fonts/GameScreenFont16px.xnb
Binary file not shown.
Binary file not shown.
Binary file modified CompiledContent/Android/Content/Fonts/HUDFont.xnb
Binary file not shown.
Binary file modified CompiledContent/Android/Content/Fonts/HighScoreFont.xnb
Binary file not shown.
Binary file not shown.
Binary file modified CompiledContent/Android/Content/Fonts/MenuFont.xnb
Binary file not shown.
Binary file modified CompiledContent/Android/Content/Fonts/TitleFont.xnb
Binary file not shown.
Binary file modified CompiledContent/Android/Content/Fonts/TypeFont.xnb
Binary file not shown.
Binary file modified CompiledContent/Android/Content/Fonts/gamefont.xnb
Binary file not shown.
Binary file modified CompiledContent/Android/Content/Music/InGameSong_Loop.wma
Binary file not shown.
Binary file modified CompiledContent/Android/Content/Music/MenuMusic_Loop.wma
Binary file not shown.
Binary file modified CompiledContent/Android/Content/Music/One Step Beyond.wma
Binary file not shown.
35 changes: 19 additions & 16 deletions Draw2D/Draw2D.Android.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand Down Expand Up @@ -47,14 +47,10 @@
</ItemGroup>
<ItemGroup>
<Compile Include="Activity1.cs" />
<Compile Include="Game1.cs">
<Link>Game1.cs</Link>
</Compile>
<Compile Include="FPSCounterComponent.cs" />
<Compile Include="Game1.cs" />
<Compile Include="Resources\Resource.Designer.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="FPSCounterComponent.cs">
<Link>FPSCounterComponent.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup>
<Content Include="Properties\AndroidManifest.xml" />
Expand All @@ -63,15 +59,6 @@
<AndroidResource Include="Resources\Drawable\Icon.png" />
</ItemGroup>
<ItemGroup>
<AndroidAsset Include="Content\monogameicon.png">
<Link>Assets\Content\monogameicon.png</Link>
</AndroidAsset>
<AndroidAsset Include="Content\purpleBall.xnb">
<Link>Assets\Content\purpleBall.xnb</Link>
</AndroidAsset>
<AndroidAsset Include="Content\spriteFont1.xnb">
<Link>Assets\Content\spriteFont1.xnb</Link>
</AndroidAsset>
<AndroidAsset Include="Content\monogameicon48x48.png">
<Link>Assets\Content\monogameicon48x48.png</Link>
</AndroidAsset>
Expand All @@ -87,4 +74,20 @@
<ItemGroup>
<Folder Include="Resources\Layout\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\ThirdParty\Lidgren.Network\Lidgren.Network.Android.csproj">
<Project>{565129E0-4EE5-4F6F-B403-C3484C9740BE}</Project>
<Name>Lidgren.Network.Android</Name>
</ProjectReference>
<ProjectReference Include="..\..\MonoGame.Framework\MonoGame.Framework.Android.csproj">
<Project>{BA9476CF-99BA-4D03-92F2-73D2C5E58883}</Project>
<Name>MonoGame.Framework.Android</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<AndroidAsset Include="..\CompiledContent\Android\Content\Fonts\Font.xnb">
<Link>Assets\Content\Font.xnb</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</AndroidAsset>
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions Draw2D/Game1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public Game1 ()
graphics.PreferredBackBufferHeight = 480;
graphics.PreferredBackBufferWidth = 320;

graphics.SupportedOrientations = DisplayOrientation.Portrait | DisplayOrientation.LandscapeLeft | DisplayOrientation.LandscapeRight | DisplayOrientation.PortraitUpsideDown;
graphics.SupportedOrientations = DisplayOrientation.Portrait | DisplayOrientation.LandscapeLeft | DisplayOrientation.LandscapeRight | DisplayOrientation.PortraitDown;
}

/// <summary>
Expand All @@ -71,7 +71,7 @@ protected override void LoadContent ()
spriteBatch = new SpriteBatch (GraphicsDevice);

// TODO: use this.Content to load your game content here
texture = Content.Load<Texture2D> ("logo");
texture = Content.Load<Texture2D> ("monogameicon48x48");
font = Content.Load<SpriteFont> ("Font");

fps = new FPSCounterComponent (this,spriteBatch,font);
Expand Down
16 changes: 15 additions & 1 deletion Draw2D/Resources/Resource.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions Input/Input.Android.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,14 @@
<Link>Assets\Content\spriteFont1.xnb</Link>
</AndroidAsset>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\ThirdParty\Lidgren.Network\Lidgren.Network.Android.csproj">
<Project>{565129E0-4EE5-4F6F-B403-C3484C9740BE}</Project>
<Name>Lidgren.Network.Android</Name>
</ProjectReference>
<ProjectReference Include="..\..\MonoGame.Framework\MonoGame.Framework.Android.csproj">
<Project>{BA9476CF-99BA-4D03-92F2-73D2C5E58883}</Project>
<Name>MonoGame.Framework.Android</Name>
</ProjectReference>
</ItemGroup>
</Project>
16 changes: 15 additions & 1 deletion Input/Resources/Resource.designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1026ea4

Please sign in to comment.