Browse Source

More project updates

Josh Engebretson 9 years ago
parent
commit
576c36753a
44 changed files with 678 additions and 50 deletions
  1. 1 1
      AtomicNET/AtomicBlaster/.gitignore
  2. 1 1
      AtomicNET/AtomicMutant/.gitignore
  3. 1 1
      AtomicNET/Basic2D/.gitignore
  4. 62 0
      AtomicNET/Basic2D/Project/AtomicNET/Platforms/Android/MainActivity.cs
  5. 5 0
      AtomicNET/Basic2D/Project/AtomicNET/Platforms/Android/Properties/AndroidManifest.xml
  6. 30 0
      AtomicNET/Basic2D/Project/AtomicNET/Platforms/Android/Properties/AssemblyInfo.cs
  7. 80 0
      AtomicNET/Basic2D/Project/AtomicNET/Platforms/Android/Resources/Resource.Designer.cs
  8. BIN
      AtomicNET/Basic2D/Project/AtomicNET/Platforms/Android/Resources/drawable/icon.png
  9. 4 0
      AtomicNET/Basic2D/Project/AtomicNET/Platforms/Android/Resources/values/Strings.xml
  10. 18 0
      AtomicNET/Basic2D/Project/AtomicNET/Platforms/Desktop/Program.cs
  11. 6 3
      AtomicNET/Basic2D/Resources/Scenes/Scene.scene
  12. 11 0
      AtomicNET/Basic2D/Resources/Scripts/AtomicMain.cs
  13. 0 0
      AtomicNET/Basic2D/Resources/Scripts/AtomicMain.cs.asset
  14. 0 16
      AtomicNET/Basic2D/Resources/Scripts/Program.cs
  15. 4 0
      AtomicNET/Basic2D/Settings/Project.json
  16. 1 1
      AtomicNET/Basic3D/.gitignore
  17. 62 0
      AtomicNET/Basic3D/Project/AtomicNET/Platforms/Android/MainActivity.cs
  18. 5 0
      AtomicNET/Basic3D/Project/AtomicNET/Platforms/Android/Properties/AndroidManifest.xml
  19. 30 0
      AtomicNET/Basic3D/Project/AtomicNET/Platforms/Android/Properties/AssemblyInfo.cs
  20. 80 0
      AtomicNET/Basic3D/Project/AtomicNET/Platforms/Android/Resources/Resource.Designer.cs
  21. BIN
      AtomicNET/Basic3D/Project/AtomicNET/Platforms/Android/Resources/drawable/icon.png
  22. 4 0
      AtomicNET/Basic3D/Project/AtomicNET/Platforms/Android/Resources/values/Strings.xml
  23. 18 0
      AtomicNET/Basic3D/Project/AtomicNET/Platforms/Desktop/Program.cs
  24. 7 3
      AtomicNET/Basic3D/Resources/Scenes/Scene.scene
  25. 11 0
      AtomicNET/Basic3D/Resources/Scripts/AtomicMain.cs
  26. 0 0
      AtomicNET/Basic3D/Resources/Scripts/AtomicMain.cs.asset
  27. 0 16
      AtomicNET/Basic3D/Resources/Scripts/Program.cs
  28. 4 0
      AtomicNET/Basic3D/Settings/Project.json
  29. 1 1
      AtomicNET/Butterflies/.gitignore
  30. 1 1
      AtomicNET/Physics2D/.gitignore
  31. 62 0
      AtomicNET/Physics2D/Project/AtomicNET/Platforms/Android/MainActivity.cs
  32. 5 0
      AtomicNET/Physics2D/Project/AtomicNET/Platforms/Android/Properties/AndroidManifest.xml
  33. 30 0
      AtomicNET/Physics2D/Project/AtomicNET/Platforms/Android/Properties/AssemblyInfo.cs
  34. 80 0
      AtomicNET/Physics2D/Project/AtomicNET/Platforms/Android/Resources/Resource.Designer.cs
  35. BIN
      AtomicNET/Physics2D/Project/AtomicNET/Platforms/Android/Resources/drawable/icon.png
  36. 4 0
      AtomicNET/Physics2D/Project/AtomicNET/Platforms/Android/Resources/values/Strings.xml
  37. 18 0
      AtomicNET/Physics2D/Project/AtomicNET/Platforms/Desktop/Program.cs
  38. 3 1
      AtomicNET/Physics2D/Resources/Particles/texture.png.asset
  39. 7 3
      AtomicNET/Physics2D/Resources/Scenes/TheScene.scene
  40. 7 0
      AtomicNET/Physics2D/Resources/Scripts/AtomicMain.cs
  41. 5 0
      AtomicNET/Physics2D/Resources/Scripts/AtomicMain.cs.asset
  42. 3 1
      AtomicNET/Physics2D/Resources/Sprites/Ball.png.asset
  43. 3 1
      AtomicNET/Physics2D/Resources/Sprites/Box.png.asset
  44. 4 0
      AtomicNET/Physics2D/Settings/Project.json

+ 1 - 1
AtomicNET/AtomicBlaster/.gitignore

@@ -2,4 +2,4 @@ UserPrefs.json
 BuildSettings.json
 Cache/*
 AtomicNET/*
-Resources/AtomicBlaster.*
+Resources/AtomicBlaster.dll*

+ 1 - 1
AtomicNET/AtomicMutant/.gitignore

@@ -2,4 +2,4 @@ UserPrefs.json
 BuildSettings.json
 Cache/*
 AtomicNET/*
-Resources/AtomicMutant.*
+Resources/AtomicMutant.dll*

+ 1 - 1
AtomicNET/Basic2D/.gitignore

@@ -2,4 +2,4 @@ UserPrefs.json
 BuildSettings.json
 Cache/*
 AtomicNET/*
-Resources/AtomicProject.*
+Resources/Basic2D.dll*

+ 62 - 0
AtomicNET/Basic2D/Project/AtomicNET/Platforms/Android/MainActivity.cs

@@ -0,0 +1,62 @@
+using Android.App;
+using Android.Content.PM;
+using Android.Widget;
+using Android.OS;
+using Android.Views;
+using AtomicEngine;
+
+namespace AtomicPlayer
+{
+	[Activity(Label = "AtomicPlayer", MainLauncher = true,
+		Icon = "@drawable/icon", Theme = "@android:style/Theme.NoTitleBar.Fullscreen",
+		ConfigurationChanges = ConfigChanges.KeyboardHidden | ConfigChanges.Orientation,
+		ScreenOrientation = ScreenOrientation.Landscape)]
+	public class MainActivity : Activity
+	{
+		protected override void OnCreate(Bundle bundle)
+		{
+			base.OnCreate(bundle);
+			var mLayout = new AbsoluteLayout(this);
+            var surface = AndroidSDLSurface.CreateSurface(this, false, typeof(AtomicMain));
+			mLayout.AddView(surface);
+			SetContentView(mLayout);
+		}
+
+		protected override void OnResume()
+		{
+            AndroidSDLSurface.OnResume();
+			base.OnResume();
+		}
+
+		protected override void OnPause()
+		{
+            AndroidSDLSurface.OnPause();
+			base.OnPause();
+		}
+
+		public override void OnLowMemory()
+		{
+            AndroidSDLSurface.OnLowMemory();
+			base.OnLowMemory();
+		}
+
+		protected override void OnDestroy()
+		{
+            AndroidSDLSurface.OnDestroy();
+			base.OnDestroy();
+		}
+
+		public override bool DispatchKeyEvent(KeyEvent e)
+		{
+			if (!AndroidSDLSurface.DispatchKeyEvent(e))
+				return false;
+			return base.DispatchKeyEvent(e);
+		}
+
+		public override void OnWindowFocusChanged(bool hasFocus)
+		{
+            AndroidSDLSurface.OnWindowFocusChanged(hasFocus);
+			base.OnWindowFocusChanged(hasFocus);
+		}
+	}
+}

+ 5 - 0
AtomicNET/Basic2D/Project/AtomicNET/Platforms/Android/Properties/AndroidManifest.xml

@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="Basic2D.Basic2D" android:versionCode="1" android:versionName="1.0">
+	<uses-sdk android:minSdkVersion="16" />
+	<application android:label="Basic2D"></application>
+</manifest>

+ 30 - 0
AtomicNET/Basic2D/Project/AtomicNET/Platforms/Android/Properties/AssemblyInfo.cs

@@ -0,0 +1,30 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using Android.App;
+
+// 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("Basic2D")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Basic2D")]
+[assembly: AssemblyCopyright("Copyright © 2016")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+[assembly: ComVisible(false)]
+
+// 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")]

+ 80 - 0
AtomicNET/Basic2D/Project/AtomicNET/Platforms/Android/Resources/Resource.Designer.cs

@@ -0,0 +1,80 @@
+#pragma warning disable 1591
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+[assembly: global::Android.Runtime.ResourceDesignerAttribute("Application.Resource", IsApplication=true)]
+
+namespace Application
+{
+	
+	
+	[System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")]
+	public partial class Resource
+	{
+		
+		static Resource()
+		{
+			global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+		}
+		
+		public static void UpdateIdValues()
+		{
+		}
+		
+		public partial class Attribute
+		{
+			
+			static Attribute()
+			{
+				global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+			}
+			
+			private Attribute()
+			{
+			}
+		}
+		
+		public partial class Drawable
+		{
+			
+			// aapt resource value: 0x7f020000
+			public const int icon = 2130837504;
+			
+			static Drawable()
+			{
+				global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+			}
+			
+			private Drawable()
+			{
+			}
+		}
+		
+		public partial class String
+		{
+			
+			// aapt resource value: 0x7f030001
+			public const int ApplicationName = 2130903041;
+			
+			// aapt resource value: 0x7f030000
+			public const int app_name = 2130903040;
+			
+			static String()
+			{
+				global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+			}
+			
+			private String()
+			{
+			}
+		}
+	}
+}
+#pragma warning restore 1591

BIN
AtomicNET/Basic2D/Project/AtomicNET/Platforms/Android/Resources/drawable/icon.png


+ 4 - 0
AtomicNET/Basic2D/Project/AtomicNET/Platforms/Android/Resources/values/Strings.xml

@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+    <string name="ApplicationName">Basic2D</string>
+</resources>

+ 18 - 0
AtomicNET/Basic2D/Project/AtomicNET/Platforms/Desktop/Program.cs

@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+using System.Reflection;
+using System.Linq;
+
+using AtomicEngine;
+
+
+namespace AtomicPlayer
+{
+    public class Program
+    {
+        public static void Main(string[] args)
+        {
+            Application.Run<AtomicMain>(args);
+        }
+    }
+}

+ 6 - 3
AtomicNET/Basic2D/Resources/Scenes/Scene.scene

@@ -5,8 +5,8 @@
 	<attribute name="Smoothing Constant" value="50" />
 	<attribute name="Snap Threshold" value="5" />
 	<attribute name="Elapsed Time" value="0" />
-	<attribute name="Next Replicated Node ID" value="371" />
-	<attribute name="Next Replicated Component ID" value="1989" />
+	<attribute name="Next Replicated Node ID" value="372" />
+	<attribute name="Next Replicated Component ID" value="1990" />
 	<attribute name="Next Local Node ID" value="16778496" />
 	<attribute name="Next Local Component ID" value="16777216" />
 	<attribute name="Variables" />
@@ -18,6 +18,7 @@
 	<node id="2">
 		<attribute name="Is Enabled" value="true" />
 		<attribute name="Name" value="Zone" />
+		<attribute name="Tags" />
 		<attribute name="Position" value="0 0 0" />
 		<attribute name="Rotation" value="1 0 0 0" />
 		<attribute name="Scale" value="1 1 1" />
@@ -31,6 +32,7 @@
 	<node id="361">
 		<attribute name="Is Enabled" value="true" />
 		<attribute name="Name" value="Camera" />
+		<attribute name="Tags" />
 		<attribute name="Position" value="0 0 0" />
 		<attribute name="Rotation" value="1 0 0 0" />
 		<attribute name="Scale" value="1 1 1" />
@@ -44,6 +46,7 @@
 	<node id="363">
 		<attribute name="Is Enabled" value="true" />
 		<attribute name="Name" value="Star" />
+		<attribute name="Tags" />
 		<attribute name="Position" value="0 0 3.4" />
 		<attribute name="Rotation" value="1 0 0 0" />
 		<attribute name="Scale" value="1 1 1" />
@@ -56,7 +59,7 @@
 			<attribute name="FieldValues">
 				<variant hash="273365031" type="Float" value="3" />
 			</attribute>
-			<attribute name="Assembly" value="CSComponentAssembly;AtomicProject.dll" />
+			<attribute name="Assembly" value="CSComponentAssembly;Basic2D.dll" />
 			<attribute name="Class" value="Spinner" />
 		</component>
 	</node>

+ 11 - 0
AtomicNET/Basic2D/Resources/Scripts/AtomicMain.cs

@@ -0,0 +1,11 @@
+using AtomicEngine;
+using AtomicPlayer;
+
+public class AtomicMain : AppDelegate
+{
+    public override void Start()
+    {
+        AtomicNET.GetSubsystem<Player>().LoadScene("Scenes/Scene.scene");
+    }
+
+}

+ 0 - 0
AtomicNET/Basic2D/Resources/Scripts/Program.cs.asset → AtomicNET/Basic2D/Resources/Scripts/AtomicMain.cs.asset


+ 0 - 16
AtomicNET/Basic2D/Resources/Scripts/Program.cs

@@ -1,16 +0,0 @@
-using AtomicEngine;
-using AtomicPlayer;
-
-public static class AtomicMain
-{
-    /// <summary>
-    /// The main entry point for the application.
-    /// </summary>
-    static void Main(string[] args)
-    {
-
-        AtomicNET.GetSubsystem<Player>().LoadScene("Scenes/Scene.scene");
-
-    }
-    
-}

+ 4 - 0
AtomicNET/Basic2D/Settings/Project.json

@@ -0,0 +1,4 @@
+{
+    "name" : "Basic2D",
+    "platforms": ["desktop"]
+}

+ 1 - 1
AtomicNET/Basic3D/.gitignore

@@ -2,4 +2,4 @@ UserPrefs.json
 BuildSettings.json
 Cache/*
 AtomicNET/*
-Resources/AtomicProject.*
+Resources/Basic3D.dll*

+ 62 - 0
AtomicNET/Basic3D/Project/AtomicNET/Platforms/Android/MainActivity.cs

@@ -0,0 +1,62 @@
+using Android.App;
+using Android.Content.PM;
+using Android.Widget;
+using Android.OS;
+using Android.Views;
+using AtomicEngine;
+
+namespace AtomicPlayer
+{
+	[Activity(Label = "AtomicPlayer", MainLauncher = true,
+		Icon = "@drawable/icon", Theme = "@android:style/Theme.NoTitleBar.Fullscreen",
+		ConfigurationChanges = ConfigChanges.KeyboardHidden | ConfigChanges.Orientation,
+		ScreenOrientation = ScreenOrientation.Landscape)]
+	public class MainActivity : Activity
+	{
+		protected override void OnCreate(Bundle bundle)
+		{
+			base.OnCreate(bundle);
+			var mLayout = new AbsoluteLayout(this);
+            var surface = AndroidSDLSurface.CreateSurface(this, false, typeof(AtomicMain));
+			mLayout.AddView(surface);
+			SetContentView(mLayout);
+		}
+
+		protected override void OnResume()
+		{
+            AndroidSDLSurface.OnResume();
+			base.OnResume();
+		}
+
+		protected override void OnPause()
+		{
+            AndroidSDLSurface.OnPause();
+			base.OnPause();
+		}
+
+		public override void OnLowMemory()
+		{
+            AndroidSDLSurface.OnLowMemory();
+			base.OnLowMemory();
+		}
+
+		protected override void OnDestroy()
+		{
+            AndroidSDLSurface.OnDestroy();
+			base.OnDestroy();
+		}
+
+		public override bool DispatchKeyEvent(KeyEvent e)
+		{
+			if (!AndroidSDLSurface.DispatchKeyEvent(e))
+				return false;
+			return base.DispatchKeyEvent(e);
+		}
+
+		public override void OnWindowFocusChanged(bool hasFocus)
+		{
+            AndroidSDLSurface.OnWindowFocusChanged(hasFocus);
+			base.OnWindowFocusChanged(hasFocus);
+		}
+	}
+}

+ 5 - 0
AtomicNET/Basic3D/Project/AtomicNET/Platforms/Android/Properties/AndroidManifest.xml

@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="Basic3D.Basic3D" android:versionCode="1" android:versionName="1.0">
+	<uses-sdk android:minSdkVersion="16" />
+	<application android:label="Basic3D"></application>
+</manifest>

+ 30 - 0
AtomicNET/Basic3D/Project/AtomicNET/Platforms/Android/Properties/AssemblyInfo.cs

@@ -0,0 +1,30 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using Android.App;
+
+// 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("Basic3D")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Basic3D")]
+[assembly: AssemblyCopyright("Copyright © 2016")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+[assembly: ComVisible(false)]
+
+// 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")]

+ 80 - 0
AtomicNET/Basic3D/Project/AtomicNET/Platforms/Android/Resources/Resource.Designer.cs

@@ -0,0 +1,80 @@
+#pragma warning disable 1591
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+[assembly: global::Android.Runtime.ResourceDesignerAttribute("Application.Resource", IsApplication=true)]
+
+namespace Application
+{
+	
+	
+	[System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")]
+	public partial class Resource
+	{
+		
+		static Resource()
+		{
+			global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+		}
+		
+		public static void UpdateIdValues()
+		{
+		}
+		
+		public partial class Attribute
+		{
+			
+			static Attribute()
+			{
+				global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+			}
+			
+			private Attribute()
+			{
+			}
+		}
+		
+		public partial class Drawable
+		{
+			
+			// aapt resource value: 0x7f020000
+			public const int icon = 2130837504;
+			
+			static Drawable()
+			{
+				global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+			}
+			
+			private Drawable()
+			{
+			}
+		}
+		
+		public partial class String
+		{
+			
+			// aapt resource value: 0x7f030001
+			public const int ApplicationName = 2130903041;
+			
+			// aapt resource value: 0x7f030000
+			public const int app_name = 2130903040;
+			
+			static String()
+			{
+				global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+			}
+			
+			private String()
+			{
+			}
+		}
+	}
+}
+#pragma warning restore 1591

BIN
AtomicNET/Basic3D/Project/AtomicNET/Platforms/Android/Resources/drawable/icon.png


+ 4 - 0
AtomicNET/Basic3D/Project/AtomicNET/Platforms/Android/Resources/values/Strings.xml

@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+    <string name="ApplicationName">Basic3D</string>
+</resources>

+ 18 - 0
AtomicNET/Basic3D/Project/AtomicNET/Platforms/Desktop/Program.cs

@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+using System.Reflection;
+using System.Linq;
+
+using AtomicEngine;
+
+
+namespace AtomicPlayer
+{
+    public class Program
+    {
+        public static void Main(string[] args)
+        {
+            Application.Run<AtomicMain>(args);
+        }
+    }
+}

+ 7 - 3
AtomicNET/Basic3D/Resources/Scenes/Scene.scene

@@ -5,8 +5,8 @@
 	<attribute name="Smoothing Constant" value="50" />
 	<attribute name="Snap Threshold" value="5" />
 	<attribute name="Elapsed Time" value="0" />
-	<attribute name="Next Replicated Node ID" value="365" />
-	<attribute name="Next Replicated Component ID" value="1979" />
+	<attribute name="Next Replicated Node ID" value="366" />
+	<attribute name="Next Replicated Component ID" value="1980" />
 	<attribute name="Next Local Node ID" value="16778496" />
 	<attribute name="Next Local Component ID" value="16777216" />
 	<attribute name="Variables" />
@@ -17,6 +17,7 @@
 	<node id="2">
 		<attribute name="Is Enabled" value="true" />
 		<attribute name="Name" value="Zone" />
+		<attribute name="Tags" />
 		<attribute name="Position" value="0 0 0" />
 		<attribute name="Rotation" value="1 0 0 0" />
 		<attribute name="Scale" value="1 1 1" />
@@ -30,6 +31,7 @@
 	<node id="3">
 		<attribute name="Is Enabled" value="true" />
 		<attribute name="Name" value="GlobalLight" />
+		<attribute name="Tags" />
 		<attribute name="Position" value="0 0 0" />
 		<attribute name="Rotation" value="0.888074 0.325058 -0.325058 0" />
 		<attribute name="Scale" value="1 1 1" />
@@ -47,6 +49,7 @@
 	<node id="361">
 		<attribute name="Is Enabled" value="true" />
 		<attribute name="Name" value="Camera" />
+		<attribute name="Tags" />
 		<attribute name="Position" value="0 0 -2" />
 		<attribute name="Rotation" value="1 0 0 0" />
 		<attribute name="Scale" value="1 1 1" />
@@ -56,6 +59,7 @@
 	<node id="363">
 		<attribute name="Is Enabled" value="true" />
 		<attribute name="Name" value="Chest" />
+		<attribute name="Tags" />
 		<attribute name="Position" value="0 -0.374877 2" />
 		<attribute name="Rotation" value="1 0 0 0" />
 		<attribute name="Scale" value="1 1 1" />
@@ -71,7 +75,7 @@
 			<attribute name="FieldValues">
 				<variant hash="273365031" type="Float" value="3" />
 			</attribute>
-			<attribute name="Assembly" value="CSComponentAssembly;AtomicProject.dll" />
+			<attribute name="Assembly" value="CSComponentAssembly;Basic3D.dll" />
 			<attribute name="Class" value="Spinner" />
 		</component>
 	</node>

+ 11 - 0
AtomicNET/Basic3D/Resources/Scripts/AtomicMain.cs

@@ -0,0 +1,11 @@
+using AtomicEngine;
+using AtomicPlayer;
+
+public class AtomicMain : AppDelegate
+{
+    public override void Start()
+    {
+        AtomicNET.GetSubsystem<Player>().LoadScene("Scenes/Scene.scene");
+    }
+
+}

+ 0 - 0
AtomicNET/Basic3D/Resources/Scripts/Program.cs.asset → AtomicNET/Basic3D/Resources/Scripts/AtomicMain.cs.asset


+ 0 - 16
AtomicNET/Basic3D/Resources/Scripts/Program.cs

@@ -1,16 +0,0 @@
-using AtomicEngine;
-using AtomicPlayer;
-
-public static class AtomicMain
-{
-    /// <summary>
-    /// The main entry point for the application.
-    /// </summary>
-    static void Main(string[] args)
-    {
-
-        AtomicNET.GetSubsystem<Player>().LoadScene("Scenes/Scene.scene");
-
-    }
-
-}

+ 4 - 0
AtomicNET/Basic3D/Settings/Project.json

@@ -0,0 +1,4 @@
+{
+    "name" : "Basic3D",
+    "platforms": ["desktop"]
+}

+ 1 - 1
AtomicNET/Butterflies/.gitignore

@@ -2,4 +2,4 @@ UserPrefs.json
 BuildSettings.json
 Cache/*
 AtomicNET/*
-Resources/AtomicButterflies.*
+Resources/AtomicButterflies.dll*

+ 1 - 1
AtomicNET/Physics2D/.gitignore

@@ -2,4 +2,4 @@ UserPrefs.json
 BuildSettings.json
 Cache/*
 AtomicNET/*
-Resources/AtomicProject.*
+Resources/Physics2D.dll*

+ 62 - 0
AtomicNET/Physics2D/Project/AtomicNET/Platforms/Android/MainActivity.cs

@@ -0,0 +1,62 @@
+using Android.App;
+using Android.Content.PM;
+using Android.Widget;
+using Android.OS;
+using Android.Views;
+using AtomicEngine;
+
+namespace AtomicPlayer
+{
+	[Activity(Label = "AtomicPlayer", MainLauncher = true,
+		Icon = "@drawable/icon", Theme = "@android:style/Theme.NoTitleBar.Fullscreen",
+		ConfigurationChanges = ConfigChanges.KeyboardHidden | ConfigChanges.Orientation,
+		ScreenOrientation = ScreenOrientation.Landscape)]
+	public class MainActivity : Activity
+	{
+		protected override void OnCreate(Bundle bundle)
+		{
+			base.OnCreate(bundle);
+			var mLayout = new AbsoluteLayout(this);
+            var surface = AndroidSDLSurface.CreateSurface(this, false, typeof(AtomicMain));
+			mLayout.AddView(surface);
+			SetContentView(mLayout);
+		}
+
+		protected override void OnResume()
+		{
+            AndroidSDLSurface.OnResume();
+			base.OnResume();
+		}
+
+		protected override void OnPause()
+		{
+            AndroidSDLSurface.OnPause();
+			base.OnPause();
+		}
+
+		public override void OnLowMemory()
+		{
+            AndroidSDLSurface.OnLowMemory();
+			base.OnLowMemory();
+		}
+
+		protected override void OnDestroy()
+		{
+            AndroidSDLSurface.OnDestroy();
+			base.OnDestroy();
+		}
+
+		public override bool DispatchKeyEvent(KeyEvent e)
+		{
+			if (!AndroidSDLSurface.DispatchKeyEvent(e))
+				return false;
+			return base.DispatchKeyEvent(e);
+		}
+
+		public override void OnWindowFocusChanged(bool hasFocus)
+		{
+            AndroidSDLSurface.OnWindowFocusChanged(hasFocus);
+			base.OnWindowFocusChanged(hasFocus);
+		}
+	}
+}

+ 5 - 0
AtomicNET/Physics2D/Project/AtomicNET/Platforms/Android/Properties/AndroidManifest.xml

@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="Physics2D.Physics2D" android:versionCode="1" android:versionName="1.0">
+	<uses-sdk android:minSdkVersion="16" />
+	<application android:label="Physics2D"></application>
+</manifest>

+ 30 - 0
AtomicNET/Physics2D/Project/AtomicNET/Platforms/Android/Properties/AssemblyInfo.cs

@@ -0,0 +1,30 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using Android.App;
+
+// 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("Physics2D")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Physics2D")]
+[assembly: AssemblyCopyright("Copyright © 2016")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+[assembly: ComVisible(false)]
+
+// 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")]

+ 80 - 0
AtomicNET/Physics2D/Project/AtomicNET/Platforms/Android/Resources/Resource.Designer.cs

@@ -0,0 +1,80 @@
+#pragma warning disable 1591
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+[assembly: global::Android.Runtime.ResourceDesignerAttribute("Application.Resource", IsApplication=true)]
+
+namespace Application
+{
+	
+	
+	[System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")]
+	public partial class Resource
+	{
+		
+		static Resource()
+		{
+			global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+		}
+		
+		public static void UpdateIdValues()
+		{
+		}
+		
+		public partial class Attribute
+		{
+			
+			static Attribute()
+			{
+				global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+			}
+			
+			private Attribute()
+			{
+			}
+		}
+		
+		public partial class Drawable
+		{
+			
+			// aapt resource value: 0x7f020000
+			public const int icon = 2130837504;
+			
+			static Drawable()
+			{
+				global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+			}
+			
+			private Drawable()
+			{
+			}
+		}
+		
+		public partial class String
+		{
+			
+			// aapt resource value: 0x7f030001
+			public const int ApplicationName = 2130903041;
+			
+			// aapt resource value: 0x7f030000
+			public const int app_name = 2130903040;
+			
+			static String()
+			{
+				global::Android.Runtime.ResourceIdManager.UpdateIdValues();
+			}
+			
+			private String()
+			{
+			}
+		}
+	}
+}
+#pragma warning restore 1591

BIN
AtomicNET/Physics2D/Project/AtomicNET/Platforms/Android/Resources/drawable/icon.png


+ 4 - 0
AtomicNET/Physics2D/Project/AtomicNET/Platforms/Android/Resources/values/Strings.xml

@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+    <string name="ApplicationName">Physics2D</string>
+</resources>

+ 18 - 0
AtomicNET/Physics2D/Project/AtomicNET/Platforms/Desktop/Program.cs

@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+using System.Reflection;
+using System.Linq;
+
+using AtomicEngine;
+
+
+namespace AtomicPlayer
+{
+    public class Program
+    {
+        public static void Main(string[] args)
+        {
+            Application.Run<AtomicMain>(args);
+        }
+    }
+}

+ 3 - 1
AtomicNET/Physics2D/Resources/Particles/texture.png.asset

@@ -1,5 +1,7 @@
 {
 	"version": 1,
 	"guid": "119e283e886e515dd05420f7fe21d273",
-	"TextureImporter": {}
+	"TextureImporter": {
+		"compressionSize": 0
+	}
 }

+ 7 - 3
AtomicNET/Physics2D/Resources/Scenes/TheScene.scene

@@ -5,8 +5,8 @@
 	<attribute name="Smoothing Constant" value="50" />
 	<attribute name="Snap Threshold" value="5" />
 	<attribute name="Elapsed Time" value="0" />
-	<attribute name="Next Replicated Node ID" value="370" />
-	<attribute name="Next Replicated Component ID" value="1983" />
+	<attribute name="Next Replicated Node ID" value="371" />
+	<attribute name="Next Replicated Component ID" value="1984" />
 	<attribute name="Next Local Node ID" value="16778496" />
 	<attribute name="Next Local Component ID" value="16777216" />
 	<attribute name="Variables" />
@@ -22,6 +22,7 @@
 	<node id="2">
 		<attribute name="Is Enabled" value="true" />
 		<attribute name="Name" value="Zone" />
+		<attribute name="Tags" />
 		<attribute name="Position" value="0 0 0" />
 		<attribute name="Rotation" value="1 0 0 0" />
 		<attribute name="Scale" value="1 1 1" />
@@ -35,6 +36,7 @@
 	<node id="3">
 		<attribute name="Is Enabled" value="true" />
 		<attribute name="Name" value="GlobalLight" />
+		<attribute name="Tags" />
 		<attribute name="Position" value="0 0 0" />
 		<attribute name="Rotation" value="0.888074 0.325058 -0.325058 0" />
 		<attribute name="Scale" value="1 1 1" />
@@ -52,6 +54,7 @@
 	<node id="361">
 		<attribute name="Is Enabled" value="true" />
 		<attribute name="Name" value="Camera" />
+		<attribute name="Tags" />
 		<attribute name="Position" value="0 0 -5" />
 		<attribute name="Rotation" value="1 0 0 0" />
 		<attribute name="Scale" value="1 1 1" />
@@ -64,12 +67,13 @@
 	<node id="363">
 		<attribute name="Is Enabled" value="true" />
 		<attribute name="Name" value="Spawner" />
+		<attribute name="Tags" />
 		<attribute name="Position" value="0 0 0" />
 		<attribute name="Rotation" value="1 0 0 0" />
 		<attribute name="Scale" value="1 1 1" />
 		<attribute name="Variables" />
 		<component type="CSComponent" id="1975">
-			<attribute name="Assembly" value="CSComponentAssembly;AtomicProject.dll" />
+			<attribute name="Assembly" value="CSComponentAssembly;Physics2D.dll" />
 			<attribute name="Class" value="PhysicsSpawner" />
 		</component>
 	</node>

+ 7 - 0
AtomicNET/Physics2D/Resources/Scripts/AtomicMain.cs

@@ -0,0 +1,7 @@
+using AtomicEngine;
+using AtomicPlayer;
+
+public class AtomicMain : AppDelegate
+{
+
+}

+ 5 - 0
AtomicNET/Physics2D/Resources/Scripts/AtomicMain.cs.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "48bc399a5e650d807e3d40ea7f66e7f0",
+	"CSharpImporter": null
+}

+ 3 - 1
AtomicNET/Physics2D/Resources/Sprites/Ball.png.asset

@@ -1,5 +1,7 @@
 {
 	"version": 1,
 	"guid": "e7735ed21e7a01c3453aa2fc19849b88",
-	"TextureImporter": {}
+	"TextureImporter": {
+		"compressionSize": 0
+	}
 }

+ 3 - 1
AtomicNET/Physics2D/Resources/Sprites/Box.png.asset

@@ -1,5 +1,7 @@
 {
 	"version": 1,
 	"guid": "926f15d4f4871721e45bd7b21063803f",
-	"TextureImporter": {}
+	"TextureImporter": {
+		"compressionSize": 0
+	}
 }

+ 4 - 0
AtomicNET/Physics2D/Settings/Project.json

@@ -0,0 +1,4 @@
+{
+    "name" : "Physics2D",
+    "platforms": ["desktop"]
+}