Browse Source

Merge branch 'master' of git://github.com/CartBlanche/MonoGame-Samples

dellis1972 14 years ago
parent
commit
546eddaf6f
60 changed files with 1651 additions and 98 deletions
  1. 2 2
      Samples/Android/ChaseAndEvade/Activity1.cs
  2. 9 0
      Samples/Android/ChaseAndEvade/MonoGame.Samples.ChaseAndEvade.Android.csproj
  3. BIN
      Samples/Android/ChaseAndEvade/Resources/Drawable/Icon.png
  4. BIN
      Samples/Android/ChaseAndEvade/Resources/Drawable/Splash.png
  5. 51 0
      Samples/Android/ChaseAndEvade/Resources/Resource.Designer.cs
  6. 7 0
      Samples/Android/ChaseAndEvade/Resources/Values/Styles.xml
  7. 2 2
      Samples/Android/Draw2D/Activity1.cs
  8. 6 13
      Samples/Android/Draw2D/MonoGame.Samples.Draw2D.Android.csproj
  9. 3 2
      Samples/Android/Draw2D/Properties/AndroidManifest.xml
  10. BIN
      Samples/Android/Draw2D/Resources/Drawable/Icon.png
  11. BIN
      Samples/Android/Draw2D/Resources/Drawable/Splash.png
  12. 0 7
      Samples/Android/Draw2D/Resources/Layout/Main.axml
  13. 6 17
      Samples/Android/Draw2D/Resources/Resource.Designer.cs
  14. 0 5
      Samples/Android/Draw2D/Resources/Values/Strings.xml
  15. 7 0
      Samples/Android/Draw2D/Resources/Values/Styles.xml
  16. 6 2
      Samples/Android/Peer2Peer/Activity1.cs
  17. 9 1
      Samples/Android/Peer2Peer/MonoGame.Samples.Peer2Peer.Android.csproj
  18. BIN
      Samples/Android/Peer2Peer/Resources/Drawable/Icon.png
  19. BIN
      Samples/Android/Peer2Peer/Resources/Drawable/Splash.png
  20. 51 0
      Samples/Android/Peer2Peer/Resources/Resource.Designer.cs
  21. 7 0
      Samples/Android/Peer2Peer/Resources/Values/Styles.xml
  22. 27 0
      Samples/Android/RenderTarget2D/Activity1.cs
  23. 19 0
      Samples/Android/RenderTarget2D/Assets/AboutAssets.txt
  24. 85 0
      Samples/Android/RenderTarget2D/MonoGame.Samples.RenderTarget2D.Android.csproj
  25. 6 0
      Samples/Android/RenderTarget2D/Properties/AndroidManifest.xml
  26. 27 0
      Samples/Android/RenderTarget2D/Properties/AssemblyInfo.cs
  27. 44 0
      Samples/Android/RenderTarget2D/Resources/AboutResources.txt
  28. 51 0
      Samples/Android/RenderTarget2D/Resources/Resource.designer.cs
  29. BIN
      Samples/Android/RenderTarget2D/Resources/drawable/Icon.png
  30. BIN
      Samples/Android/RenderTarget2D/Resources/drawable/Splash.png
  31. 7 0
      Samples/Android/RenderTarget2D/Resources/values/Styles.xml
  32. 27 0
      Samples/Android/Sound/Activity1.cs
  33. BIN
      Samples/Android/Sound/Assets/Content/Explosion1.mp3
  34. 36 0
      Samples/Android/Sound/Properties/AssemblyInfo.cs
  35. BIN
      Samples/Android/Sound/Resources/Drawable/Icon.png
  36. BIN
      Samples/Android/Sound/Resources/Drawable/Splash.png
  37. 51 0
      Samples/Android/Sound/Resources/Resource.Designer.cs
  38. 7 0
      Samples/Android/Sound/Resources/Values/Styles.xml
  39. 91 0
      Samples/Android/Sound/Sound.csproj
  40. 11 3
      Samples/Linux/Sound/Game1.cs
  41. 2 1
      Samples/MacOS/Peer2PeerSample/PeerToPeerGame.cs
  42. 23 6
      Samples/MacOS/RenderTarget2DSample/Game1.cs
  43. 1 1
      Samples/MacOS/RenderTarget2DSample/RenderTarget2DSample.csproj
  44. 25 8
      Samples/MonoGame.Samples.Android.sln
  45. 102 4
      Samples/MonoGame.Samples.Windows.sln
  46. 1 1
      Samples/Windows/Draw2D/MonoGame.Samples.Draw2D.Windows.csproj
  47. 2 2
      Samples/Windows/NetRumble/NetRumble.csproj
  48. 27 0
      Samples/Windows/RenderTarget2D/Program.cs
  49. 31 0
      Samples/Windows/RenderTarget2D/Properties/AssemblyInfo.cs
  50. 71 0
      Samples/Windows/RenderTarget2D/RenderTarget2D.csproj
  51. 2 1
      Samples/iOS/ChaseAndEvade/ChaseAndEvadeGame.cs
  52. 2 2
      Samples/iOS/Draw2D/FPSCounterComponent.cs
  53. 7 6
      Samples/iOS/Draw2D/Game1.cs
  54. 9 9
      StarterKits/Android/Cards/Resources/Resource.designer.cs
  55. 508 0
      StarterKits/Linux/Cards/BlackJack/BlackJack.Linux.csproj
  56. 33 0
      StarterKits/Linux/Cards/BlackJack/Program.Linux.cs
  57. 103 0
      StarterKits/Linux/Cards/CardsFramework/CardsFramework.Linux.csproj
  58. 0 2
      StarterKits/MonoGame.StarterKits.Android.sln
  59. 44 0
      StarterKits/MonoGame.StarterKits.Linux.sln
  60. 3 1
      StarterKits/iOS/Platformer/PlatformerGame.cs

+ 2 - 2
Samples/Android/ChaseAndEvade/Activity1.cs

@@ -5,8 +5,8 @@ using ChaseAndEvade;
 
 
 namespace MonoGame.Samples.ChaseAndEvade.Droid
 namespace MonoGame.Samples.ChaseAndEvade.Droid
 {
 {
-    [Activity(Label = "ChaseAndEvade", MainLauncher = true, ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.KeyboardHidden)]
-    public class Activity1 : Activity
+    [Activity(Label = "ChaseAndEvade", MainLauncher = true, ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.KeyboardHidden,Icon = "@drawable/icon", Theme = "@style/Theme.Splash", NoHistory = true)]
+    public class Activity1 : Microsoft.Xna.Framework.AndroidGameActivity
     {
     {
         protected override void OnCreate(Bundle bundle)
         protected override void OnCreate(Bundle bundle)
         {
         {

+ 9 - 0
Samples/Android/ChaseAndEvade/MonoGame.Samples.ChaseAndEvade.Android.csproj

@@ -78,6 +78,15 @@
   <ItemGroup>
   <ItemGroup>
     <Folder Include="Properties\" />
     <Folder Include="Properties\" />
   </ItemGroup>
   </ItemGroup>
+  <ItemGroup>
+    <AndroidResource Include="Resources\Drawable\Icon.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <AndroidResource Include="Resources\Drawable\Splash.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <AndroidResource Include="Resources\Values\Styles.xml" />
+  </ItemGroup>
   <Import Project="$(MSBuildExtensionsPath)\Novell\Novell.MonoDroid.CSharp.targets" />
   <Import Project="$(MSBuildExtensionsPath)\Novell\Novell.MonoDroid.CSharp.targets" />
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
      Other similar extension points exist, see Microsoft.Common.targets.
      Other similar extension points exist, see Microsoft.Common.targets.

BIN
Samples/Android/ChaseAndEvade/Resources/Drawable/Icon.png


BIN
Samples/Android/ChaseAndEvade/Resources/Drawable/Splash.png


+ 51 - 0
Samples/Android/ChaseAndEvade/Resources/Resource.Designer.cs

@@ -0,0 +1,51 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.235
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace MonoGame.Samples.ChaseAndEvade.Android
+{
+	
+	
+	public partial class Resource
+	{
+		
+		public partial class Attribute
+		{
+			
+			private Attribute()
+			{
+			}
+		}
+		
+		public partial class Drawable
+		{
+			
+			// aapt resource value: 0x7f020000
+			public const int Icon = 2130837504;
+			
+			// aapt resource value: 0x7f020001
+			public const int Splash = 2130837505;
+			
+			private Drawable()
+			{
+			}
+		}
+		
+		public partial class Style
+		{
+			
+			// aapt resource value: 0x7f030000
+			public const int Theme_Splash = 2130903040;
+			
+			private Style()
+			{
+			}
+		}
+	}
+}

+ 7 - 0
Samples/Android/ChaseAndEvade/Resources/Values/Styles.xml

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+  <style name="Theme.Splash" parent="android:Theme">
+    <item name="android:windowBackground">@drawable/splash</item>
+    <item name="android:windowNoTitle">true</item>
+  </style>
+</resources>

+ 2 - 2
Samples/Android/Draw2D/Activity1.cs

@@ -3,8 +3,8 @@ using Android.OS;
 
 
 namespace Microsoft.Xna.Samples.Draw2D
 namespace Microsoft.Xna.Samples.Draw2D
 {
 {
-    [Activity(Label = "Draw2D", MainLauncher = true, Icon = "@drawable/icon")]
-    public class Activity1 : Activity
+    [Activity(Label = "Draw2D", MainLauncher = true, Icon = "@drawable/icon", Theme = "@style/Theme.Splash")]
+    public class Activity1 : Microsoft.Xna.Framework.AndroidGameActivity
     {
     {
         protected override void OnCreate(Bundle bundle)
         protected override void OnCreate(Bundle bundle)
         {
         {

+ 6 - 13
Samples/Android/Draw2D/MonoGame.Samples.Draw2D.Android.csproj

@@ -57,22 +57,13 @@
       <Link>FPSCounterComponent.cs</Link>
       <Link>FPSCounterComponent.cs</Link>
     </Compile>
     </Compile>
   </ItemGroup>
   </ItemGroup>
-  <ItemGroup>
-    <AndroidResource Include="Resources\Layout\Main.axml" />
-  </ItemGroup>
-  <ItemGroup>
-    <AndroidResource Include="Resources\Values\Strings.xml" />
-  </ItemGroup>
-  <ItemGroup>
-    <AndroidResource Include="Resources\Drawable\Icon.png" />
-  </ItemGroup>
   <ItemGroup>
   <ItemGroup>
     <Content Include="Properties\AndroidManifest.xml" />
     <Content Include="Properties\AndroidManifest.xml" />
+    <AndroidResource Include="Resources\Values\Styles.xml" />
+    <AndroidResource Include="Resources\Drawable\Splash.png" />
+    <AndroidResource Include="Resources\Drawable\Icon.png" />
   </ItemGroup>
   </ItemGroup>
   <ItemGroup>
   <ItemGroup>
-    <AndroidAsset Include="..\..\iOS\Draw2D\Default.png">
-      <Link>Default.png</Link>
-    </AndroidAsset>
     <AndroidAsset Include="..\..\iOS\Draw2D\Content\monogameicon.png">
     <AndroidAsset Include="..\..\iOS\Draw2D\Content\monogameicon.png">
       <Link>Assets\Content\monogameicon.png</Link>
       <Link>Assets\Content\monogameicon.png</Link>
     </AndroidAsset>
     </AndroidAsset>
@@ -97,5 +88,7 @@
       <Name>MonoGame.Framework.Android</Name>
       <Name>MonoGame.Framework.Android</Name>
     </ProjectReference>
     </ProjectReference>
   </ItemGroup>
   </ItemGroup>
-  <ItemGroup />
+  <ItemGroup>
+    <Folder Include="Resources\Layout\" />
+  </ItemGroup>
 </Project>
 </Project>

+ 3 - 2
Samples/Android/Draw2D/Properties/AndroidManifest.xml

@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="internalOnly">
-  <application>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="auto" package="monogame.draw2d" android:versionCode="1" android:versionName="1">
+  <application android:label="draw2d">
   </application>
   </application>
   <uses-sdk android:minSdkVersion="9" />
   <uses-sdk android:minSdkVersion="9" />
+  <uses-permission android:name="android.permission.INTERNET" />
 </manifest>
 </manifest>

BIN
Samples/Android/Draw2D/Resources/Drawable/Icon.png


BIN
Samples/Android/Draw2D/Resources/Drawable/Splash.png


+ 0 - 7
Samples/Android/Draw2D/Resources/Layout/Main.axml

@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-    android:orientation="vertical"
-    android:layout_width="fill_parent"
-    android:layout_height="fill_parent"
-    >
-</LinearLayout>

+ 6 - 17
Samples/Android/Draw2D/Resources/Resource.Designer.cs

@@ -29,32 +29,21 @@ namespace MonoGame.Samples.Draw2D.Android
 			// aapt resource value: 0x7f020000
 			// aapt resource value: 0x7f020000
 			public const int Icon = 2130837504;
 			public const int Icon = 2130837504;
 			
 			
+			// aapt resource value: 0x7f020001
+			public const int Splash = 2130837505;
+			
 			private Drawable()
 			private Drawable()
 			{
 			{
 			}
 			}
 		}
 		}
 		
 		
-		public partial class Layout
+		public partial class Style
 		{
 		{
 			
 			
 			// aapt resource value: 0x7f030000
 			// aapt resource value: 0x7f030000
-			public const int Main = 2130903040;
-			
-			private Layout()
-			{
-			}
-		}
-		
-		public partial class String
-		{
-			
-			// aapt resource value: 0x7f040001
-			public const int ApplicationName = 2130968577;
-			
-			// aapt resource value: 0x7f040000
-			public const int Hello = 2130968576;
+			public const int Theme_Splash = 2130903040;
 			
 			
-			private String()
+			private Style()
 			{
 			{
 			}
 			}
 		}
 		}

+ 0 - 5
Samples/Android/Draw2D/Resources/Values/Strings.xml

@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<resources>
-    <string name="Hello">Hello World, Click Me!</string>
-    <string name="ApplicationName">MonoDroidXnaTouchGame</string>
-</resources>

+ 7 - 0
Samples/Android/Draw2D/Resources/Values/Styles.xml

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+  <style name="Theme.Splash" parent="android:Theme">
+    <item name="android:windowBackground">@drawable/splash</item>
+    <item name="android:windowNoTitle">true</item>
+  </style>
+</resources>

+ 6 - 2
Samples/Android/Peer2Peer/Activity1.cs

@@ -5,8 +5,12 @@ using PeerToPeer;
 
 
 namespace MonoGame.Samples.PeerToPeerGame.Droid
 namespace MonoGame.Samples.PeerToPeerGame.Droid
 {
 {
-    [Activity(Label = "Peer2Peer", MainLauncher = true, ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.KeyboardHidden)]
-    public class Activity1 : Activity
+    [Activity(Label = "Peer2Peer", MainLauncher = true,
+        ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.KeyboardHidden
+        , Icon = "@drawable/icon"
+        , Theme = "@style/Theme.Splash"
+        , NoHistory = true)]
+    public class Activity1 : Microsoft.Xna.Framework.AndroidGameActivity
     {
     {
         protected override void OnCreate(Bundle bundle)
         protected override void OnCreate(Bundle bundle)
         {
         {

+ 9 - 1
Samples/Android/Peer2Peer/MonoGame.Samples.Peer2Peer.Android.csproj

@@ -65,7 +65,6 @@
       <Name>MonoGame.Framework.Android</Name>
       <Name>MonoGame.Framework.Android</Name>
     </ProjectReference>
     </ProjectReference>
   </ItemGroup>
   </ItemGroup>
-  <ItemGroup />
   <Import Project="$(MSBuildExtensionsPath)\Novell\Novell.MonoDroid.CSharp.targets" />
   <Import Project="$(MSBuildExtensionsPath)\Novell\Novell.MonoDroid.CSharp.targets" />
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
      Other similar extension points exist, see Microsoft.Common.targets.
      Other similar extension points exist, see Microsoft.Common.targets.
@@ -91,4 +90,13 @@
   <ItemGroup>
   <ItemGroup>
     <None Include="Properties\AndroidManifest.xml" />
     <None Include="Properties\AndroidManifest.xml" />
   </ItemGroup>
   </ItemGroup>
+  <ItemGroup>
+    <AndroidResource Include="Resources\Drawable\Icon.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <AndroidResource Include="Resources\Drawable\Splash.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <AndroidResource Include="Resources\Values\Styles.xml" />
+  </ItemGroup>
 </Project>
 </Project>

BIN
Samples/Android/Peer2Peer/Resources/Drawable/Icon.png


BIN
Samples/Android/Peer2Peer/Resources/Drawable/Splash.png


+ 51 - 0
Samples/Android/Peer2Peer/Resources/Resource.Designer.cs

@@ -0,0 +1,51 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.235
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace MonoGame.Samples.Peer2Peer.Android
+{
+	
+	
+	public partial class Resource
+	{
+		
+		public partial class Attribute
+		{
+			
+			private Attribute()
+			{
+			}
+		}
+		
+		public partial class Drawable
+		{
+			
+			// aapt resource value: 0x7f020000
+			public const int Icon = 2130837504;
+			
+			// aapt resource value: 0x7f020001
+			public const int Splash = 2130837505;
+			
+			private Drawable()
+			{
+			}
+		}
+		
+		public partial class Style
+		{
+			
+			// aapt resource value: 0x7f030000
+			public const int Theme_Splash = 2130903040;
+			
+			private Style()
+			{
+			}
+		}
+	}
+}

+ 7 - 0
Samples/Android/Peer2Peer/Resources/Values/Styles.xml

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+  <style name="Theme.Splash" parent="android:Theme">
+    <item name="android:windowBackground">@drawable/splash</item>
+    <item name="android:windowNoTitle">true</item>
+  </style>
+</resources>

+ 27 - 0
Samples/Android/RenderTarget2D/Activity1.cs

@@ -0,0 +1,27 @@
+using System;
+
+using Android.App;
+using Android.Content;
+using Android.Runtime;
+using Android.Views;
+using Android.Widget;
+using Android.OS;
+
+namespace RenderTarget2DSample
+{
+    [Activity(Label = "RenderTarget2D", MainLauncher = true, Icon = "@drawable/icon"
+        , Theme = "@style/Theme.Splash")]
+	public class Activity1 : Microsoft.Xna.Framework.AndroidGameActivity
+	{
+		protected override void OnCreate (Bundle bundle)
+		{
+			base.OnCreate (bundle);
+
+			var g = new Game1(this);
+            SetContentView(g.Window);
+            g.Run();
+		}
+	}
+}
+
+

+ 19 - 0
Samples/Android/RenderTarget2D/Assets/AboutAssets.txt

@@ -0,0 +1,19 @@
+Any raw assets you want to be deployed with your application can be placed in
+this directory (and child directories) and given a Build Action of "AndroidAsset".
+
+These files will be deployed with you package and will be accessible using Android's
+AssetManager, like this:
+
+public class ReadAsset : Activity
+{
+	protected override void OnCreate (Bundle bundle)
+	{
+		base.OnCreate (bundle);
+
+		InputStream input = Assets.Open ("my_asset.txt");
+	}
+}
+
+Additionally, some Android functions will automatically load asset files:
+
+Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");

+ 85 - 0
Samples/Android/RenderTarget2D/MonoGame.Samples.RenderTarget2D.Android.csproj

@@ -0,0 +1,85 @@
+<?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>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>10.0.0</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{DEDD20B5-8F83-46FD-AD05-8F8FCC49FCD6}</ProjectGuid>
+    <ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <OutputType>Library</OutputType>
+    <RootNamespace>MonoGame.Samples.RenderTarget2D.Android</RootNamespace>
+    <MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
+    <MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
+    <AndroidResgenClass>Resource</AndroidResgenClass>
+    <AndroidApplication>True</AndroidApplication>
+    <AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
+    <AssemblyName>MonoGame.Samples.RenderTarget2D.Android</AssemblyName>
+    <AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug</OutputPath>
+    <DefineConstants>DEBUG;ANDROID</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <ConsolePause>false</ConsolePause>
+    <AndroidLinkMode>None</AndroidLinkMode>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>none</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Release</OutputPath>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <ConsolePause>false</ConsolePause>
+    <AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
+    <AndroidLinkMode>SdkOnly</AndroidLinkMode>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Xml" />
+    <Reference Include="System.Core" />
+    <Reference Include="Mono.Android" />
+    <Reference Include="OpenTK" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Activity1.cs" />
+    <Compile Include="Resources\Resource.designer.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="..\..\MacOS\RenderTarget2DSample\Game1.cs">
+      <Link>Game1.cs</Link>
+    </Compile>
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="Resources\AboutResources.txt" />
+    <None Include="Assets\AboutAssets.txt" />
+  </ItemGroup>
+  <Import Project="$(MSBuildExtensionsPath)\Novell\Novell.MonoDroid.CSharp.targets" />
+  <ItemGroup>
+    <AndroidAsset Include="..\..\MacOS\RenderTarget2DSample\Content\MooTheMerciless.xnb">
+      <Link>Assets\Content\MooTheMerciless.xnb</Link>
+    </AndroidAsset>
+    <AndroidAsset Include="..\..\MacOS\RenderTarget2DSample\Content\wood.xnb">
+      <Link>Assets\Content\wood.xnb</Link>
+    </AndroidAsset>
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\..\..\MonoGame\MonoGame.Framework\MonoGame.Framework.Android.csproj">
+      <Project>{BA9476CF-99BA-4D03-92F2-73D2C5E58883}</Project>
+      <Name>MonoGame.Framework.Android</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <ItemGroup>
+    <AndroidResource Include="Resources\drawable\Splash.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <AndroidResource Include="Resources\values\Styles.xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Content Include="Properties\AndroidManifest.xml" />
+    <AndroidResource Include="Resources\drawable\Icon.png" />
+  </ItemGroup>
+</Project>

+ 6 - 0
Samples/Android/RenderTarget2D/Properties/AndroidManifest.xml

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
+  <application>
+  </application>
+  <uses-sdk android:minSdkVersion="4" />
+</manifest>

+ 27 - 0
Samples/Android/RenderTarget2D/Properties/AssemblyInfo.cs

@@ -0,0 +1,27 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+// Information about this assembly is defined by the following attributes. 
+// Change them to the values specific to your project.
+
+[assembly: AssemblyTitle("MonoGame.Samples.RenderTarget2D.Android")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("")]
+[assembly: AssemblyCopyright("savagesoftware")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
+// The form "{Major}.{Minor}.*" will automatically update the build and revision,
+// and "{Major}.{Minor}.{Build}.*" will update just the revision.
+
+[assembly: AssemblyVersion("1.0.*")]
+
+// The following attributes are used to specify the signing key for the assembly, 
+// if desired. See the Mono documentation for more information about signing.
+
+//[assembly: AssemblyDelaySign(false)]
+//[assembly: AssemblyKeyFile("")]
+

+ 44 - 0
Samples/Android/RenderTarget2D/Resources/AboutResources.txt

@@ -0,0 +1,44 @@
+Images, layout descriptions, binary blobs and string dictionaries can be included 
+in your application as resource files.  Various Android APIs are designed to 
+operate on the resource IDs instead of dealing with images, strings or binary blobs 
+directly.
+
+For example, a sample Android app that contains a user interface layout (main.axml),
+an internationalization string table (strings.xml) and some icons (drawable-XXX/icon.png) 
+would keep its resources in the "Resources" directory of the application:
+
+Resources/
+    drawable/
+        icon.png
+
+    layout/
+        main.axml
+
+    values/
+        strings.xml
+
+In order to get the build system to recognize Android resources, set the build action to
+"AndroidResource".  The native Android APIs do not operate directly with filenames, but 
+instead operate on resource IDs.  When you compile an Android application that uses resources, 
+the build system will package the resources for distribution and generate a class called "R" 
+(this is an Android convention) that contains the tokens for each one of the resources 
+included. For example, for the above Resources layout, this is what the R class would expose:
+
+public class R {
+    public class drawable {
+        public const int icon = 0x123;
+    }
+
+    public class layout {
+        public const int main = 0x456;
+    }
+
+    public class strings {
+        public const int first_string = 0xabc;
+        public const int second_string = 0xbcd;
+    }
+}
+
+You would then use R.drawable.icon to reference the drawable/icon.png file, or R.layout.main 
+to reference the layout/main.axml file, or R.strings.first_string to reference the first 
+string in the dictionary file values/strings.xml.

+ 51 - 0
Samples/Android/RenderTarget2D/Resources/Resource.designer.cs

@@ -0,0 +1,51 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.237
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace MonoGame.Samples.RenderTarget2D.Android
+{
+	
+	
+	public partial class Resource
+	{
+		
+		public partial class Attribute
+		{
+			
+			private Attribute()
+			{
+			}
+		}
+		
+		public partial class Drawable
+		{
+			
+			// aapt resource value: 0x7f020000
+			public const int Icon = 2130837504;
+			
+			// aapt resource value: 0x7f020001
+			public const int Splash = 2130837505;
+			
+			private Drawable()
+			{
+			}
+		}
+		
+		public partial class Style
+		{
+			
+			// aapt resource value: 0x7f030000
+			public const int Theme_Splash = 2130903040;
+			
+			private Style()
+			{
+			}
+		}
+	}
+}

BIN
Samples/Android/RenderTarget2D/Resources/drawable/Icon.png


BIN
Samples/Android/RenderTarget2D/Resources/drawable/Splash.png


+ 7 - 0
Samples/Android/RenderTarget2D/Resources/values/Styles.xml

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+  <style name="Theme.Splash" parent="android:Theme">
+    <item name="android:windowBackground">@drawable/splash</item>
+    <item name="android:windowNoTitle">true</item>
+  </style>
+</resources>

+ 27 - 0
Samples/Android/Sound/Activity1.cs

@@ -0,0 +1,27 @@
+using System;
+
+using Android.App;
+using Android.Content;
+using Android.Runtime;
+using Android.Views;
+using Android.Widget;
+using Android.OS;
+using Microsoft.Xna.Framework;
+
+namespace Microsoft.Xna.Samples.Sound
+{
+    [Activity(Label = "Sound", MainLauncher = true, Icon = "@drawable/icon"
+        , Theme = "@style/Theme.Splash")]
+    public class Activity1 : AndroidGameActivity
+    {
+        protected override void OnCreate(Bundle bundle)
+        {
+            base.OnCreate(bundle);
+
+            var g = new Game1(this);
+            SetContentView(g.Window);
+            g.Run();
+               
+        }
+    }
+}

BIN
Samples/Android/Sound/Assets/Content/Explosion1.mp3


+ 36 - 0
Samples/Android/Sound/Properties/AssemblyInfo.cs

@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following 
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Sound")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Sound")]
+[assembly: AssemblyCopyright("Copyright ©  2011")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible 
+// to COM components.  If you need to access a type in this assembly from 
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("a557ce8c-9dbe-4b93-8fc4-95ffc126cf14")]
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version 
+//      Build Number
+//      Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers 
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

BIN
Samples/Android/Sound/Resources/Drawable/Icon.png


BIN
Samples/Android/Sound/Resources/Drawable/Splash.png


+ 51 - 0
Samples/Android/Sound/Resources/Resource.Designer.cs

@@ -0,0 +1,51 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.237
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace Sound
+{
+	
+	
+	public partial class Resource
+	{
+		
+		public partial class Attribute
+		{
+			
+			private Attribute()
+			{
+			}
+		}
+		
+		public partial class Drawable
+		{
+			
+			// aapt resource value: 0x7f020000
+			public const int Icon = 2130837504;
+			
+			// aapt resource value: 0x7f020001
+			public const int Splash = 2130837505;
+			
+			private Drawable()
+			{
+			}
+		}
+		
+		public partial class Style
+		{
+			
+			// aapt resource value: 0x7f030000
+			public const int Theme_Splash = 2130903040;
+			
+			private Style()
+			{
+			}
+		}
+	}
+}

+ 7 - 0
Samples/Android/Sound/Resources/Values/Styles.xml

@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+  <style name="Theme.Splash" parent="android:Theme">
+    <item name="android:windowBackground">@drawable/splash</item>
+    <item name="android:windowNoTitle">true</item>
+  </style>
+</resources>

+ 91 - 0
Samples/Android/Sound/Sound.csproj

@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>8.0.30703</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{E2B6ED3C-A769-47AF-9605-A7410F194B1C}</ProjectGuid>
+    <ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>Sound</RootNamespace>
+    <AssemblyName>Sound</AssemblyName>
+    <FileAlignment>512</FileAlignment>
+    <AndroidApplication>true</AndroidApplication>
+    <AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile>
+    <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>TRACE;DEBUG;ANDROID</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AndroidUseSharedRuntime>True</AndroidUseSharedRuntime>
+    <AndroidLinkMode>None</AndroidLinkMode>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE;ANDROID</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <AndroidUseSharedRuntime>False</AndroidUseSharedRuntime>
+    <AndroidLinkMode>SdkOnly</AndroidLinkMode>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="Mono.Android" />
+    <Reference Include="mscorlib" />
+    <Reference Include="OpenTK" />
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="..\..\Linux\Sound\Game1.cs">
+      <Link>Game1.cs</Link>
+    </Compile>
+    <Compile Include="Activity1.cs" />
+    <Compile Include="Resources\Resource.Designer.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <AndroidResource Include="Resources\Drawable\Icon.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <AndroidResource Include="Resources\Drawable\Splash.png" />
+  </ItemGroup>
+  <ItemGroup>
+    <AndroidResource Include="Resources\Values\Styles.xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\..\..\MonoGame\MonoGame.Framework\MonoGame.Framework.Android.csproj">
+      <Project>{BA9476CF-99BA-4D03-92F2-73D2C5E58883}</Project>
+      <Name>MonoGame.Framework.Android</Name>
+    </ProjectReference>
+    <ProjectReference Include="..\..\..\..\MonoGame\ThirdParty\Lidgren.Network\Lidgren.Network.Android.csproj">
+      <Project>{565129E0-4EE5-4F6F-B403-C3484C9740BE}</Project>
+      <Name>Lidgren.Network.Android</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <ItemGroup>
+    <AndroidAsset Include="..\..\iOS\SpriteFont\Content\SpriteFont1.xnb">
+      <Link>Assets\Content\SpriteFont1.xnb</Link>
+    </AndroidAsset>
+  </ItemGroup>
+  <ItemGroup>
+    <AndroidAsset Include="Assets\Content\Explosion1.mp3" />
+  </ItemGroup>
+  <Import Project="$(MSBuildExtensionsPath)\Novell\Novell.MonoDroid.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+     Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>

+ 11 - 3
Samples/Linux/Sound/Game1.cs

@@ -27,7 +27,7 @@ namespace Microsoft.Xna.Samples.Sound
 		SpriteFont font;
 		SpriteFont font;
 		
 		
 #if ANDROID 
 #if ANDROID 
-		public Game1 (Activity activity) : base (activity)
+		public Game1 (AndroidGameActivity activity) : base (activity)
 #else 
 #else 
         public Game1 ()  
         public Game1 ()  
 #endif
 #endif
@@ -66,7 +66,7 @@ namespace Microsoft.Xna.Samples.Sound
 			// Create a new SpriteBatch, which can be used to draw textures.
 			// Create a new SpriteBatch, which can be used to draw textures.
 			spriteBatch = new SpriteBatch(GraphicsDevice);
 			spriteBatch = new SpriteBatch(GraphicsDevice);
 
 
-			sound = Content.Load<SoundEffect>("Explosion1");
+			sound = Content.Load<SoundEffect>("explosion1");
 			soundInst = sound.CreateInstance();
 			soundInst = sound.CreateInstance();
 			
 			
 			font = Content.Load<SpriteFont>("spriteFont1");
 			font = Content.Load<SpriteFont>("spriteFont1");
@@ -80,7 +80,15 @@ namespace Microsoft.Xna.Samples.Sound
 		protected override void Update (GameTime gameTime)
 		protected override void Update (GameTime gameTime)
 		{
 		{
 			KeyboardState ks = Keyboard.GetState();
 			KeyboardState ks = Keyboard.GetState();
-			
+            
+#if ANDROID
+            if (soundInst.State != SoundState.Playing)
+            {
+                soundInst.Volume = 1f;
+                soundInst.IsLooped = true;
+                soundInst.Play();
+            }
+#endif
 			
 			
 			if (ks[Keys.Escape] == KeyState.Down)
 			if (ks[Keys.Escape] == KeyState.Down)
 				base.Exit();
 				base.Exit();

+ 2 - 1
Samples/MacOS/Peer2PeerSample/PeerToPeerGame.cs

@@ -55,7 +55,8 @@ namespace PeerToPeer
 
 
 
 
 #if ANDROID 
 #if ANDROID 
-		public PeerToPeerGame (Activity activity) : base (activity)
+        public PeerToPeerGame(AndroidGameActivity activity)
+            : base(activity)
 #else 
 #else 
         public PeerToPeerGame ()  
         public PeerToPeerGame ()  
 #endif
 #endif

+ 23 - 6
Samples/MacOS/RenderTarget2DSample/Game1.cs

@@ -1,6 +1,11 @@
 using System;
 using System;
 using System.Collections.Generic;
 using System.Collections.Generic;
 using System.Linq;
 using System.Linq;
+
+#if ANDROID
+using Android.App;
+#endif
+
 using Microsoft.Xna.Framework;
 using Microsoft.Xna.Framework;
 using Microsoft.Xna.Framework.Audio;
 using Microsoft.Xna.Framework.Audio;
 using Microsoft.Xna.Framework.Content;
 using Microsoft.Xna.Framework.Content;
@@ -45,11 +50,24 @@ namespace RenderTarget2DSample
 		/// <summary>
 		/// <summary>
 		/// The constructor for our Game1 class.
 		/// The constructor for our Game1 class.
 		/// </summary>
 		/// </summary>
-		public Game1 ()
+#if ANDROID
+        public Game1(AndroidGameActivity activity)
+            : base(activity)
+#else 
+        public Game1 ()  
+#endif
 		{
 		{
 			// Create the GraphicsDeviceManager for our game.
 			// Create the GraphicsDeviceManager for our game.
 			graphics = new GraphicsDeviceManager (this);
 			graphics = new GraphicsDeviceManager (this);
 
 
+#if ANDROID || IOS
+            graphics.IsFullScreen = true;
+#else
+			graphics.PreferredBackBufferWidth = 800;
+			graphics.PreferredBackBufferHeight = 600;
+			graphics.IsFullScreen = false;
+#endif
+
 			// Set the root directory of the game's ContentManager to the "Content" folder.
 			// Set the root directory of the game's ContentManager to the "Content" folder.
 			Content.RootDirectory = "Content";
 			Content.RootDirectory = "Content";
 		}
 		}
@@ -72,8 +90,7 @@ namespace RenderTarget2DSample
 		/// all of your content.
 		/// all of your content.
 		/// </summary>
 		/// </summary>
 		protected override void LoadContent ()
 		protected override void LoadContent ()
-		{
-
+		{           
 			// Create a new SpriteBatch, which can be used to draw textures.
 			// Create a new SpriteBatch, which can be used to draw textures.
 			spriteBatch = new SpriteBatch (GraphicsDevice);
 			spriteBatch = new SpriteBatch (GraphicsDevice);
 
 
@@ -82,7 +99,7 @@ namespace RenderTarget2DSample
 			// has no depth buffer or stencil buffer.
 			// has no depth buffer or stencil buffer.
 			renderTarget = new RenderTarget2D (GraphicsDevice, GraphicsDevice.PresentationParameters.BackBufferWidth,
 			renderTarget = new RenderTarget2D (GraphicsDevice, GraphicsDevice.PresentationParameters.BackBufferWidth,
 				GraphicsDevice.PresentationParameters.BackBufferHeight, false, SurfaceFormat.Color, DepthFormat.None);
 				GraphicsDevice.PresentationParameters.BackBufferHeight, false, SurfaceFormat.Color, DepthFormat.None);
-
+            
 			// Load in the picture of Seamus.
 			// Load in the picture of Seamus.
 			mooTheMerciless = Content.Load<Texture2D> ("MooTheMerciless");
 			mooTheMerciless = Content.Load<Texture2D> ("MooTheMerciless");
 
 
@@ -142,8 +159,8 @@ namespace RenderTarget2DSample
 		{
 		{
 			
 			
 			// A one time only flag to help test for memory leaks
 			// A one time only flag to help test for memory leaks
-			if (oneTimeOnly) {
-				
+			if (oneTimeOnly) 
+			{				
 				oneTimeOnly = false;
 				oneTimeOnly = false;
 
 
 				// Set renderTarget as the surface to draw to instead of the back buffer
 				// Set renderTarget as the surface to draw to instead of the back buffer

+ 1 - 1
Samples/MacOS/RenderTarget2DSample/RenderTarget2DSample.csproj

@@ -6,7 +6,7 @@
     <ProductVersion>10.0.0</ProductVersion>
     <ProductVersion>10.0.0</ProductVersion>
     <SchemaVersion>2.0</SchemaVersion>
     <SchemaVersion>2.0</SchemaVersion>
     <ProjectGuid>{973C423F-0CC0-4230-9E67-D944ED70ED19}</ProjectGuid>
     <ProjectGuid>{973C423F-0CC0-4230-9E67-D944ED70ED19}</ProjectGuid>
-    <ProjectTypeGuids>{1C533B1C-72DD-4CB1-9F6B-BF11D93BCFBE};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <ProjectTypeGuids>{948B3504-5B70-4649-8FE4-BDE1FB46EC69};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
     <OutputType>Exe</OutputType>
     <OutputType>Exe</OutputType>
     <RootNamespace>RenderTarget2DSample</RootNamespace>
     <RootNamespace>RenderTarget2DSample</RootNamespace>
     <AssemblyName>RenderTarget2DSample</AssemblyName>
     <AssemblyName>RenderTarget2DSample</AssemblyName>

+ 25 - 8
Samples/MonoGame.Samples.Android.sln

@@ -11,6 +11,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoGame.Samples.Draw2D.And
 EndProject
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoGame.Samples.Peer2Peer.Android", "Android\Peer2Peer\MonoGame.Samples.Peer2Peer.Android.csproj", "{56F6C06F-6F07-402E-89A5-39EDB037A516}"
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoGame.Samples.Peer2Peer.Android", "Android\Peer2Peer\MonoGame.Samples.Peer2Peer.Android.csproj", "{56F6C06F-6F07-402E-89A5-39EDB037A516}"
 EndProject
 EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoGame.Samples.RenderTarget2D.Android", "Android\RenderTarget2D\MonoGame.Samples.RenderTarget2D.Android.csproj", "{DEDD20B5-8F83-46FD-AD05-8F8FCC49FCD6}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sound", "Android\Sound\Sound.csproj", "{E2B6ED3C-A769-47AF-9605-A7410F194B1C}"
+EndProject
 Global
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|Any CPU = Debug|Any CPU
 		Debug|Any CPU = Debug|Any CPU
@@ -21,14 +25,6 @@ Global
 		{565129E0-4EE5-4F6F-B403-C3484C9740BE}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{565129E0-4EE5-4F6F-B403-C3484C9740BE}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{565129E0-4EE5-4F6F-B403-C3484C9740BE}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{565129E0-4EE5-4F6F-B403-C3484C9740BE}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{565129E0-4EE5-4F6F-B403-C3484C9740BE}.Release|Any CPU.Build.0 = Release|Any CPU
 		{565129E0-4EE5-4F6F-B403-C3484C9740BE}.Release|Any CPU.Build.0 = Release|Any CPU
-		{56F6C06F-6F07-402E-89A5-39EDB037A516}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-		{56F6C06F-6F07-402E-89A5-39EDB037A516}.Debug|Any CPU.Build.0 = Debug|Any CPU
-		{56F6C06F-6F07-402E-89A5-39EDB037A516}.Release|Any CPU.ActiveCfg = Release|Any CPU
-		{56F6C06F-6F07-402E-89A5-39EDB037A516}.Release|Any CPU.Build.0 = Release|Any CPU
-		{616BBFA6-52F2-40A1-AA76-1CF2BD6390D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-		{616BBFA6-52F2-40A1-AA76-1CF2BD6390D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
-		{616BBFA6-52F2-40A1-AA76-1CF2BD6390D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
-		{616BBFA6-52F2-40A1-AA76-1CF2BD6390D5}.Release|Any CPU.Build.0 = Release|Any CPU
 		{BA9476CF-99BA-4D03-92F2-73D2C5E58883}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 		{BA9476CF-99BA-4D03-92F2-73D2C5E58883}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 		{BA9476CF-99BA-4D03-92F2-73D2C5E58883}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{BA9476CF-99BA-4D03-92F2-73D2C5E58883}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{BA9476CF-99BA-4D03-92F2-73D2C5E58883}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{BA9476CF-99BA-4D03-92F2-73D2C5E58883}.Release|Any CPU.ActiveCfg = Release|Any CPU
@@ -37,6 +33,27 @@ Global
 		{F05F90DC-DD37-4967-A96A-8D36C1C23E81}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{F05F90DC-DD37-4967-A96A-8D36C1C23E81}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{F05F90DC-DD37-4967-A96A-8D36C1C23E81}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{F05F90DC-DD37-4967-A96A-8D36C1C23E81}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{F05F90DC-DD37-4967-A96A-8D36C1C23E81}.Release|Any CPU.Build.0 = Release|Any CPU
 		{F05F90DC-DD37-4967-A96A-8D36C1C23E81}.Release|Any CPU.Build.0 = Release|Any CPU
+		{616BBFA6-52F2-40A1-AA76-1CF2BD6390D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{616BBFA6-52F2-40A1-AA76-1CF2BD6390D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{616BBFA6-52F2-40A1-AA76-1CF2BD6390D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{616BBFA6-52F2-40A1-AA76-1CF2BD6390D5}.Release|Any CPU.Build.0 = Release|Any CPU
+		{56F6C06F-6F07-402E-89A5-39EDB037A516}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{56F6C06F-6F07-402E-89A5-39EDB037A516}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{56F6C06F-6F07-402E-89A5-39EDB037A516}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{56F6C06F-6F07-402E-89A5-39EDB037A516}.Release|Any CPU.Build.0 = Release|Any CPU
+		{DEDD20B5-8F83-46FD-AD05-8F8FCC49FCD6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{DEDD20B5-8F83-46FD-AD05-8F8FCC49FCD6}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{DEDD20B5-8F83-46FD-AD05-8F8FCC49FCD6}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{DEDD20B5-8F83-46FD-AD05-8F8FCC49FCD6}.Release|Any CPU.Build.0 = Release|Any CPU
+		{E2B6ED3C-A769-47AF-9605-A7410F194B1C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{E2B6ED3C-A769-47AF-9605-A7410F194B1C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{E2B6ED3C-A769-47AF-9605-A7410F194B1C}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
+		{E2B6ED3C-A769-47AF-9605-A7410F194B1C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{E2B6ED3C-A769-47AF-9605-A7410F194B1C}.Release|Any CPU.Build.0 = Release|Any CPU
+		{E2B6ED3C-A769-47AF-9605-A7410F194B1C}.Release|Any CPU.Deploy.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
 	EndGlobalSection
 	EndGlobalSection
 	GlobalSection(MonoDevelopProperties) = preSolution
 	GlobalSection(MonoDevelopProperties) = preSolution
 		StartupItem = Android\Draw2D\MonoGame.Samples.Draw2D.Android.csproj
 		StartupItem = Android\Draw2D\MonoGame.Samples.Draw2D.Android.csproj

+ 102 - 4
Samples/MonoGame.Samples.Windows.sln

@@ -1,13 +1,111 @@
 
 
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+# SharpDevelop 4.0.0.7070
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lidgren.Network.Windows", "..\..\MonoGame\ThirdParty\Lidgren.Network\Lidgren.Network.Windows.csproj", "{AE483C29-042E-4226-BA52-D247CE7676DA}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoGame.Framework.Windows", "..\..\MonoGame\MonoGame.Framework\MonoGame.Framework.Windows.csproj", "{7DE47032-A904-4C29-BD22-2D235E8D91BA}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoGame.Samples.Draw2D.Windows", "Windows\Draw2D\MonoGame.Samples.Draw2D.Windows.csproj", "{8CFEF1FE-9E32-43EB-A730-EB3AACDC77B1}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NetRumble", "Windows\NetRumble\NetRumble.csproj", "{36CDED1D-BE90-4C12-BC0A-F923AB92B98D}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RenderTarget2D", "Windows\RenderTarget2D\RenderTarget2D.csproj", "{B3DD03E0-4DEC-45A0-A481-2CF90A51C516}"
+EndProject
 Global
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
-		Debug|iPhoneSimulator = Debug|iPhoneSimulator
-		Release|iPhoneSimulator = Release|iPhoneSimulator
+		Debug|Any CPU = Debug|Any CPU
 		Debug|iPhone = Debug|iPhone
 		Debug|iPhone = Debug|iPhone
+		Debug|iPhoneSimulator = Debug|iPhoneSimulator
+		Debug|Mixed Platforms = Debug|Mixed Platforms
+		Debug|x86 = Debug|x86
+		Release|Any CPU = Release|Any CPU
 		Release|iPhone = Release|iPhone
 		Release|iPhone = Release|iPhone
+		Release|iPhoneSimulator = Release|iPhoneSimulator
+		Release|Mixed Platforms = Release|Mixed Platforms
+		Release|x86 = Release|x86
 	EndGlobalSection
 	EndGlobalSection
 	GlobalSection(ProjectConfigurationPlatforms) = postSolution
 	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{AE483C29-042E-4226-BA52-D247CE7676DA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{AE483C29-042E-4226-BA52-D247CE7676DA}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{AE483C29-042E-4226-BA52-D247CE7676DA}.Debug|iPhone.ActiveCfg = Debug|Any CPU
+		{AE483C29-042E-4226-BA52-D247CE7676DA}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
+		{AE483C29-042E-4226-BA52-D247CE7676DA}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+		{AE483C29-042E-4226-BA52-D247CE7676DA}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+		{AE483C29-042E-4226-BA52-D247CE7676DA}.Debug|x86.ActiveCfg = Debug|Any CPU
+		{AE483C29-042E-4226-BA52-D247CE7676DA}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{AE483C29-042E-4226-BA52-D247CE7676DA}.Release|Any CPU.Build.0 = Release|Any CPU
+		{AE483C29-042E-4226-BA52-D247CE7676DA}.Release|iPhone.ActiveCfg = Release|Any CPU
+		{AE483C29-042E-4226-BA52-D247CE7676DA}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
+		{AE483C29-042E-4226-BA52-D247CE7676DA}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+		{AE483C29-042E-4226-BA52-D247CE7676DA}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+		{AE483C29-042E-4226-BA52-D247CE7676DA}.Release|x86.ActiveCfg = Release|Any CPU
+		{7DE47032-A904-4C29-BD22-2D235E8D91BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{7DE47032-A904-4C29-BD22-2D235E8D91BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{7DE47032-A904-4C29-BD22-2D235E8D91BA}.Debug|iPhone.ActiveCfg = Debug|Any CPU
+		{7DE47032-A904-4C29-BD22-2D235E8D91BA}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
+		{7DE47032-A904-4C29-BD22-2D235E8D91BA}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+		{7DE47032-A904-4C29-BD22-2D235E8D91BA}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+		{7DE47032-A904-4C29-BD22-2D235E8D91BA}.Debug|x86.ActiveCfg = Debug|x86
+		{7DE47032-A904-4C29-BD22-2D235E8D91BA}.Debug|x86.Build.0 = Debug|x86
+		{7DE47032-A904-4C29-BD22-2D235E8D91BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{7DE47032-A904-4C29-BD22-2D235E8D91BA}.Release|Any CPU.Build.0 = Release|Any CPU
+		{7DE47032-A904-4C29-BD22-2D235E8D91BA}.Release|iPhone.ActiveCfg = Release|Any CPU
+		{7DE47032-A904-4C29-BD22-2D235E8D91BA}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
+		{7DE47032-A904-4C29-BD22-2D235E8D91BA}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+		{7DE47032-A904-4C29-BD22-2D235E8D91BA}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+		{7DE47032-A904-4C29-BD22-2D235E8D91BA}.Release|x86.ActiveCfg = Release|x86
+		{7DE47032-A904-4C29-BD22-2D235E8D91BA}.Release|x86.Build.0 = Release|x86
+		{8CFEF1FE-9E32-43EB-A730-EB3AACDC77B1}.Debug|Any CPU.ActiveCfg = Debug|x86
+		{8CFEF1FE-9E32-43EB-A730-EB3AACDC77B1}.Debug|iPhone.ActiveCfg = Debug|x86
+		{8CFEF1FE-9E32-43EB-A730-EB3AACDC77B1}.Debug|iPhoneSimulator.ActiveCfg = Debug|x86
+		{8CFEF1FE-9E32-43EB-A730-EB3AACDC77B1}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
+		{8CFEF1FE-9E32-43EB-A730-EB3AACDC77B1}.Debug|Mixed Platforms.Build.0 = Debug|x86
+		{8CFEF1FE-9E32-43EB-A730-EB3AACDC77B1}.Debug|x86.ActiveCfg = Debug|x86
+		{8CFEF1FE-9E32-43EB-A730-EB3AACDC77B1}.Debug|x86.Build.0 = Debug|x86
+		{8CFEF1FE-9E32-43EB-A730-EB3AACDC77B1}.Release|Any CPU.ActiveCfg = Release|x86
+		{8CFEF1FE-9E32-43EB-A730-EB3AACDC77B1}.Release|iPhone.ActiveCfg = Release|x86
+		{8CFEF1FE-9E32-43EB-A730-EB3AACDC77B1}.Release|iPhoneSimulator.ActiveCfg = Release|x86
+		{8CFEF1FE-9E32-43EB-A730-EB3AACDC77B1}.Release|Mixed Platforms.ActiveCfg = Release|x86
+		{8CFEF1FE-9E32-43EB-A730-EB3AACDC77B1}.Release|Mixed Platforms.Build.0 = Release|x86
+		{8CFEF1FE-9E32-43EB-A730-EB3AACDC77B1}.Release|x86.ActiveCfg = Release|x86
+		{8CFEF1FE-9E32-43EB-A730-EB3AACDC77B1}.Release|x86.Build.0 = Release|x86
+		{36CDED1D-BE90-4C12-BC0A-F923AB92B98D}.Debug|Any CPU.ActiveCfg = Debug|x86
+		{36CDED1D-BE90-4C12-BC0A-F923AB92B98D}.Debug|iPhone.ActiveCfg = Debug|x86
+		{36CDED1D-BE90-4C12-BC0A-F923AB92B98D}.Debug|iPhoneSimulator.ActiveCfg = Debug|x86
+		{36CDED1D-BE90-4C12-BC0A-F923AB92B98D}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
+		{36CDED1D-BE90-4C12-BC0A-F923AB92B98D}.Debug|Mixed Platforms.Build.0 = Debug|x86
+		{36CDED1D-BE90-4C12-BC0A-F923AB92B98D}.Debug|x86.ActiveCfg = Debug|x86
+		{36CDED1D-BE90-4C12-BC0A-F923AB92B98D}.Debug|x86.Build.0 = Debug|x86
+		{36CDED1D-BE90-4C12-BC0A-F923AB92B98D}.Release|Any CPU.ActiveCfg = Release|x86
+		{36CDED1D-BE90-4C12-BC0A-F923AB92B98D}.Release|iPhone.ActiveCfg = Release|x86
+		{36CDED1D-BE90-4C12-BC0A-F923AB92B98D}.Release|iPhoneSimulator.ActiveCfg = Release|x86
+		{36CDED1D-BE90-4C12-BC0A-F923AB92B98D}.Release|Mixed Platforms.ActiveCfg = Release|x86
+		{36CDED1D-BE90-4C12-BC0A-F923AB92B98D}.Release|Mixed Platforms.Build.0 = Release|x86
+		{36CDED1D-BE90-4C12-BC0A-F923AB92B98D}.Release|x86.ActiveCfg = Release|x86
+		{36CDED1D-BE90-4C12-BC0A-F923AB92B98D}.Release|x86.Build.0 = Release|x86
+		{B3DD03E0-4DEC-45A0-A481-2CF90A51C516}.Debug|Any CPU.Build.0 = Debug|x86
+		{B3DD03E0-4DEC-45A0-A481-2CF90A51C516}.Debug|Any CPU.ActiveCfg = Debug|x86
+		{B3DD03E0-4DEC-45A0-A481-2CF90A51C516}.Debug|iPhone.Build.0 = Debug|x86
+		{B3DD03E0-4DEC-45A0-A481-2CF90A51C516}.Debug|iPhone.ActiveCfg = Debug|x86
+		{B3DD03E0-4DEC-45A0-A481-2CF90A51C516}.Debug|iPhoneSimulator.Build.0 = Debug|x86
+		{B3DD03E0-4DEC-45A0-A481-2CF90A51C516}.Debug|iPhoneSimulator.ActiveCfg = Debug|x86
+		{B3DD03E0-4DEC-45A0-A481-2CF90A51C516}.Debug|Mixed Platforms.Build.0 = Debug|x86
+		{B3DD03E0-4DEC-45A0-A481-2CF90A51C516}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
+		{B3DD03E0-4DEC-45A0-A481-2CF90A51C516}.Debug|x86.Build.0 = Debug|x86
+		{B3DD03E0-4DEC-45A0-A481-2CF90A51C516}.Debug|x86.ActiveCfg = Debug|x86
+		{B3DD03E0-4DEC-45A0-A481-2CF90A51C516}.Release|Any CPU.Build.0 = Release|x86
+		{B3DD03E0-4DEC-45A0-A481-2CF90A51C516}.Release|Any CPU.ActiveCfg = Release|x86
+		{B3DD03E0-4DEC-45A0-A481-2CF90A51C516}.Release|iPhone.Build.0 = Release|x86
+		{B3DD03E0-4DEC-45A0-A481-2CF90A51C516}.Release|iPhone.ActiveCfg = Release|x86
+		{B3DD03E0-4DEC-45A0-A481-2CF90A51C516}.Release|iPhoneSimulator.Build.0 = Release|x86
+		{B3DD03E0-4DEC-45A0-A481-2CF90A51C516}.Release|iPhoneSimulator.ActiveCfg = Release|x86
+		{B3DD03E0-4DEC-45A0-A481-2CF90A51C516}.Release|Mixed Platforms.Build.0 = Release|x86
+		{B3DD03E0-4DEC-45A0-A481-2CF90A51C516}.Release|Mixed Platforms.ActiveCfg = Release|x86
+		{B3DD03E0-4DEC-45A0-A481-2CF90A51C516}.Release|x86.Build.0 = Release|x86
+		{B3DD03E0-4DEC-45A0-A481-2CF90A51C516}.Release|x86.ActiveCfg = Release|x86
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
 	EndGlobalSection
 	EndGlobalSection
 EndGlobal
 EndGlobal

+ 1 - 1
Samples/Windows/Draw2D/MonoGame.Samples.Draw2D.Windows.csproj

@@ -34,7 +34,7 @@
     <WarningLevel>4</WarningLevel>
     <WarningLevel>4</WarningLevel>
   </PropertyGroup>
   </PropertyGroup>
   <ItemGroup>
   <ItemGroup>
-    <ProjectReference Include="..\..\..\MonoGame.Framework\MonoGame.Framework.Windows.csproj">
+    <ProjectReference Include="..\..\..\..\MonoGame\MonoGame.Framework\MonoGame.Framework.Windows.csproj">
       <Project>{7DE47032-A904-4C29-BD22-2D235E8D91BA}</Project>
       <Project>{7DE47032-A904-4C29-BD22-2D235E8D91BA}</Project>
       <Name>MonoGame.Framework.Windows</Name>
       <Name>MonoGame.Framework.Windows</Name>
     </ProjectReference>
     </ProjectReference>

+ 2 - 2
Samples/Windows/NetRumble/NetRumble.csproj

@@ -444,11 +444,11 @@
     <None Include="app.config" />
     <None Include="app.config" />
   </ItemGroup>
   </ItemGroup>
   <ItemGroup>
   <ItemGroup>
-    <ProjectReference Include="..\..\..\MonoGame.Framework\MonoGame.Framework.Windows.csproj">
+    <ProjectReference Include="..\..\..\..\MonoGame\MonoGame.Framework\MonoGame.Framework.Windows.csproj">
       <Project>{7DE47032-A904-4C29-BD22-2D235E8D91BA}</Project>
       <Project>{7DE47032-A904-4C29-BD22-2D235E8D91BA}</Project>
       <Name>MonoGame.Framework.Windows</Name>
       <Name>MonoGame.Framework.Windows</Name>
     </ProjectReference>
     </ProjectReference>
-    <ProjectReference Include="..\..\..\ThirdParty\Lidgren.Network\Lidgren.Network.Windows.csproj">
+    <ProjectReference Include="..\..\..\..\MonoGame\ThirdParty\Lidgren.Network\Lidgren.Network.Windows.csproj">
       <Project>{AE483C29-042E-4226-BA52-D247CE7676DA}</Project>
       <Project>{AE483C29-042E-4226-BA52-D247CE7676DA}</Project>
       <Name>Lidgren.Network.Windows</Name>
       <Name>Lidgren.Network.Windows</Name>
     </ProjectReference>
     </ProjectReference>

+ 27 - 0
Samples/Windows/RenderTarget2D/Program.cs

@@ -0,0 +1,27 @@
+/*
+ * Created by SharpDevelop.
+ * User: d_ellis
+ * Date: 06/10/2011
+ * Time: 19:07
+ * 
+ * To change this template use Tools | Options | Coding | Edit Standard Headers.
+ */
+using System;
+
+namespace RenderTarget2DSample
+{
+	class Program
+	{
+		private static Game1 game;
+
+        /// <summary>
+        /// The main entry point for the application.
+        /// </summary>
+        [STAThread]
+        static void Main()
+        {
+            game = new Game1();
+            game.Run();
+        }
+	}
+}

+ 31 - 0
Samples/Windows/RenderTarget2D/Properties/AssemblyInfo.cs

@@ -0,0 +1,31 @@
+#region Using directives
+
+using System;
+using System.Reflection;
+using System.Runtime.InteropServices;
+
+#endregion
+
+// General Information about an assembly is controlled through the following 
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("RenderTarget2D")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("RenderTarget2D")]
+[assembly: AssemblyCopyright("Copyright 2011")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// This sets the default COM visibility of types in the assembly to invisible.
+// If you need to expose a type to COM, use [ComVisible(true)] on that type.
+[assembly: ComVisible(false)]
+
+// The assembly version has following format :
+//
+// Major.Minor.Build.Revision
+//
+// You can specify all the values or you can use the default the Revision and 
+// Build Numbers by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.*")]

+ 71 - 0
Samples/Windows/RenderTarget2D/RenderTarget2D.csproj

@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
+  <PropertyGroup>
+    <ProjectGuid>{B3DD03E0-4DEC-45A0-A481-2CF90A51C516}</ProjectGuid>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
+    <OutputType>Exe</OutputType>
+    <RootNamespace>RenderTarget2D</RootNamespace>
+    <AssemblyName>RenderTarget2D</AssemblyName>
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Platform)' == 'x86' ">
+    <PlatformTarget>x86</PlatformTarget>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
+    <OutputPath>bin\Debug\</OutputPath>
+    <DebugSymbols>True</DebugSymbols>
+    <DebugType>Full</DebugType>
+    <Optimize>False</Optimize>
+    <CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
+    <OutputPath>bin\Release\</OutputPath>
+    <DebugSymbols>False</DebugSymbols>
+    <DebugType>None</DebugType>
+    <Optimize>True</Optimize>
+    <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
+    <DefineConstants>TRACE</DefineConstants>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Core">
+      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="..\..\MacOS\RenderTarget2DSample\Game1.cs">
+      <Link>Game1.cs</Link>
+    </Compile>
+    <Compile Include="Program.cs" />
+    <Compile Include="Properties\AssemblyInfo.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\..\..\MonoGame\MonoGame.Framework\MonoGame.Framework.Windows.csproj">
+      <Project>{7DE47032-A904-4C29-BD22-2D235E8D91BA}</Project>
+      <Name>MonoGame.Framework.Windows</Name>
+    </ProjectReference>
+    <ProjectReference Include="..\..\..\..\MonoGame\ThirdParty\Lidgren.Network\Lidgren.Network.Windows.csproj">
+      <Project>{AE483C29-042E-4226-BA52-D247CE7676DA}</Project>
+      <Name>Lidgren.Network.Windows</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <ItemGroup>
+    <Folder Include="Content" />
+  </ItemGroup>
+  <ItemGroup>
+    <Content Include="..\..\MacOS\RenderTarget2DSample\Content\MooTheMerciless.xnb">
+      <Link>Content\MooTheMerciless.xnb</Link>
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\MacOS\RenderTarget2DSample\Content\wood.xnb">
+      <Link>Content\wood.xnb</Link>
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </Content>
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
+</Project>

+ 2 - 1
Samples/iOS/ChaseAndEvade/ChaseAndEvadeGame.cs

@@ -132,7 +132,8 @@ namespace ChaseAndEvade
 	#region Initialization
 	#region Initialization
 
 
 #if ANDROID 
 #if ANDROID 
-		public ChaseAndEvadeGame (Activity activity) : base (activity)
+        public ChaseAndEvadeGame(AndroidGameActivity activity)
+            : base(activity)
 #else 
 #else 
         public ChaseAndEvadeGame ()  
         public ChaseAndEvadeGame ()  
 #endif
 #endif

+ 2 - 2
Samples/iOS/Draw2D/FPSCounterComponent.cs

@@ -42,8 +42,8 @@ namespace Microsoft.Xna.Samples.Draw2D
 
 
             string fps = string.Format("fps: {0} mem : {1}", frameRate, GC.GetTotalMemory(false));
             string fps = string.Format("fps: {0} mem : {1}", frameRate, GC.GetTotalMemory(false));
 
 
-            spriteBatch.DrawString(spriteFont, fps, new Vector2(1, 1), Color.Black);
-            spriteBatch.DrawString(spriteFont, fps, new Vector2(0, 0), Color.White);
+            //spriteBatch.DrawString(spriteFont, fps, new Vector2(1, 1), Color.Black);
+            //spriteBatch.DrawString(spriteFont, fps, new Vector2(0, 0), Color.White);
         }
         }
     }
     }
 }
 }

+ 7 - 6
Samples/iOS/Draw2D/Game1.cs

@@ -28,7 +28,7 @@ namespace Microsoft.Xna.Samples.Draw2D
 		FPSCounterComponent fps;
 		FPSCounterComponent fps;
 		
 		
 #if ANDROID 
 #if ANDROID 
-		public Game1 (Activity activity) : base (activity)
+		public Game1 (AndroidGameActivity activity) : base (activity)
 #else 
 #else 
         public Game1 ()  
         public Game1 ()  
 #endif
 #endif
@@ -110,7 +110,7 @@ namespace Microsoft.Xna.Samples.Draw2D
 		protected override void Draw (GameTime gameTime)
 		protected override void Draw (GameTime gameTime)
 		{
 		{
 			graphics.GraphicsDevice.Clear (Color.CornflowerBlue);
 			graphics.GraphicsDevice.Clear (Color.CornflowerBlue);
-
+            
 			// Draw without blend
 			// Draw without blend
 			spriteBatch.Begin (SpriteSortMode.Deferred, BlendState.Opaque);			
 			spriteBatch.Begin (SpriteSortMode.Deferred, BlendState.Opaque);			
 			spriteBatch.Draw (texture, new Vector2 (250,20), Color.White);	
 			spriteBatch.Draw (texture, new Vector2 (250,20), Color.White);	
@@ -121,13 +121,13 @@ namespace Microsoft.Xna.Samples.Draw2D
 			spriteBatch.Draw (texture, new Vector2 (250,110), Color.White);
 			spriteBatch.Draw (texture, new Vector2 (250,110), Color.White);
 			spriteBatch.Draw (texture, new Vector2 (260,120), Color.White);
 			spriteBatch.Draw (texture, new Vector2 (260,120), Color.White);
 			spriteBatch.End ();
 			spriteBatch.End ();
-
+            
 			spriteBatch.Begin ();
 			spriteBatch.Begin ();
 
 
 			// Normal draw
 			// Normal draw
 			// TODO spriteBatch.Draw (ball, new Vector2 (200,300), Color.White);	
 			// TODO spriteBatch.Draw (ball, new Vector2 (200,300), Color.White);	
 			// TODO spriteBatch.Draw (ball, new Vector2 (200,300), null, Color.Yellow, 0.0f, new Vector2 (5,5), 1.0f, SpriteEffects.None, 0);	
 			// TODO spriteBatch.Draw (ball, new Vector2 (200,300), null, Color.Yellow, 0.0f, new Vector2 (5,5), 1.0f, SpriteEffects.None, 0);	
-
+            
 			// Normal draw
 			// Normal draw
 			spriteBatch.Draw (texture, new Vector2 (10,390), Color.White);		
 			spriteBatch.Draw (texture, new Vector2 (10,390), Color.White);		
 			// Draw stretching
 			// Draw stretching
@@ -148,12 +148,13 @@ namespace Microsoft.Xna.Samples.Draw2D
 			spriteBatch.Draw (texture, new Rectangle (150,390,texture.Width,texture.Height), null, Color.White, 0.0f, Vector2.Zero, SpriteEffects.FlipVertically, 0);	
 			spriteBatch.Draw (texture, new Rectangle (150,390,texture.Width,texture.Height), null, Color.White, 0.0f, Vector2.Zero, SpriteEffects.FlipVertically, 0);	
 			// Flip horizontaly and verticaly
 			// Flip horizontaly and verticaly
 			spriteBatch.Draw (texture, new Rectangle (220,390,texture.Width,texture.Height), null, Color.White, 0.0f, Vector2.Zero, SpriteEffects.FlipHorizontally | SpriteEffects.FlipVertically, 0);	
 			spriteBatch.Draw (texture, new Rectangle (220,390,texture.Width,texture.Height), null, Color.White, 0.0f, Vector2.Zero, SpriteEffects.FlipHorizontally | SpriteEffects.FlipVertically, 0);	
-
+            
 			base.Draw (gameTime);
 			base.Draw (gameTime);
 
 
 			spriteBatch.End ();
 			spriteBatch.End ();
 
 
 
 
+            
 			// Now let's try some scissoring
 			// Now let's try some scissoring
 			spriteBatch.Begin ();
 			spriteBatch.Begin ();
 
 
@@ -166,7 +167,7 @@ namespace Microsoft.Xna.Samples.Draw2D
 			spriteBatch.End ();
 			spriteBatch.End ();
 
 
             spriteBatch.GraphicsDevice.RasterizerState.ScissorTestEnable = false;
             spriteBatch.GraphicsDevice.RasterizerState.ScissorTestEnable = false;
-
+            
 
 
 		}
 		}
 	}
 	}

+ 9 - 9
StarterKits/Android/Cards/Resources/Resource.designer.cs

@@ -1,12 +1,12 @@
-// ------------------------------------------------------------------------------
-//  <autogenerated>
-//      This code was generated by a tool.
-//      Mono Runtime Version: 4.0.30319.1
-// 
-//      Changes to this file may cause incorrect behavior and will be lost if 
-//      the code is regenerated.
-//  </autogenerated>
-// ------------------------------------------------------------------------------
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.235
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
 
 
 namespace Blackjack.Android
 namespace Blackjack.Android
 {
 {

+ 508 - 0
StarterKits/Linux/Cards/BlackJack/BlackJack.Linux.csproj

@@ -0,0 +1,508 @@
+<?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>
+    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
+    <ProductVersion>10.0.0</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{96B687A8-13DC-4937-B8E8-D8F3E3790D97}</ProjectGuid>
+    <OutputType>Exe</OutputType>
+    <RootNamespace>BlackJack.Linux</RootNamespace>
+    <AssemblyName>BlackJack.Linux</AssemblyName>
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug</OutputPath>
+    <DefineConstants>DEBUG</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <PlatformTarget>x86</PlatformTarget>
+    <ConsolePause>false</ConsolePause>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
+    <DebugType>none</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Release</OutputPath>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <PlatformTarget>x86</PlatformTarget>
+    <ConsolePause>false</ConsolePause>
+  </PropertyGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+  <ItemGroup>
+    <None Include="..\..\..\MacOS\Cards\CardsGame\Background.png">
+      <Link>Background.png</Link>
+    </None>
+    <None Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Fonts\Bold.spritefont">
+      <Link>Content\Fonts\Bold.spritefont</Link>
+    </None>
+    <None Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Fonts\MenuFont.spritefont">
+      <Link>Content\Fonts\MenuFont.spritefont</Link>
+    </None>
+    <None Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Fonts\Regular.spritefont">
+      <Link>Content\Fonts\Regular.spritefont</Link>
+    </None>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\Blackjack\Game\BlackjackCardGame.cs">
+      <Link>Blackjack\Game\BlackjackCardGame.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\Blackjack\Misc\BetGameComponent.cs">
+      <Link>Blackjack\Misc\BetGameComponent.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\Blackjack\Players\BlackjackAIPlayer.cs">
+      <Link>Blackjack\Players\BlackjackAIPlayer.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\Blackjack\Players\BlackjackPlayer.cs">
+      <Link>Blackjack\Players\BlackjackPlayer.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\Blackjack\Rules\BlackjackGameEventArgs.cs">
+      <Link>Blackjack\Rules\BlackjackGameEventArgs.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\Blackjack\Rules\BlackjackRule.cs">
+      <Link>Blackjack\Rules\BlackjackRule.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\Blackjack\Rules\BustRule.cs">
+      <Link>Blackjack\Rules\BustRule.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\Blackjack\Rules\InsuranceRule.cs">
+      <Link>Blackjack\Rules\InsuranceRule.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\Blackjack\UI\BlackJackAnimatedPlayerHandComponent.cs">
+      <Link>Blackjack\UI\BlackJackAnimatedPlayerHandComponent.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\Blackjack\UI\BlackJackTable.cs">
+      <Link>Blackjack\UI\BlackJackTable.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\Blackjack\UI\BlackjackAnimatedDealerHandComponent.cs">
+      <Link>Blackjack\UI\BlackjackAnimatedDealerHandComponent.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\Blackjack\UI\Button.cs">
+      <Link>Blackjack\UI\Button.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\Misc\AudioManager.cs">
+      <Link>Misc\AudioManager.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\Misc\InputHelper.cs">
+      <Link>Misc\InputHelper.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\Properties\AssemblyInfo.cs">
+      <Link>Properties\AssemblyInfo.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\ScreenManager\GameScreen.cs">
+      <Link>ScreenManager\GameScreen.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\ScreenManager\InputState.cs">
+      <Link>ScreenManager\InputState.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\ScreenManager\MenuEntry.cs">
+      <Link>ScreenManager\MenuEntry.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\ScreenManager\MenuScreen.cs">
+      <Link>ScreenManager\MenuScreen.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\ScreenManager\PlayerIndexEventArgs.cs">
+      <Link>ScreenManager\PlayerIndexEventArgs.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\ScreenManager\ScreenManager.cs">
+      <Link>ScreenManager\ScreenManager.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\Screens\BackgroundScreen.cs">
+      <Link>Screens\BackgroundScreen.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\Screens\GameplayScreen.cs">
+      <Link>Screens\GameplayScreen.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\Screens\InstructionScreen.cs">
+      <Link>Screens\InstructionScreen.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\Screens\MainMenuScreen.cs">
+      <Link>Screens\MainMenuScreen.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\Screens\OptionsMenu.cs">
+      <Link>Screens\OptionsMenu.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\Screens\PauseScreen.cs">
+      <Link>Screens\PauseScreen.cs</Link>
+    </Compile>
+    <Compile Include="Program.Linux.cs" />
+    <Compile Include="..\..\..\MacOS\Cards\CardsGame\BlackjackGame.cs">
+      <Link>BlackjackGame.cs</Link>
+    </Compile>
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\CardsFramework\CardsFramework.Linux.csproj">
+      <Project>{1F33A200-EA8B-4497-8CA0-B072001D2814}</Project>
+      <Name>CardsFramework.Linux</Name>
+    </ProjectReference>
+    <ProjectReference Include="..\..\..\..\..\MonoGame\MonoGame.Framework\MonoGame.Framework.Linux.csproj">
+      <Project>{35253CE1-C864-4CD3-8249-4D1319748E8F}</Project>
+      <Name>MonoGame.Framework.Linux</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Core" />
+  </ItemGroup>
+  <ItemGroup>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Fonts\Bold.xnb">
+      <Link>Content\Fonts\Bold.xnb</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Fonts\MenuFont.xnb">
+      <Link>Content\Fonts\MenuFont.xnb</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Fonts\Regular.xnb">
+      <Link>Content\Fonts\Regular.xnb</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Sounds\Bet.wav">
+      <Link>Content\Sounds\Bet.wav</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Sounds\CardFlip.wav">
+      <Link>Content\Sounds\CardFlip.wav</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Sounds\CardsShuffle.wav">
+      <Link>Content\Sounds\CardsShuffle.wav</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Sounds\Deal.wav">
+      <Link>Content\Sounds\Deal.wav</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\blank.png">
+      <Link>Content\Images\blank.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Button.png">
+      <Link>Content\Images\Button.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\ButtonPressed.png">
+      <Link>Content\Images\ButtonPressed.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\ButtonRegular.png">
+      <Link>Content\Images\ButtonRegular.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\GamePadCursor.png">
+      <Link>Content\Images\GamePadCursor.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\instructions.png">
+      <Link>Content\Images\instructions.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\titlescreen.png">
+      <Link>Content\Images\titlescreen.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\youLose.png">
+      <Link>Content\Images\youLose.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\UI\blackjack.png">
+      <Link>Content\Images\UI\blackjack.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\UI\bust.png">
+      <Link>Content\Images\UI\bust.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\UI\lose.png">
+      <Link>Content\Images\UI\lose.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\UI\pass.png">
+      <Link>Content\Images\UI\pass.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\UI\push.png">
+      <Link>Content\Images\UI\push.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\UI\ring.png">
+      <Link>Content\Images\UI\ring.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\UI\Shuffle_Blue.png">
+      <Link>Content\Images\UI\Shuffle_Blue.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\UI\Shuffle_Red.png">
+      <Link>Content\Images\UI\Shuffle_Red.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\UI\table.png">
+      <Link>Content\Images\UI\table.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\UI\win.png">
+      <Link>Content\Images\UI\win.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Chips\chip100.png">
+      <Link>Content\Images\Chips\chip100.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Chips\chip25.png">
+      <Link>Content\Images\Chips\chip25.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Chips\chip5.png">
+      <Link>Content\Images\Chips\chip5.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Chips\chip500.png">
+      <Link>Content\Images\Chips\chip500.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Chips\chipBlack.png">
+      <Link>Content\Images\Chips\chipBlack.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Chips\chipRed.png">
+      <Link>Content\Images\Chips\chipRed.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Chips\chipWhite.png">
+      <Link>Content\Images\Chips\chipWhite.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Chips\chipYellow.png">
+      <Link>Content\Images\Chips\chipYellow.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\CardBack_Blue.png">
+      <Link>Content\Images\Cards\CardBack_Blue.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\CardBack_Red.png">
+      <Link>Content\Images\Cards\CardBack_Red.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\ClubAce.png">
+      <Link>Content\Images\Cards\ClubAce.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\ClubEight.png">
+      <Link>Content\Images\Cards\ClubEight.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\ClubFive.png">
+      <Link>Content\Images\Cards\ClubFive.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\ClubFour.png">
+      <Link>Content\Images\Cards\ClubFour.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\ClubJack.png">
+      <Link>Content\Images\Cards\ClubJack.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\ClubKing.png">
+      <Link>Content\Images\Cards\ClubKing.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\ClubNine.png">
+      <Link>Content\Images\Cards\ClubNine.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\ClubQueen.png">
+      <Link>Content\Images\Cards\ClubQueen.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\ClubSeven.png">
+      <Link>Content\Images\Cards\ClubSeven.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\ClubSix.png">
+      <Link>Content\Images\Cards\ClubSix.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\ClubTen.png">
+      <Link>Content\Images\Cards\ClubTen.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\ClubThree.png">
+      <Link>Content\Images\Cards\ClubThree.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\ClubTwo.png">
+      <Link>Content\Images\Cards\ClubTwo.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\DiamondAce.png">
+      <Link>Content\Images\Cards\DiamondAce.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\DiamondEight.png">
+      <Link>Content\Images\Cards\DiamondEight.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\DiamondFive.png">
+      <Link>Content\Images\Cards\DiamondFive.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\DiamondFour.png">
+      <Link>Content\Images\Cards\DiamondFour.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\DiamondJack.png">
+      <Link>Content\Images\Cards\DiamondJack.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\DiamondKing.png">
+      <Link>Content\Images\Cards\DiamondKing.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\DiamondNine.png">
+      <Link>Content\Images\Cards\DiamondNine.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\DiamondQueen.png">
+      <Link>Content\Images\Cards\DiamondQueen.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\DiamondSeven.png">
+      <Link>Content\Images\Cards\DiamondSeven.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\DiamondSix.png">
+      <Link>Content\Images\Cards\DiamondSix.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\DiamondTen.png">
+      <Link>Content\Images\Cards\DiamondTen.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\DiamondThree.png">
+      <Link>Content\Images\Cards\DiamondThree.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\DiamondTwo.png">
+      <Link>Content\Images\Cards\DiamondTwo.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\FirstJoker.png">
+      <Link>Content\Images\Cards\FirstJoker.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\HeartAce.png">
+      <Link>Content\Images\Cards\HeartAce.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\HeartEight.png">
+      <Link>Content\Images\Cards\HeartEight.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\HeartFive.png">
+      <Link>Content\Images\Cards\HeartFive.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\HeartFour.png">
+      <Link>Content\Images\Cards\HeartFour.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\HeartJack.png">
+      <Link>Content\Images\Cards\HeartJack.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\HeartKing.png">
+      <Link>Content\Images\Cards\HeartKing.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\HeartNine.png">
+      <Link>Content\Images\Cards\HeartNine.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\HeartQueen.png">
+      <Link>Content\Images\Cards\HeartQueen.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\HeartSeven.png">
+      <Link>Content\Images\Cards\HeartSeven.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\HeartSix.png">
+      <Link>Content\Images\Cards\HeartSix.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\HeartTen.png">
+      <Link>Content\Images\Cards\HeartTen.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\HeartThree.png">
+      <Link>Content\Images\Cards\HeartThree.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\HeartTwo.png">
+      <Link>Content\Images\Cards\HeartTwo.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\SecondJoker.png">
+      <Link>Content\Images\Cards\SecondJoker.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\SpadeAce.png">
+      <Link>Content\Images\Cards\SpadeAce.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\SpadeEight.png">
+      <Link>Content\Images\Cards\SpadeEight.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\SpadeFive.png">
+      <Link>Content\Images\Cards\SpadeFive.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\SpadeFour.png">
+      <Link>Content\Images\Cards\SpadeFour.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\SpadeJack.png">
+      <Link>Content\Images\Cards\SpadeJack.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\SpadeKing.png">
+      <Link>Content\Images\Cards\SpadeKing.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\SpadeNine.png">
+      <Link>Content\Images\Cards\SpadeNine.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\SpadeQueen.png">
+      <Link>Content\Images\Cards\SpadeQueen.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\SpadeSeven.png">
+      <Link>Content\Images\Cards\SpadeSeven.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\SpadeSix.png">
+      <Link>Content\Images\Cards\SpadeSix.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\SpadeTen.png">
+      <Link>Content\Images\Cards\SpadeTen.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\SpadeThree.png">
+      <Link>Content\Images\Cards\SpadeThree.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="..\..\..\MacOS\Cards\BlackjackHiDefContent\Images\Cards\SpadeTwo.png">
+      <Link>Content\Images\Cards\SpadeTwo.png</Link>
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+  </ItemGroup>
+</Project>

+ 33 - 0
StarterKits/Linux/Cards/BlackJack/Program.Linux.cs

@@ -0,0 +1,33 @@
+#region File Description
+//-----------------------------------------------------------------------------
+// Program.cs
+//
+// Microsoft XNA Community Game Platform
+// Copyright (C) Microsoft Corporation. All rights reserved.
+//-----------------------------------------------------------------------------
+#endregion
+
+#region Using Statements
+using System;
+using System.IO;
+
+#endregion
+
+namespace Blackjack
+{
+	class Program
+	{
+		private static BlackjackGame game;
+		
+		/// <summary>
+        /// The main entry point for the application.
+        /// </summary>
+        [STAThread]
+        static void Main()
+		{
+			game = new BlackjackGame();
+			game.Run ();
+		}
+	}
+}
+

+ 103 - 0
StarterKits/Linux/Cards/CardsFramework/CardsFramework.Linux.csproj

@@ -0,0 +1,103 @@
+<?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>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>10.0.0</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{1F33A200-EA8B-4497-8CA0-B072001D2814}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <RootNamespace>CardsFramework.Linux</RootNamespace>
+    <AssemblyName>CardsFramework.Linux</AssemblyName>
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug</OutputPath>
+    <DefineConstants>DEBUG</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <ConsolePause>false</ConsolePause>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>none</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Release</OutputPath>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <ConsolePause>false</ConsolePause>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+  <ItemGroup>
+    <None Include="..\..\..\MacOS\Cards\CardsFramework\Background.png">
+      <Link>Background.png</Link>
+    </None>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="..\..\..\MacOS\Cards\CardsFramework\Cards\CardPacket.cs">
+      <Link>Cards\CardPacket.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsFramework\Cards\Hand.cs">
+      <Link>Cards\Hand.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsFramework\Cards\TraditionalCard.cs">
+      <Link>Cards\TraditionalCard.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsFramework\Game\CardsGame.cs">
+      <Link>Game\CardsGame.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsFramework\Players\Player.cs">
+      <Link>Players\Player.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsFramework\Properties\AssemblyInfo.cs">
+      <Link>Properties\AssemblyInfo.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsFramework\Rules\GameRule.cs">
+      <Link>Rules\GameRule.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsFramework\UI\AnimatedCardsGameComponent.cs">
+      <Link>UI\AnimatedCardsGameComponent.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsFramework\UI\AnimatedGameComponent.cs">
+      <Link>UI\AnimatedGameComponent.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsFramework\UI\AnimatedGameComponentAnimation.cs">
+      <Link>UI\AnimatedGameComponentAnimation.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsFramework\UI\AnimatedHandGameComponent.cs">
+      <Link>UI\AnimatedHandGameComponent.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsFramework\UI\FlipGameComponentAnimation.cs">
+      <Link>UI\FlipGameComponentAnimation.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsFramework\UI\FramesetGameComponentAnimation.cs">
+      <Link>UI\FramesetGameComponentAnimation.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsFramework\UI\GameTable.cs">
+      <Link>UI\GameTable.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsFramework\UI\ScaleGameComponentAnimation.cs">
+      <Link>UI\ScaleGameComponentAnimation.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsFramework\UI\TransitionGameComponentAnimation.cs">
+      <Link>UI\TransitionGameComponentAnimation.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsFramework\Utils\MathUtility.cs">
+      <Link>Utils\MathUtility.cs</Link>
+    </Compile>
+    <Compile Include="..\..\..\MacOS\Cards\CardsFramework\Utils\UIUtilty.cs">
+      <Link>Utils\UIUtilty.cs</Link>
+    </Compile>
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\..\..\..\MonoGame\MonoGame.Framework\MonoGame.Framework.Linux.csproj">
+      <Project>{35253CE1-C864-4CD3-8249-4D1319748E8F}</Project>
+      <Name>MonoGame.Framework.Linux</Name>
+    </ProjectReference>
+  </ItemGroup>
+</Project>

+ 0 - 2
StarterKits/MonoGame.StarterKits.Android.sln

@@ -22,7 +22,6 @@ Global
 	EndGlobalSection
 	EndGlobalSection
 	GlobalSection(ProjectConfigurationPlatforms) = postSolution
 	GlobalSection(ProjectConfigurationPlatforms) = postSolution
 		{25465464-21B2-4C14-8E3C-3B9F8C131484}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 		{25465464-21B2-4C14-8E3C-3B9F8C131484}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-		{25465464-21B2-4C14-8E3C-3B9F8C131484}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{25465464-21B2-4C14-8E3C-3B9F8C131484}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{25465464-21B2-4C14-8E3C-3B9F8C131484}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{25465464-21B2-4C14-8E3C-3B9F8C131484}.Release|Any CPU.Build.0 = Release|Any CPU
 		{25465464-21B2-4C14-8E3C-3B9F8C131484}.Release|Any CPU.Build.0 = Release|Any CPU
 		{565129E0-4EE5-4F6F-B403-C3484C9740BE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 		{565129E0-4EE5-4F6F-B403-C3484C9740BE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
@@ -34,7 +33,6 @@ Global
 		{88DEE869-EC4A-484E-AEB5-7F844C2054AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{88DEE869-EC4A-484E-AEB5-7F844C2054AB}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{88DEE869-EC4A-484E-AEB5-7F844C2054AB}.Release|Any CPU.Build.0 = Release|Any CPU
 		{88DEE869-EC4A-484E-AEB5-7F844C2054AB}.Release|Any CPU.Build.0 = Release|Any CPU
 		{9B7D8FCF-5A3B-48D6-B9E7-4C3C0D0632F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 		{9B7D8FCF-5A3B-48D6-B9E7-4C3C0D0632F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-		{9B7D8FCF-5A3B-48D6-B9E7-4C3C0D0632F6}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{9B7D8FCF-5A3B-48D6-B9E7-4C3C0D0632F6}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{9B7D8FCF-5A3B-48D6-B9E7-4C3C0D0632F6}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{9B7D8FCF-5A3B-48D6-B9E7-4C3C0D0632F6}.Release|Any CPU.Build.0 = Release|Any CPU
 		{9B7D8FCF-5A3B-48D6-B9E7-4C3C0D0632F6}.Release|Any CPU.Build.0 = Release|Any CPU
 		{9FA77471-A020-4452-928B-7D72BF15C991}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 		{9FA77471-A020-4452-928B-7D72BF15C991}.Debug|Any CPU.ActiveCfg = Debug|Any CPU

+ 44 - 0
StarterKits/MonoGame.StarterKits.Linux.sln

@@ -0,0 +1,44 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lidgren.Network.Linux", "..\..\MonoGame\ThirdParty\Lidgren.Network\Lidgren.Network.Linux.csproj", "{AE483C29-042E-4226-BA52-D247CE7676DA}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoGame.Framework.Linux", "..\..\MonoGame\MonoGame.Framework\MonoGame.Framework.Linux.csproj", "{35253CE1-C864-4CD3-8249-4D1319748E8F}"
+EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Cards", "Cards", "{3B17E9F4-A7AF-446B-A90E-3833A141D465}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CardsFramework.Linux", "Linux\Cards\CardsFramework\CardsFramework.Linux.csproj", "{1F33A200-EA8B-4497-8CA0-B072001D2814}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BlackJack.Linux", "Linux\Cards\BlackJack\BlackJack.Linux.csproj", "{96B687A8-13DC-4937-B8E8-D8F3E3790D97}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|x86 = Debug|x86
+		Release|x86 = Release|x86
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{1F33A200-EA8B-4497-8CA0-B072001D2814}.Debug|x86.ActiveCfg = Debug|Any CPU
+		{1F33A200-EA8B-4497-8CA0-B072001D2814}.Debug|x86.Build.0 = Debug|Any CPU
+		{1F33A200-EA8B-4497-8CA0-B072001D2814}.Release|x86.ActiveCfg = Release|Any CPU
+		{1F33A200-EA8B-4497-8CA0-B072001D2814}.Release|x86.Build.0 = Release|Any CPU
+		{35253CE1-C864-4CD3-8249-4D1319748E8F}.Debug|x86.ActiveCfg = Debug|x86
+		{35253CE1-C864-4CD3-8249-4D1319748E8F}.Debug|x86.Build.0 = Debug|x86
+		{35253CE1-C864-4CD3-8249-4D1319748E8F}.Release|x86.ActiveCfg = Release|x86
+		{35253CE1-C864-4CD3-8249-4D1319748E8F}.Release|x86.Build.0 = Release|x86
+		{96B687A8-13DC-4937-B8E8-D8F3E3790D97}.Debug|x86.ActiveCfg = Debug|x86
+		{96B687A8-13DC-4937-B8E8-D8F3E3790D97}.Debug|x86.Build.0 = Debug|x86
+		{96B687A8-13DC-4937-B8E8-D8F3E3790D97}.Release|x86.ActiveCfg = Release|x86
+		{96B687A8-13DC-4937-B8E8-D8F3E3790D97}.Release|x86.Build.0 = Release|x86
+		{AE483C29-042E-4226-BA52-D247CE7676DA}.Debug|x86.ActiveCfg = Debug|Any CPU
+		{AE483C29-042E-4226-BA52-D247CE7676DA}.Debug|x86.Build.0 = Debug|Any CPU
+		{AE483C29-042E-4226-BA52-D247CE7676DA}.Release|x86.ActiveCfg = Release|Any CPU
+		{AE483C29-042E-4226-BA52-D247CE7676DA}.Release|x86.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(NestedProjects) = preSolution
+		{1F33A200-EA8B-4497-8CA0-B072001D2814} = {3B17E9F4-A7AF-446B-A90E-3833A141D465}
+		{96B687A8-13DC-4937-B8E8-D8F3E3790D97} = {3B17E9F4-A7AF-446B-A90E-3833A141D465}
+	EndGlobalSection
+	GlobalSection(MonoDevelopProperties) = preSolution
+		StartupItem = Linux\Cards\BlackJack\BlackJack.Linux.csproj
+	EndGlobalSection
+EndGlobal

+ 3 - 1
StarterKits/iOS/Platformer/PlatformerGame.cs

@@ -203,7 +203,9 @@ namespace Platformer
 
 
             level.Draw(gameTime, spriteBatch);
             level.Draw(gameTime, spriteBatch);
 
 
-            DrawHud();
+            DrawHud();
+
+            GamePad.Draw(gameTime, spriteBatch);
 
 
             spriteBatch.End();
             spriteBatch.End();