diff --git a/LICENSE.md b/LICENSE.md index 88ff38e..20448aa 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2016 Jaanus Varus +Copyright (c) 2020 Jaanus Varus Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/MonoGame.Penumbra.DesktopGL.sln b/MonoGame.Penumbra.DesktopGL.sln new file mode 100644 index 0000000..4aee53b --- /dev/null +++ b/MonoGame.Penumbra.DesktopGL.sln @@ -0,0 +1,37 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30717.126 +MinimumVisualStudioVersion = 15.0.26124.0 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MonoGame.Penumbra.DesktopGL", "Source\MonoGame.Penumbra.DesktopGL.csproj", "{80BA43C7-AEEF-4049-98C0-E44D45E6CB39}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {80BA43C7-AEEF-4049-98C0-E44D45E6CB39}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {80BA43C7-AEEF-4049-98C0-E44D45E6CB39}.Debug|Any CPU.Build.0 = Debug|Any CPU + {80BA43C7-AEEF-4049-98C0-E44D45E6CB39}.Debug|x64.ActiveCfg = Debug|Any CPU + {80BA43C7-AEEF-4049-98C0-E44D45E6CB39}.Debug|x64.Build.0 = Debug|Any CPU + {80BA43C7-AEEF-4049-98C0-E44D45E6CB39}.Debug|x86.ActiveCfg = Debug|Any CPU + {80BA43C7-AEEF-4049-98C0-E44D45E6CB39}.Debug|x86.Build.0 = Debug|Any CPU + {80BA43C7-AEEF-4049-98C0-E44D45E6CB39}.Release|Any CPU.ActiveCfg = Release|Any CPU + {80BA43C7-AEEF-4049-98C0-E44D45E6CB39}.Release|Any CPU.Build.0 = Release|Any CPU + {80BA43C7-AEEF-4049-98C0-E44D45E6CB39}.Release|x64.ActiveCfg = Release|Any CPU + {80BA43C7-AEEF-4049-98C0-E44D45E6CB39}.Release|x64.Build.0 = Release|Any CPU + {80BA43C7-AEEF-4049-98C0-E44D45E6CB39}.Release|x86.ActiveCfg = Release|Any CPU + {80BA43C7-AEEF-4049-98C0-E44D45E6CB39}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {962F7828-81F9-49B1-B1A8-7C38ED1B33A5} + EndGlobalSection +EndGlobal diff --git a/MonoGame.Penumbra.sln b/MonoGame.Penumbra.WindowsDX.sln similarity index 52% rename from MonoGame.Penumbra.sln rename to MonoGame.Penumbra.WindowsDX.sln index 12ae22e..3246bb1 100644 --- a/MonoGame.Penumbra.sln +++ b/MonoGame.Penumbra.WindowsDX.sln @@ -1,110 +1,66 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30717.126 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoGame.Penumbra.WindowsDX", "Source\MonoGame.Penumbra.WindowsDX.csproj", "{B021F95C-38BC-493A-BB92-C3C575E4B50F}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MonoGame.Penumbra.WindowsDX", "Source\MonoGame.Penumbra.WindowsDX.csproj", "{B021F95C-38BC-493A-BB92-C3C575E4B50F}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sandbox", "Samples\Sandbox\Sandbox.csproj", "{42F21905-2DA7-44A3-AA3A-B80C74F49D1A}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sandbox", "Samples\Sandbox\Sandbox.csproj", "{42F21905-2DA7-44A3-AA3A-B80C74F49D1A}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{86F61E1C-736A-48A1-9C97-C2E3A2DFADA4}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Common", "Samples\Shared\Common\Common.csproj", "{581A9C04-4407-4DB7-A139-8E6CA64915A9}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Common", "Samples\Shared\Common\Common.csproj", "{581A9C04-4407-4DB7-A139-8E6CA64915A9}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Platformer2D", "Samples\Platformer2D\Platformer2D.csproj", "{256B1D7C-1127-4D8B-9F2B-3A8A69741B54}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Platformer2D", "Samples\Platformer2D\Platformer2D.csproj", "{256B1D7C-1127-4D8B-9F2B-3A8A69741B54}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HelloPenumbra", "Samples\HelloPenumbra\HelloPenumbra.csproj", "{1A1B5D1A-D1D3-4248-A614-7F63DD17D1E9}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HelloPenumbra", "Samples\HelloPenumbra\HelloPenumbra.csproj", "{1A1B5D1A-D1D3-4248-A614-7F63DD17D1E9}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FarseerPhysics", "Samples\FarseerPhysics\FarseerPhysics.csproj", "{6E4E8191-8B6D-44CB-800F-0A5E2359F58D}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FarseerPhysics", "Samples\FarseerPhysics\FarseerPhysics.csproj", "{6E4E8191-8B6D-44CB-800F-0A5E2359F58D}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DebugView MonoGame", "Samples\Shared\FarseerPhysics Source\Farseer Physics DebugView 3.5\DebugView MonoGame.csproj", "{566F1803-90B5-4947-8730-57F092FBB002}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DebugView MonoGame", "Samples\Shared\FarseerPhysics Source\Farseer Physics DebugView 3.5\DebugView MonoGame.csproj", "{566F1803-90B5-4947-8730-57F092FBB002}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Farseer Physics MonoGame", "Samples\Shared\FarseerPhysics Source\Farseer Physics Engine 3.5\Farseer Physics MonoGame.csproj", "{0AAD36E3-51A5-4A07-AB60-5C8A66BD38B7}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Farseer Physics MonoGame", "Samples\Shared\FarseerPhysics Source\Farseer Physics Engine 3.5\Farseer Physics MonoGame.csproj", "{0AAD36E3-51A5-4A07-AB60-5C8A66BD38B7}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Shared", "Shared", "{177E650F-BD72-4837-9AAB-9D096D145BAC}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoGame.Penumbra.DesktopGL", "Source\MonoGame.Penumbra.DesktopGL.csproj", "{3F53D144-2287-485F-91ED-FDA8435396B9}" -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU - Debug|x86 = Debug|x86 Release|Any CPU = Release|Any CPU - Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {B021F95C-38BC-493A-BB92-C3C575E4B50F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {B021F95C-38BC-493A-BB92-C3C575E4B50F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B021F95C-38BC-493A-BB92-C3C575E4B50F}.Debug|x86.ActiveCfg = Debug|Any CPU - {B021F95C-38BC-493A-BB92-C3C575E4B50F}.Debug|x86.Build.0 = Debug|Any CPU {B021F95C-38BC-493A-BB92-C3C575E4B50F}.Release|Any CPU.ActiveCfg = Release|Any CPU {B021F95C-38BC-493A-BB92-C3C575E4B50F}.Release|Any CPU.Build.0 = Release|Any CPU - {B021F95C-38BC-493A-BB92-C3C575E4B50F}.Release|x86.ActiveCfg = Release|Any CPU - {B021F95C-38BC-493A-BB92-C3C575E4B50F}.Release|x86.Build.0 = Release|Any CPU - {42F21905-2DA7-44A3-AA3A-B80C74F49D1A}.Debug|Any CPU.ActiveCfg = Debug|x86 - {42F21905-2DA7-44A3-AA3A-B80C74F49D1A}.Debug|Any CPU.Build.0 = Debug|x86 - {42F21905-2DA7-44A3-AA3A-B80C74F49D1A}.Debug|x86.ActiveCfg = Debug|x86 - {42F21905-2DA7-44A3-AA3A-B80C74F49D1A}.Debug|x86.Build.0 = Debug|x86 - {42F21905-2DA7-44A3-AA3A-B80C74F49D1A}.Release|Any CPU.ActiveCfg = Release|x86 - {42F21905-2DA7-44A3-AA3A-B80C74F49D1A}.Release|Any CPU.Build.0 = Release|x86 - {42F21905-2DA7-44A3-AA3A-B80C74F49D1A}.Release|x86.ActiveCfg = Release|x86 - {42F21905-2DA7-44A3-AA3A-B80C74F49D1A}.Release|x86.Build.0 = Release|x86 + {42F21905-2DA7-44A3-AA3A-B80C74F49D1A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {42F21905-2DA7-44A3-AA3A-B80C74F49D1A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {42F21905-2DA7-44A3-AA3A-B80C74F49D1A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {42F21905-2DA7-44A3-AA3A-B80C74F49D1A}.Release|Any CPU.Build.0 = Release|Any CPU {581A9C04-4407-4DB7-A139-8E6CA64915A9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {581A9C04-4407-4DB7-A139-8E6CA64915A9}.Debug|Any CPU.Build.0 = Debug|Any CPU - {581A9C04-4407-4DB7-A139-8E6CA64915A9}.Debug|x86.ActiveCfg = Debug|Any CPU - {581A9C04-4407-4DB7-A139-8E6CA64915A9}.Debug|x86.Build.0 = Debug|Any CPU {581A9C04-4407-4DB7-A139-8E6CA64915A9}.Release|Any CPU.ActiveCfg = Release|Any CPU {581A9C04-4407-4DB7-A139-8E6CA64915A9}.Release|Any CPU.Build.0 = Release|Any CPU - {581A9C04-4407-4DB7-A139-8E6CA64915A9}.Release|x86.ActiveCfg = Release|Any CPU - {581A9C04-4407-4DB7-A139-8E6CA64915A9}.Release|x86.Build.0 = Release|Any CPU - {256B1D7C-1127-4D8B-9F2B-3A8A69741B54}.Debug|Any CPU.ActiveCfg = Debug|x86 - {256B1D7C-1127-4D8B-9F2B-3A8A69741B54}.Debug|Any CPU.Build.0 = Debug|x86 - {256B1D7C-1127-4D8B-9F2B-3A8A69741B54}.Debug|x86.ActiveCfg = Debug|x86 - {256B1D7C-1127-4D8B-9F2B-3A8A69741B54}.Debug|x86.Build.0 = Debug|x86 - {256B1D7C-1127-4D8B-9F2B-3A8A69741B54}.Release|Any CPU.ActiveCfg = Release|x86 - {256B1D7C-1127-4D8B-9F2B-3A8A69741B54}.Release|Any CPU.Build.0 = Release|x86 - {256B1D7C-1127-4D8B-9F2B-3A8A69741B54}.Release|x86.ActiveCfg = Release|x86 - {256B1D7C-1127-4D8B-9F2B-3A8A69741B54}.Release|x86.Build.0 = Release|x86 - {1A1B5D1A-D1D3-4248-A614-7F63DD17D1E9}.Debug|Any CPU.ActiveCfg = Debug|x86 - {1A1B5D1A-D1D3-4248-A614-7F63DD17D1E9}.Debug|Any CPU.Build.0 = Debug|x86 - {1A1B5D1A-D1D3-4248-A614-7F63DD17D1E9}.Debug|x86.ActiveCfg = Debug|x86 - {1A1B5D1A-D1D3-4248-A614-7F63DD17D1E9}.Debug|x86.Build.0 = Debug|x86 - {1A1B5D1A-D1D3-4248-A614-7F63DD17D1E9}.Release|Any CPU.ActiveCfg = Release|x86 - {1A1B5D1A-D1D3-4248-A614-7F63DD17D1E9}.Release|Any CPU.Build.0 = Release|x86 - {1A1B5D1A-D1D3-4248-A614-7F63DD17D1E9}.Release|x86.ActiveCfg = Release|x86 - {1A1B5D1A-D1D3-4248-A614-7F63DD17D1E9}.Release|x86.Build.0 = Release|x86 - {6E4E8191-8B6D-44CB-800F-0A5E2359F58D}.Debug|Any CPU.ActiveCfg = Debug|x86 - {6E4E8191-8B6D-44CB-800F-0A5E2359F58D}.Debug|Any CPU.Build.0 = Debug|x86 - {6E4E8191-8B6D-44CB-800F-0A5E2359F58D}.Debug|x86.ActiveCfg = Debug|x86 - {6E4E8191-8B6D-44CB-800F-0A5E2359F58D}.Debug|x86.Build.0 = Debug|x86 - {6E4E8191-8B6D-44CB-800F-0A5E2359F58D}.Release|Any CPU.ActiveCfg = Release|x86 - {6E4E8191-8B6D-44CB-800F-0A5E2359F58D}.Release|Any CPU.Build.0 = Release|x86 - {6E4E8191-8B6D-44CB-800F-0A5E2359F58D}.Release|x86.ActiveCfg = Release|x86 - {6E4E8191-8B6D-44CB-800F-0A5E2359F58D}.Release|x86.Build.0 = Release|x86 - {566F1803-90B5-4947-8730-57F092FBB002}.Debug|Any CPU.ActiveCfg = Debug|x86 - {566F1803-90B5-4947-8730-57F092FBB002}.Debug|Any CPU.Build.0 = Debug|x86 - {566F1803-90B5-4947-8730-57F092FBB002}.Debug|x86.ActiveCfg = Debug|x86 - {566F1803-90B5-4947-8730-57F092FBB002}.Debug|x86.Build.0 = Debug|x86 - {566F1803-90B5-4947-8730-57F092FBB002}.Release|Any CPU.ActiveCfg = Release|x86 - {566F1803-90B5-4947-8730-57F092FBB002}.Release|Any CPU.Build.0 = Release|x86 - {566F1803-90B5-4947-8730-57F092FBB002}.Release|x86.ActiveCfg = Release|x86 - {566F1803-90B5-4947-8730-57F092FBB002}.Release|x86.Build.0 = Release|x86 - {0AAD36E3-51A5-4A07-AB60-5C8A66BD38B7}.Debug|Any CPU.ActiveCfg = Debug|x86 - {0AAD36E3-51A5-4A07-AB60-5C8A66BD38B7}.Debug|Any CPU.Build.0 = Debug|x86 - {0AAD36E3-51A5-4A07-AB60-5C8A66BD38B7}.Debug|x86.ActiveCfg = Debug|x86 - {0AAD36E3-51A5-4A07-AB60-5C8A66BD38B7}.Debug|x86.Build.0 = Debug|x86 - {0AAD36E3-51A5-4A07-AB60-5C8A66BD38B7}.Release|Any CPU.ActiveCfg = Release|x86 - {0AAD36E3-51A5-4A07-AB60-5C8A66BD38B7}.Release|Any CPU.Build.0 = Release|x86 - {0AAD36E3-51A5-4A07-AB60-5C8A66BD38B7}.Release|x86.ActiveCfg = Release|x86 - {0AAD36E3-51A5-4A07-AB60-5C8A66BD38B7}.Release|x86.Build.0 = Release|x86 - {3F53D144-2287-485F-91ED-FDA8435396B9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3F53D144-2287-485F-91ED-FDA8435396B9}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3F53D144-2287-485F-91ED-FDA8435396B9}.Debug|x86.ActiveCfg = Debug|Any CPU - {3F53D144-2287-485F-91ED-FDA8435396B9}.Debug|x86.Build.0 = Debug|Any CPU - {3F53D144-2287-485F-91ED-FDA8435396B9}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3F53D144-2287-485F-91ED-FDA8435396B9}.Release|Any CPU.Build.0 = Release|Any CPU - {3F53D144-2287-485F-91ED-FDA8435396B9}.Release|x86.ActiveCfg = Release|Any CPU - {3F53D144-2287-485F-91ED-FDA8435396B9}.Release|x86.Build.0 = Release|Any CPU + {256B1D7C-1127-4D8B-9F2B-3A8A69741B54}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {256B1D7C-1127-4D8B-9F2B-3A8A69741B54}.Debug|Any CPU.Build.0 = Debug|Any CPU + {256B1D7C-1127-4D8B-9F2B-3A8A69741B54}.Release|Any CPU.ActiveCfg = Release|Any CPU + {256B1D7C-1127-4D8B-9F2B-3A8A69741B54}.Release|Any CPU.Build.0 = Release|Any CPU + {1A1B5D1A-D1D3-4248-A614-7F63DD17D1E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1A1B5D1A-D1D3-4248-A614-7F63DD17D1E9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1A1B5D1A-D1D3-4248-A614-7F63DD17D1E9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1A1B5D1A-D1D3-4248-A614-7F63DD17D1E9}.Release|Any CPU.Build.0 = Release|Any CPU + {6E4E8191-8B6D-44CB-800F-0A5E2359F58D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6E4E8191-8B6D-44CB-800F-0A5E2359F58D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6E4E8191-8B6D-44CB-800F-0A5E2359F58D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6E4E8191-8B6D-44CB-800F-0A5E2359F58D}.Release|Any CPU.Build.0 = Release|Any CPU + {566F1803-90B5-4947-8730-57F092FBB002}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {566F1803-90B5-4947-8730-57F092FBB002}.Debug|Any CPU.Build.0 = Debug|Any CPU + {566F1803-90B5-4947-8730-57F092FBB002}.Release|Any CPU.ActiveCfg = Release|Any CPU + {566F1803-90B5-4947-8730-57F092FBB002}.Release|Any CPU.Build.0 = Release|Any CPU + {0AAD36E3-51A5-4A07-AB60-5C8A66BD38B7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0AAD36E3-51A5-4A07-AB60-5C8A66BD38B7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0AAD36E3-51A5-4A07-AB60-5C8A66BD38B7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0AAD36E3-51A5-4A07-AB60-5C8A66BD38B7}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -119,4 +75,7 @@ Global {0AAD36E3-51A5-4A07-AB60-5C8A66BD38B7} = {177E650F-BD72-4837-9AAB-9D096D145BAC} {177E650F-BD72-4837-9AAB-9D096D145BAC} = {86F61E1C-736A-48A1-9C97-C2E3A2DFADA4} EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {ECFD21D6-1FE3-4897-A93D-206B0244F081} + EndGlobalSection EndGlobal diff --git a/README.md b/README.md index 609a700..cfba04b 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,8 @@ Penumbra allows users to easily add 2D lighting with shadowing effects to their The following is required to successfully compile the Penumbra MonoGame solution: -- Visual studio 2015+ (due to C# 6 syntax) -- MonoGame 3.6+ +- Visual studio 2019+ +- MonoGame 3.8+ - [DirectX End-User Runtimes (June 2010)](http://www.microsoft.com/en-us/download/details.aspx?id=8109) (to compile effect shaders) ### Using Penumbra @@ -112,3 +112,24 @@ penumbra.Hulls.Add(hull); - **Sandbox**: Generic sandbox for testing out various different scenarios. - **Common**: Supporting library providing common functionality for samples. - **[FarseerPhysics](https://github.com/discosultan/penumbra/tree/master/Samples/FarseerPhysics)**: Create physical bodies out of sprites and add them as hulls to Penumbra! + +## Development + +### Release a New Version + +* Make sure version numbers are updated in .csproj files. +* Create packages: + +```sh +dotnet pack -c Release MonoGame.Penumbra.DesktopGL.sln +dotnet pack -c Release MonoGame.Penumbra.WindowsDX.sln +``` + +* Publish packages (substitute `` with version to be released): + +```sh +VERSION= +dotnet nuget push Source/bin/Release/MonoGame.Penumbra.DesktopGL.$VERSION.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json +dotnet nuget push Source/bin/Release/MonoGame.Penumbra.WindowsDX.$VERSION.nupkg --api-key $NUGET_API_KEY --source https://api.nuget.org/v3/index.json +``` + diff --git a/Samples/FarseerPhysics/FarseerPhysics.csproj b/Samples/FarseerPhysics/FarseerPhysics.csproj index a36db34..0176766 100644 --- a/Samples/FarseerPhysics/FarseerPhysics.csproj +++ b/Samples/FarseerPhysics/FarseerPhysics.csproj @@ -1,82 +1,26 @@ - - - + + - Debug - x86 - 8.0.30703 - 2.0 - {6E4E8191-8B6D-44CB-800F-0A5E2359F58D} WinExe - Properties - FarseerPhysics - FarseerPhysics - 512 - Windows - v4.5 - - - - x86 - true - full - false - bin\$(MonoGamePlatform)\$(Platform)\$(Configuration)\ - DEBUG;TRACE;WINDOWS - prompt - 4 - - - x86 - pdbonly - true - bin\$(MonoGamePlatform)\$(Platform)\$(Configuration)\ - TRACE;WINDOWS - prompt - 4 - - + netcoreapp3.1 + WINDOWS Icon.ico + false + - - - + + + - - $(MonoGameInstallDirectory)\MonoGame\v3.0\Assemblies\Windows\MonoGame.Framework.dll - - - - - - + + + + - - - {566f1803-90b5-4947-8730-57f092fbb002} - DebugView MonoGame - - - {0aad36e3-51a5-4a07-ab60-5c8a66bd38b7} - Farseer Physics MonoGame - - - {b021f95c-38bc-493a-bb92-c3c575e4b50f} - MonoGame.Penumbra - - - - - - \ No newline at end of file + + diff --git a/Samples/FarseerPhysics/Properties/AssemblyInfo.cs b/Samples/FarseerPhysics/Properties/AssemblyInfo.cs deleted file mode 100644 index 89add69..0000000 --- a/Samples/FarseerPhysics/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -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("FarseerPhysics")] -[assembly: AssemblyProduct("FarseerPhysics")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyCopyright("Copyright © 2017")] -[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("7892ef26-4a8b-49a5-89df-61217fc99695")] - -// 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")] diff --git a/Samples/HelloPenumbra/HelloPenumbra.csproj b/Samples/HelloPenumbra/HelloPenumbra.csproj index 84ade18..5280fa2 100644 --- a/Samples/HelloPenumbra/HelloPenumbra.csproj +++ b/Samples/HelloPenumbra/HelloPenumbra.csproj @@ -1,72 +1,24 @@ - - - + + - Debug - x86 - 8.0.30703 - 2.0 - {1A1B5D1A-D1D3-4248-A614-7F63DD17D1E9} WinExe - Properties - HelloPenumbra - HelloPenumbra - 512 - Windows - v4.5 - - - x86 - true - full - false - bin\$(MonoGamePlatform)\$(Platform)\$(Configuration)\ - DEBUG;TRACE;WINDOWS - prompt - 4 - - - x86 - pdbonly - true - bin\$(MonoGamePlatform)\$(Platform)\$(Configuration)\ - TRACE;WINDOWS - prompt - 4 - - + netcoreapp3.1 + WINDOWS Icon.ico + false + - - - + + + - - $(MonoGameInstallDirectory)\MonoGame\v3.0\Assemblies\Windows\MonoGame.Framework.dll - - - - - + + - - - {b021f95c-38bc-493a-bb92-c3c575e4b50f} - MonoGame.Penumbra - - - - - - \ No newline at end of file + + diff --git a/Samples/HelloPenumbra/Properties/AssemblyInfo.cs b/Samples/HelloPenumbra/Properties/AssemblyInfo.cs deleted file mode 100644 index 0c49a8a..0000000 --- a/Samples/HelloPenumbra/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -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("HelloPenumbra")] -[assembly: AssemblyProduct("HelloPenumbra")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyCompany("Microsoft")] -[assembly: AssemblyCopyright("Copyright © Microsoft 2016")] -[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("d14d195e-a887-4933-8b3f-c19e0e38c277")] - -// 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")] diff --git a/Samples/Platformer2D/Content/Platformer2D.mgcb b/Samples/Platformer2D/Content/Content.mgcb similarity index 100% rename from Samples/Platformer2D/Content/Platformer2D.mgcb rename to Samples/Platformer2D/Content/Content.mgcb diff --git a/Samples/Platformer2D/Content/Platformer2D.contentproj b/Samples/Platformer2D/Content/Platformer2D.contentproj deleted file mode 100644 index 4af9a33..0000000 --- a/Samples/Platformer2D/Content/Platformer2D.contentproj +++ /dev/null @@ -1,320 +0,0 @@ - - - - {935F72E1-0493-499D-ABDB-A65808B8D304} - {96E2B04D-8817-42c6-938A-82C39BA4D311};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - Windows - x86 - Library - Properties - ContentBuilderContentContent - v4.0 - v4.0 - Windows - bin\$(MonoGamePlatform)\$(Configuration) - Content - x86 - ..\..\ - true - - - Windows - - - Windows8 - - - Android - - - iOS - - - OSX - - - Linux - - - PSM - - - - - - - - - - ..\..\packages\MonoGame.ContentProcessors.3.2.1\lib\MonoGameContentProcessors.dll - - - - - Layer0_0 - TextureImporter - TextureProcessor - - - Layer0_1 - TextureImporter - TextureProcessor - - - Layer0_2 - TextureImporter - TextureProcessor - - - Layer1_0 - TextureImporter - TextureProcessor - - - Layer1_1 - TextureImporter - TextureProcessor - - - Layer1_2 - TextureImporter - TextureProcessor - - - Layer2_0 - TextureImporter - TextureProcessor - - - Layer2_1 - TextureImporter - TextureProcessor - - - Layer2_2 - TextureImporter - TextureProcessor - - - 0 - PreserveNewest - - - 1 - PreserveNewest - - - 2 - PreserveNewest - - - you_died - TextureImporter - TextureProcessor - - - you_lose - TextureImporter - TextureProcessor - - - you_win - TextureImporter - TextureProcessor - - - Music - WmaImporter - SongProcessor - - - Gem - TextureImporter - TextureProcessor - - - Idle - TextureImporter - TextureProcessor - - - Run - TextureImporter - TextureProcessor - - - Idle - TextureImporter - TextureProcessor - - - Run - TextureImporter - TextureProcessor - - - Idle - TextureImporter - TextureProcessor - - - Run - TextureImporter - TextureProcessor - - - Idle - TextureImporter - TextureProcessor - - - Run - TextureImporter - TextureProcessor - - - Celebrate - TextureImporter - TextureProcessor - - - Die - TextureImporter - TextureProcessor - - - Idle - TextureImporter - TextureProcessor - - - Jump - TextureImporter - TextureProcessor - - - Run - TextureImporter - TextureProcessor - - - BlockA0 - TextureImporter - TextureProcessor - - - BlockA1 - TextureImporter - TextureProcessor - - - BlockA2 - TextureImporter - TextureProcessor - - - BlockA3 - TextureImporter - TextureProcessor - - - BlockA4 - TextureImporter - TextureProcessor - - - BlockA5 - TextureImporter - TextureProcessor - - - BlockA6 - TextureImporter - TextureProcessor - - - BlockB0 - TextureImporter - TextureProcessor - - - BlockB1 - TextureImporter - TextureProcessor - - - Exit - TextureImporter - TextureProcessor - - - Platform - TextureImporter - TextureProcessor - - - packages - - - - - Hud - FontDescriptionImporter - FontDescriptionProcessor - - - - - ExitReached - WavImporter - SoundEffectProcessor - - - GemCollected - WavImporter - SoundEffectProcessor - - - MonsterKilled - WavImporter - SoundEffectProcessor - - - PlayerFall - WavImporter - SoundEffectProcessor - - - PlayerJump - WavImporter - SoundEffectProcessor - - - PlayerKilled - WavImporter - SoundEffectProcessor - - - Powerup - WavImporter - SoundEffectProcessor - - - - - VirtualControlArrow - TextureImporter - TextureProcessor - - - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platformer2D.csproj b/Samples/Platformer2D/Platformer2D.csproj index e8361f8..4dd42b0 100644 --- a/Samples/Platformer2D/Platformer2D.csproj +++ b/Samples/Platformer2D/Platformer2D.csproj @@ -1,145 +1,25 @@ - - - + + - Debug - x86 - 8.0.30703 - 2.0 - {256B1D7C-1127-4D8B-9F2B-3A8A69741B54} WinExe - Properties - Platformer2D - Platformer2D - 512 - Windows - - - v4.5 - - - - x86 - true - full - false - bin\Windows\Debug\ - DEBUG;TRACE;WINDOWS - prompt - 4 - false - - - x86 - pdbonly - true - bin\Windows\Release\ - TRACE;WINDOWS - prompt - 4 - false - - + netcoreapp3.1 + WINDOWS Icon.ico + false + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $(MonoGameInstallDirectory)\MonoGame\v3.0\Assemblies\Windows\MonoGame.Framework.dll - - + + + - - + + + - - {b021f95c-38bc-493a-bb92-c3c575e4b50f} - MonoGame.Penumbra - - - {581a9c04-4407-4db7-a139-8e6ca64915a9} - Common - + - - - - - \ No newline at end of file + + diff --git a/Samples/Platformer2D/Platforms/Android/Activity1.cs b/Samples/Platformer2D/Platforms/Android/Activity1.cs deleted file mode 100644 index e952527..0000000 --- a/Samples/Platformer2D/Platforms/Android/Activity1.cs +++ /dev/null @@ -1,27 +0,0 @@ -using Android.App; -using Android.Content.PM; -using Android.OS; -using Android.Views; - -namespace Platformer2D -{ - [Activity(Label = "Platformer2D" - , MainLauncher = true - , Icon = "@drawable/icon" - , Theme = "@style/Theme.Splash" - , AlwaysRetainTaskState = true - , LaunchMode = Android.Content.PM.LaunchMode.SingleInstance - , ScreenOrientation = ScreenOrientation.SensorLandscape - , ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.Keyboard | ConfigChanges.KeyboardHidden)] - public class Activity1 : Microsoft.Xna.Framework.AndroidGameActivity - { - protected override void OnCreate(Bundle bundle) - { - base.OnCreate(bundle); - var g = new PlatformerGame(); - SetContentView((View)g.Services.GetService(typeof(View))); - g.Run(); - } - } -} - diff --git a/Samples/Platformer2D/Platforms/Android/Assets/AboutAssets.txt b/Samples/Platformer2D/Platforms/Android/Assets/AboutAssets.txt deleted file mode 100644 index ee39886..0000000 --- a/Samples/Platformer2D/Platforms/Android/Assets/AboutAssets.txt +++ /dev/null @@ -1,19 +0,0 @@ -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"); \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/Android/Icon.ico b/Samples/Platformer2D/Platforms/Android/Icon.ico deleted file mode 100644 index 7d9dec1..0000000 Binary files a/Samples/Platformer2D/Platforms/Android/Icon.ico and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/Android/Platformer2D.csproj b/Samples/Platformer2D/Platforms/Android/Platformer2D.csproj deleted file mode 100644 index 27abbd2..0000000 --- a/Samples/Platformer2D/Platforms/Android/Platformer2D.csproj +++ /dev/null @@ -1,145 +0,0 @@ - - - - Debug - AnyCPU - 8.0.30703 - 2.0 - {75787324-20FC-4AA7-8E4E-00AE508F4069} - {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - Library - Properties - Platformer2D - Platformer2D - 512 - true - Resources\Resource.Designer.cs - Off - armeabi%3barmeabi-v7a%3bx86 - - - v3.1 - Properties\AndroidManifest.xml - - - ..\..\..\ - true - f7f092e7 - Android - - - true - full - false - ..\..\bin\Android\Debug\ - DEBUG;TRACE;ANDROID - prompt - 4 - True - None - - - pdbonly - true - ..\..\bin\Android\Release\ - TRACE;ANDROID - prompt - 4 - False - SdkOnly - - - - - ..\..\..\packages\MonoGame.Framework.Android.3.4.0.459\lib\MonoAndroid\MonoGame.Framework.dll - True - - - - - - - - - - Game\Accelerometer.cs - - - Game\Animation.cs - - - Game\AnimationPlayer.cs - - - Game\Circle.cs - - - Game\Enemy.cs - - - Game\Gem.cs - - - Game\Level.cs - - - Game\Player.cs - - - Game\RectangleExtensions.cs - - - Game\Tile.cs - - - Game\TouchCollectionExtensions.cs - - - Game.cs - - - Game\VirtualGamePad.cs - - - - - - - - - - Content\Platformer2D.mgcb - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/Android/Properties/AndroidManifest.xml b/Samples/Platformer2D/Platforms/Android/Properties/AndroidManifest.xml deleted file mode 100644 index 409ac18..0000000 --- a/Samples/Platformer2D/Platforms/Android/Properties/AndroidManifest.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/Android/Properties/AssemblyInfo.cs b/Samples/Platformer2D/Platforms/Android/Properties/AssemblyInfo.cs deleted file mode 100644 index 4333a5d..0000000 --- a/Samples/Platformer2D/Platforms/Android/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using System.Resources; -#if ANDROID -using Android.App; -#endif - -// 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("Platformer2D")] -[assembly: AssemblyProduct("Platformer2D")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyCopyright("Copyright © 2013")] -[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)] - -// 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")] -[assembly: NeutralResourcesLanguageAttribute("en-US")] -#if ANDROID -// Add some common permissions, these can be removed if not needed -[assembly: UsesPermission(Android.Manifest.Permission.Internet)] -[assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)] -#endif \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/Android/Resources/AboutResources.txt b/Samples/Platformer2D/Platforms/Android/Resources/AboutResources.txt deleted file mode 100644 index b0fc999..0000000 --- a/Samples/Platformer2D/Platforms/Android/Resources/AboutResources.txt +++ /dev/null @@ -1,44 +0,0 @@ -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.xml), -an internationalization string table (Strings.xml) and some icons (drawable/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, the build action should be set -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 -"Resource" that contains the tokens for each one of the resources included. For example, -for the above Resources layout, this is what the Resource class would expose: - -public class Resource { - public class Drawable { - public const int Icon = 0x123; - } - - public class Layout { - public const int Main = 0x456; - } - - public class String { - public const int FirstString = 0xabc; - public const int SecondString = 0xbcd; - } -} - -You would then use Resource.Drawable.Icon to reference the Drawable/Icon.png file, or -Resource.Layout.Main to reference the Layout/Main.axml file, or Resource.String.FirstString -to reference the first string in the dictionary file Values/Strings.xml. \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/Android/Resources/Drawable/Icon.png b/Samples/Platformer2D/Platforms/Android/Resources/Drawable/Icon.png deleted file mode 100644 index ce70ca5..0000000 Binary files a/Samples/Platformer2D/Platforms/Android/Resources/Drawable/Icon.png and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/Android/Resources/Drawable/Splash.png b/Samples/Platformer2D/Platforms/Android/Resources/Drawable/Splash.png deleted file mode 100644 index 940aac3..0000000 Binary files a/Samples/Platformer2D/Platforms/Android/Resources/Drawable/Splash.png and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/Android/Resources/Resource.Designer.cs b/Samples/Platformer2D/Platforms/Android/Resources/Resource.Designer.cs deleted file mode 100644 index ab9334b..0000000 --- a/Samples/Platformer2D/Platforms/Android/Resources/Resource.Designer.cs +++ /dev/null @@ -1,99 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.34209 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -[assembly: global::Android.Runtime.ResourceDesignerAttribute("Platformer2D.Resource", IsApplication=true)] - -namespace Platformer2D -{ - - - [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; - - // aapt resource value: 0x7f020001 - public const int Splash = 2130837505; - - 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 Hello = 2130903040; - - static String() - { - global::Android.Runtime.ResourceIdManager.UpdateIdValues(); - } - - private String() - { - } - } - - public partial class Style - { - - // aapt resource value: 0x7f040000 - public const int Theme_Splash = 2130968576; - - static Style() - { - global::Android.Runtime.ResourceIdManager.UpdateIdValues(); - } - - private Style() - { - } - } - } -} -#pragma warning restore 1591 diff --git a/Samples/Platformer2D/Platforms/Android/Resources/Values/Strings.xml b/Samples/Platformer2D/Platforms/Android/Resources/Values/Strings.xml deleted file mode 100644 index a6b7fee..0000000 --- a/Samples/Platformer2D/Platforms/Android/Resources/Values/Strings.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - Hello World, Click Me! - Platformer2D - diff --git a/Samples/Platformer2D/Platforms/Android/Resources/Values/Styles.xml b/Samples/Platformer2D/Platforms/Android/Resources/Values/Styles.xml deleted file mode 100644 index 5102134..0000000 --- a/Samples/Platformer2D/Platforms/Android/Resources/Values/Styles.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - diff --git a/Samples/Platformer2D/Platforms/Android/packages.config b/Samples/Platformer2D/Platforms/Android/packages.config deleted file mode 100644 index 1886b30..0000000 --- a/Samples/Platformer2D/Platforms/Android/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/Linux/Icon.ico b/Samples/Platformer2D/Platforms/Linux/Icon.ico deleted file mode 100644 index 7d9dec1..0000000 Binary files a/Samples/Platformer2D/Platforms/Linux/Icon.ico and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/Linux/OpenTK.dll.config b/Samples/Platformer2D/Platforms/Linux/OpenTK.dll.config deleted file mode 100644 index 3f888cc..0000000 --- a/Samples/Platformer2D/Platforms/Linux/OpenTK.dll.config +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Samples/Platformer2D/Platforms/Linux/Platformer2D.csproj b/Samples/Platformer2D/Platforms/Linux/Platformer2D.csproj deleted file mode 100644 index 0771948..0000000 --- a/Samples/Platformer2D/Platforms/Linux/Platformer2D.csproj +++ /dev/null @@ -1,146 +0,0 @@ - - - - Debug - x86 - 8.0.30703 - 2.0 - {F2E1E56C-E6CA-4381-8F51-325A5801C92B} - Exe - Properties - Platformer2D - Platformer2D - 512 - Linux - ..\..\..\ - true - - - x86 - true - full - false - ..\..\bin\Linux\Debug\ - DEBUG;TRACE;LINUX - prompt - 4 - - - x86 - pdbonly - true - bin\Release\ - TRACE;LINUX - prompt - 4 - - - Icon.ico - - - - Game\Accelerometer.cs - - - Game\Animation.cs - - - Game\AnimationPlayer.cs - - - Game\Circle.cs - - - Game\Enemy.cs - - - Game\Gem.cs - - - Game\Level.cs - - - Game\Player.cs - - - Game\RectangleExtensions.cs - - - Game\Tile.cs - - - Game\TouchCollectionExtensions.cs - - - Game.cs - - - Game\VirtualGamePad.cs - - - - - Program.cs - - - - Content\Platformer2D.mgcb - - - - - False - ..\..\..\..\..\..\Program Files (x86)\MonoGame\v3.0\Assemblies\Linux\Lidgren.Network.dll - - - ..\..\..\packages\MonoGame.Framework.Linux.3.4.0.459\lib\net40\MonoGame.Framework.dll - True - - - ..\..\..\packages\MonoGame.Framework.Linux.3.4.0.459\lib\net40\OpenTK.dll - True - - - - - ..\..\..\packages\MonoGame.Framework.Linux.3.4.0.459\lib\net40\Tao.Sdl.dll - True - - - - - SDL.dll - Always - - - SDL_Mixer.dll - Always - - - - - - PreserveNewest - - - - PreserveNewest - - - - - - - - This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/Linux/Properties/AssemblyInfo.cs b/Samples/Platformer2D/Platforms/Linux/Properties/AssemblyInfo.cs deleted file mode 100644 index 4333a5d..0000000 --- a/Samples/Platformer2D/Platforms/Linux/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using System.Resources; -#if ANDROID -using Android.App; -#endif - -// 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("Platformer2D")] -[assembly: AssemblyProduct("Platformer2D")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyCopyright("Copyright © 2013")] -[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)] - -// 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")] -[assembly: NeutralResourcesLanguageAttribute("en-US")] -#if ANDROID -// Add some common permissions, these can be removed if not needed -[assembly: UsesPermission(Android.Manifest.Permission.Internet)] -[assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)] -#endif \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/Linux/Tao.Sdl.dll.config b/Samples/Platformer2D/Platforms/Linux/Tao.Sdl.dll.config deleted file mode 100644 index ec83f1e..0000000 --- a/Samples/Platformer2D/Platforms/Linux/Tao.Sdl.dll.config +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Samples/Platformer2D/Platforms/Linux/packages.config b/Samples/Platformer2D/Platforms/Linux/packages.config deleted file mode 100644 index 10a3673..0000000 --- a/Samples/Platformer2D/Platforms/Linux/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/OSX/Default.png b/Samples/Platformer2D/Platforms/OSX/Default.png deleted file mode 100644 index b9789c7..0000000 Binary files a/Samples/Platformer2D/Platforms/OSX/Default.png and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/OSX/Info.plist b/Samples/Platformer2D/Platforms/OSX/Info.plist deleted file mode 100644 index 7d6f388..0000000 --- a/Samples/Platformer2D/Platforms/OSX/Info.plist +++ /dev/null @@ -1,16 +0,0 @@ - - - - - CFBundleIdentifier - com.yourcompany.MonoGame.Samples.Draw2D.MacOS - CFBundleName - MonoGame.Samples.Draw2D.MacOS - CFBundleVersion - 1 - LSMinimumSystemVersion - 10.6 - NSPrincipalClass - NSApplication - - diff --git a/Samples/Platformer2D/Platforms/OSX/Platformer2D.csproj b/Samples/Platformer2D/Platforms/OSX/Platformer2D.csproj deleted file mode 100644 index 0d23e41..0000000 --- a/Samples/Platformer2D/Platforms/OSX/Platformer2D.csproj +++ /dev/null @@ -1,123 +0,0 @@ - - - - Debug - AnyCPU - 10.0.0 - 2.0 - {A82EAD58-40D7-49BE-8F24-09FEA34F9E55} - {948B3504-5B70-4649-8FE4-BDE1FB46EC69};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - Exe - Platformer2D - Platformer2D - Platformer2D.Program - MacOSX - - - True - full - False - bin\Debug - DEBUG MONOMAC - prompt - 4 - False - False - False - False - False - False - - - none - False - bin\Release - prompt - 4 - False - False - False - False - False - False - - - - - - - - - False - ..\..\..\..\MonoMac\monomac\src\MonoMac.dll - - - - - - - - - - - - Game\Accelerometer.cs - - - Game\Animation.cs - - - Game\AnimationPlayer.cs - - - Game\Circle.cs - - - Game\Enemy.cs - - - Game\Gem.cs - - - Game\Level.cs - - - Game\Player.cs - - - Game\RectangleExtensions.cs - - - Game\Tile.cs - - - Game\TouchCollectionExtensions.cs - - - Game.cs - - - Game\VirtualGamePad.cs - - - - - Program.cs - - - - - Content\Platformer2D.mgcb - - - - - - - This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - - - diff --git a/Samples/Platformer2D/Platforms/OSX/monogameicon.png b/Samples/Platformer2D/Platforms/OSX/monogameicon.png deleted file mode 100644 index 25bcd9b..0000000 Binary files a/Samples/Platformer2D/Platforms/OSX/monogameicon.png and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/OSX/packages.config b/Samples/Platformer2D/Platforms/OSX/packages.config deleted file mode 100644 index 8ee01a6..0000000 --- a/Samples/Platformer2D/Platforms/OSX/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/Ouya/Activity1.cs b/Samples/Platformer2D/Platforms/Ouya/Activity1.cs deleted file mode 100644 index e952527..0000000 --- a/Samples/Platformer2D/Platforms/Ouya/Activity1.cs +++ /dev/null @@ -1,27 +0,0 @@ -using Android.App; -using Android.Content.PM; -using Android.OS; -using Android.Views; - -namespace Platformer2D -{ - [Activity(Label = "Platformer2D" - , MainLauncher = true - , Icon = "@drawable/icon" - , Theme = "@style/Theme.Splash" - , AlwaysRetainTaskState = true - , LaunchMode = Android.Content.PM.LaunchMode.SingleInstance - , ScreenOrientation = ScreenOrientation.SensorLandscape - , ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.Keyboard | ConfigChanges.KeyboardHidden)] - public class Activity1 : Microsoft.Xna.Framework.AndroidGameActivity - { - protected override void OnCreate(Bundle bundle) - { - base.OnCreate(bundle); - var g = new PlatformerGame(); - SetContentView((View)g.Services.GetService(typeof(View))); - g.Run(); - } - } -} - diff --git a/Samples/Platformer2D/Platforms/Ouya/Assets/AboutAssets.txt b/Samples/Platformer2D/Platforms/Ouya/Assets/AboutAssets.txt deleted file mode 100644 index ee39886..0000000 --- a/Samples/Platformer2D/Platforms/Ouya/Assets/AboutAssets.txt +++ /dev/null @@ -1,19 +0,0 @@ -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"); \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/Ouya/Icon.ico b/Samples/Platformer2D/Platforms/Ouya/Icon.ico deleted file mode 100644 index 7d9dec1..0000000 Binary files a/Samples/Platformer2D/Platforms/Ouya/Icon.ico and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/Ouya/Platformer2D.csproj b/Samples/Platformer2D/Platforms/Ouya/Platformer2D.csproj deleted file mode 100644 index 846383b..0000000 --- a/Samples/Platformer2D/Platforms/Ouya/Platformer2D.csproj +++ /dev/null @@ -1,157 +0,0 @@ - - - - Debug - AnyCPU - 8.0.30703 - 2.0 - {48BBE7DF-44ED-42DC-B9C5-7E713BAD1496} - {EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - Library - Properties - Platformer2D - Platformer2D - 512 - true - Resources\Resource.Designer.cs - Off - armeabi-v7a%3bx86 - - - v4.1 - Properties\AndroidManifest.xml - Ouya - ..\..\..\ - true - - - true - full - false - ..\..\bin\Ouya\Debug\ - DEBUG;TRACE;ANDROID;OUYA - prompt - 4 - True - None - - - pdbonly - true - bin\Release\ - TRACE;ANDROID;OUYA - prompt - 4 - False - SdkOnly - - - - - ..\..\..\packages\MonoGame.Framework.Ouya.3.4.0.459\lib\MonoAndroid\MonoGame.Framework.dll - True - - - - - - - - - $(MSBuildExtensionsPath)\..\MonoGame\v3.0\Assemblies\OUYA\Ouya.Console.Api.dll - - - - - Game\Accelerometer.cs - - - Game\Animation.cs - - - Game\AnimationPlayer.cs - - - Game\Circle.cs - - - Game\Enemy.cs - - - Game\Gem.cs - - - Game\Level.cs - - - Game\Player.cs - - - Game\RectangleExtensions.cs - - - Game\Tile.cs - - - Game\TouchCollectionExtensions.cs - - - Game.cs - - - Game\VirtualGamePad.cs - - - - - - - - - - - - - - - - - - - - - Content\Platformer2D.mgcb - - - - - - - - - - - - - - - - - - - - - - - This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/Ouya/Properties/AndroidManifest.xml b/Samples/Platformer2D/Platforms/Ouya/Properties/AndroidManifest.xml deleted file mode 100644 index 32d7335..0000000 --- a/Samples/Platformer2D/Platforms/Ouya/Properties/AndroidManifest.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/Ouya/Properties/AssemblyInfo.cs b/Samples/Platformer2D/Platforms/Ouya/Properties/AssemblyInfo.cs deleted file mode 100644 index 4333a5d..0000000 --- a/Samples/Platformer2D/Platforms/Ouya/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using System.Resources; -#if ANDROID -using Android.App; -#endif - -// 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("Platformer2D")] -[assembly: AssemblyProduct("Platformer2D")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyCopyright("Copyright © 2013")] -[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)] - -// 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")] -[assembly: NeutralResourcesLanguageAttribute("en-US")] -#if ANDROID -// Add some common permissions, these can be removed if not needed -[assembly: UsesPermission(Android.Manifest.Permission.Internet)] -[assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)] -#endif \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/Ouya/Resources/AboutResources.txt b/Samples/Platformer2D/Platforms/Ouya/Resources/AboutResources.txt deleted file mode 100644 index b0fc999..0000000 --- a/Samples/Platformer2D/Platforms/Ouya/Resources/AboutResources.txt +++ /dev/null @@ -1,44 +0,0 @@ -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.xml), -an internationalization string table (Strings.xml) and some icons (drawable/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, the build action should be set -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 -"Resource" that contains the tokens for each one of the resources included. For example, -for the above Resources layout, this is what the Resource class would expose: - -public class Resource { - public class Drawable { - public const int Icon = 0x123; - } - - public class Layout { - public const int Main = 0x456; - } - - public class String { - public const int FirstString = 0xabc; - public const int SecondString = 0xbcd; - } -} - -You would then use Resource.Drawable.Icon to reference the Drawable/Icon.png file, or -Resource.Layout.Main to reference the Layout/Main.axml file, or Resource.String.FirstString -to reference the first string in the dictionary file Values/Strings.xml. \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/Ouya/Resources/Drawable-xhdpi/ouya_icon.png b/Samples/Platformer2D/Platforms/Ouya/Resources/Drawable-xhdpi/ouya_icon.png deleted file mode 100644 index e18c228..0000000 Binary files a/Samples/Platformer2D/Platforms/Ouya/Resources/Drawable-xhdpi/ouya_icon.png and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/Ouya/Resources/Drawable/Icon.png b/Samples/Platformer2D/Platforms/Ouya/Resources/Drawable/Icon.png deleted file mode 100644 index ce70ca5..0000000 Binary files a/Samples/Platformer2D/Platforms/Ouya/Resources/Drawable/Icon.png and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/Ouya/Resources/Drawable/Splash.png b/Samples/Platformer2D/Platforms/Ouya/Resources/Drawable/Splash.png deleted file mode 100644 index 940aac3..0000000 Binary files a/Samples/Platformer2D/Platforms/Ouya/Resources/Drawable/Splash.png and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/Ouya/Resources/Resource.Designer.cs b/Samples/Platformer2D/Platforms/Ouya/Resources/Resource.Designer.cs deleted file mode 100644 index 0ae7670..0000000 --- a/Samples/Platformer2D/Platforms/Ouya/Resources/Resource.Designer.cs +++ /dev/null @@ -1,102 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.18051 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -[assembly: global::Android.Runtime.ResourceDesignerAttribute("Platformer2D.Resource", IsApplication=true)] - -namespace Platformer2D -{ - - - [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; - - // aapt resource value: 0x7f020001 - public const int ouya_icon = 2130837505; - - // aapt resource value: 0x7f020002 - public const int Splash = 2130837506; - - 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 Hello = 2130903040; - - static String() - { - global::Android.Runtime.ResourceIdManager.UpdateIdValues(); - } - - private String() - { - } - } - - public partial class Style - { - - // aapt resource value: 0x7f040000 - public const int Theme_Splash = 2130968576; - - static Style() - { - global::Android.Runtime.ResourceIdManager.UpdateIdValues(); - } - - private Style() - { - } - } - } -} -#pragma warning restore 1591 diff --git a/Samples/Platformer2D/Platforms/Ouya/Resources/Values/Strings.xml b/Samples/Platformer2D/Platforms/Ouya/Resources/Values/Strings.xml deleted file mode 100644 index a6b7fee..0000000 --- a/Samples/Platformer2D/Platforms/Ouya/Resources/Values/Strings.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - Hello World, Click Me! - Platformer2D - diff --git a/Samples/Platformer2D/Platforms/Ouya/Resources/Values/Styles.xml b/Samples/Platformer2D/Platforms/Ouya/Resources/Values/Styles.xml deleted file mode 100644 index 5102134..0000000 --- a/Samples/Platformer2D/Platforms/Ouya/Resources/Values/Styles.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - diff --git a/Samples/Platformer2D/Platforms/Ouya/packages.config b/Samples/Platformer2D/Platforms/Ouya/packages.config deleted file mode 100644 index 2c7f579..0000000 --- a/Samples/Platformer2D/Platforms/Ouya/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/PSM/Platformer2D.csproj b/Samples/Platformer2D/Platforms/PSM/Platformer2D.csproj deleted file mode 100644 index ce69fa2..0000000 --- a/Samples/Platformer2D/Platforms/PSM/Platformer2D.csproj +++ /dev/null @@ -1,102 +0,0 @@ - - - - Debug - AnyCPU - 10.0.0 - 2.0 - {A146091B-E28E-4676-8BF9-6E1607D26CFF} - {69878862-DA7D-4DC6-B0A1-50D8FAB4242F};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - Exe - Platformer2D - Platformer2D - PlaystationMobile - - - true - full - false - ..\..\bin\PSM\Debug - DEBUG;PSM - prompt - 4 - false - - - none - false - ..\..\bin\PSM\Release - prompt - 4 - false - PSM - - - - - - - - - - - - - - Game\Accelerometer.cs - - - Game\Animation.cs - - - Game\AnimationPlayer.cs - - - Game\Circle.cs - - - Game\Enemy.cs - - - Game\Gem.cs - - - Game\Level.cs - - - Game\Player.cs - - - Game\RectangleExtensions.cs - - - Game\Tile.cs - - - Game\TouchCollectionExtensions.cs - - - Game.cs - - - Game\VirtualGamePad.cs - - - - - Program.cs - - - - - Content\Platformer2D.mgcb - - - - - {EA26E76F-FDFE-4A8C-B5A3-C3B5761E28F9} - MonoGame.Framework.PSMobile - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/PSM/app.xml b/Samples/Platformer2D/Platforms/PSM/app.xml deleted file mode 100644 index ade2003..0000000 --- a/Samples/Platformer2D/Platforms/PSM/app.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/Samples/Platformer2D/Platforms/Windows8/App.xaml b/Samples/Platformer2D/Platforms/Windows8/App.xaml deleted file mode 100644 index 219a429..0000000 --- a/Samples/Platformer2D/Platforms/Windows8/App.xaml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/Windows8/App.xaml.cs b/Samples/Platformer2D/Platforms/Windows8/App.xaml.cs deleted file mode 100644 index c3ff93b..0000000 --- a/Samples/Platformer2D/Platforms/Windows8/App.xaml.cs +++ /dev/null @@ -1,223 +0,0 @@ -using System; -using System.Diagnostics; -using System.Resources; -using System.Windows; -using System.Windows.Markup; -using System.Windows.Navigation; -using Microsoft.Phone.Controls; -using Microsoft.Phone.Shell; -using Platformer2D.Resources; - -namespace Platformer2D -{ - public partial class App : Application - { - /// - /// Provides easy access to the root frame of the Phone Application. - /// - /// The root frame of the Phone Application. - public static PhoneApplicationFrame RootFrame { get; private set; } - - /// - /// Constructor for the Application object. - /// - public App() - { - // Global handler for uncaught exceptions. - UnhandledException += Application_UnhandledException; - - // Standard XAML initialization - InitializeComponent(); - - // Phone-specific initialization - InitializePhoneApplication(); - - // Language display initialization - InitializeLanguage(); - - // Show graphics profiling information while debugging. - if (Debugger.IsAttached) - { - // Display the current frame rate counters. - Application.Current.Host.Settings.EnableFrameRateCounter = true; - - // Show the areas of the app that are being redrawn in each frame. - //Application.Current.Host.Settings.EnableRedrawRegions = true; - - // Enable non-production analysis visualization mode, - // which shows areas of a page that are handed off to GPU with a colored overlay. - //Application.Current.Host.Settings.EnableCacheVisualization = true; - - // Prevent the screen from turning off while under the debugger by disabling - // the application's idle detection. - // Caution:- Use this under debug mode only. Application that disables user idle detection will continue to run - // and consume battery power when the user is not using the phone. - PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Disabled; - } - - } - - // Code to execute when the application is launching (eg, from Start) - // This code will not execute when the application is reactivated - private void Application_Launching(object sender, LaunchingEventArgs e) - { - } - - // Code to execute when the application is activated (brought to foreground) - // This code will not execute when the application is first launched - private void Application_Activated(object sender, ActivatedEventArgs e) - { - } - - // Code to execute when the application is deactivated (sent to background) - // This code will not execute when the application is closing - private void Application_Deactivated(object sender, DeactivatedEventArgs e) - { - } - - // Code to execute when the application is closing (eg, user hit Back) - // This code will not execute when the application is deactivated - private void Application_Closing(object sender, ClosingEventArgs e) - { - } - - // Code to execute if a navigation fails - private void RootFrame_NavigationFailed(object sender, NavigationFailedEventArgs e) - { - if (Debugger.IsAttached) - { - // A navigation has failed; break into the debugger - Debugger.Break(); - } - } - - // Code to execute on Unhandled Exceptions - private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e) - { - if (Debugger.IsAttached) - { - // An unhandled exception has occurred; break into the debugger - Debugger.Break(); - } - } - - #region Phone application initialization - - // Avoid double-initialization - private bool phoneApplicationInitialized = false; - - // Do not add any additional code to this method - private void InitializePhoneApplication() - { - if (phoneApplicationInitialized) - return; - - // Create the frame but don't set it as RootVisual yet; this allows the splash - // screen to remain active until the application is ready to render. - RootFrame = new PhoneApplicationFrame(); - RootFrame.Navigated += CompleteInitializePhoneApplication; - - // Handle navigation failures - RootFrame.NavigationFailed += RootFrame_NavigationFailed; - - // Handle reset requests for clearing the backstack - RootFrame.Navigated += CheckForResetNavigation; - - // Ensure we don't initialize again - phoneApplicationInitialized = true; - } - - // Do not add any additional code to this method - private void CompleteInitializePhoneApplication(object sender, NavigationEventArgs e) - { - // Set the root visual to allow the application to render - if (RootVisual != RootFrame) - RootVisual = RootFrame; - - // Remove this handler since it is no longer needed - RootFrame.Navigated -= CompleteInitializePhoneApplication; - } - - private void CheckForResetNavigation(object sender, NavigationEventArgs e) - { - // If the app has received a 'reset' navigation, then we need to check - // on the next navigation to see if the page stack should be reset - if (e.NavigationMode == NavigationMode.Reset) - RootFrame.Navigated += ClearBackStackAfterReset; - } - - private void ClearBackStackAfterReset(object sender, NavigationEventArgs e) - { - // Unregister the event so it doesn't get called again - RootFrame.Navigated -= ClearBackStackAfterReset; - - // Only clear the stack for 'new' (forward) and 'refresh' navigations - if (e.NavigationMode != NavigationMode.New && e.NavigationMode != NavigationMode.Refresh) - return; - - // For UI consistency, clear the entire page stack - while (RootFrame.RemoveBackEntry() != null) - { - ; // do nothing - } - } - - #endregion - - // Initialize the app's font and flow direction as defined in its localized resource strings. - // - // To ensure that the font of your application is aligned with its supported languages and that the - // FlowDirection for each of those languages follows its traditional direction, ResourceLanguage - // and ResourceFlowDirection should be initialized in each resx file to match these values with that - // file's culture. For example: - // - // AppResources.es-ES.resx - // ResourceLanguage's value should be "es-ES" - // ResourceFlowDirection's value should be "LeftToRight" - // - // AppResources.ar-SA.resx - // ResourceLanguage's value should be "ar-SA" - // ResourceFlowDirection's value should be "RightToLeft" - // - // For more info on localizing Windows Phone apps see http://go.microsoft.com/fwlink/?LinkId=262072. - // - private void InitializeLanguage() - { - try - { - // Set the font to match the display language defined by the - // ResourceLanguage resource string for each supported language. - // - // Fall back to the font of the neutral language if the Display - // language of the phone is not supported. - // - // If a compiler error is hit then ResourceLanguage is missing from - // the resource file. - RootFrame.Language = XmlLanguage.GetLanguage(AppResources.ResourceLanguage); - - // Set the FlowDirection of all elements under the root frame based - // on the ResourceFlowDirection resource string for each - // supported language. - // - // If a compiler error is hit then ResourceFlowDirection is missing from - // the resource file. - FlowDirection flow = (FlowDirection)Enum.Parse(typeof(FlowDirection), AppResources.ResourceFlowDirection); - RootFrame.FlowDirection = flow; - } - catch - { - // If an exception is caught here it is most likely due to either - // ResourceLangauge not being correctly set to a supported language - // code or ResourceFlowDirection is set to a value other than LeftToRight - // or RightToLeft. - - if (Debugger.IsAttached) - { - Debugger.Break(); - } - - throw; - } - } - } -} \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/Windows8/Assets/Logo.png b/Samples/Platformer2D/Platforms/Windows8/Assets/Logo.png deleted file mode 100644 index d07a12e..0000000 Binary files a/Samples/Platformer2D/Platforms/Windows8/Assets/Logo.png and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/Windows8/Assets/SmallLogo.png b/Samples/Platformer2D/Platforms/Windows8/Assets/SmallLogo.png deleted file mode 100644 index 7bc473d..0000000 Binary files a/Samples/Platformer2D/Platforms/Windows8/Assets/SmallLogo.png and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/Windows8/Assets/SplashScreen.png b/Samples/Platformer2D/Platforms/Windows8/Assets/SplashScreen.png deleted file mode 100644 index c092b4f..0000000 Binary files a/Samples/Platformer2D/Platforms/Windows8/Assets/SplashScreen.png and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/Windows8/Assets/StoreLogo.png b/Samples/Platformer2D/Platforms/Windows8/Assets/StoreLogo.png deleted file mode 100644 index 61b9828..0000000 Binary files a/Samples/Platformer2D/Platforms/Windows8/Assets/StoreLogo.png and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/Windows8/GamePage.xaml b/Samples/Platformer2D/Platforms/Windows8/GamePage.xaml deleted file mode 100644 index 6cb8467..0000000 --- a/Samples/Platformer2D/Platforms/Windows8/GamePage.xaml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/Windows8/GamePage.xaml.cs b/Samples/Platformer2D/Platforms/Windows8/GamePage.xaml.cs deleted file mode 100644 index cdcc965..0000000 --- a/Samples/Platformer2D/Platforms/Windows8/GamePage.xaml.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Net; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Navigation; -using Microsoft.Phone.Controls; -using Microsoft.Phone.Shell; -using Microsoft.Xna.Framework; -using MonoGame.Framework.WindowsPhone; -using Platformer2D.Resources; - -namespace Platformer2D -{ - public partial class GamePage : PhoneApplicationPage - { - private PlatformerGame _game; - - // Constructor - public GamePage() - { - InitializeComponent(); - - _game = XamlGame.Create("", this); - - // Sample code to localize the ApplicationBar - //BuildLocalizedApplicationBar(); - } - - protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e) - { - _game.Exit(); - base.OnBackKeyPress(e); - } - - // Sample code for building a localized ApplicationBar - //private void BuildLocalizedApplicationBar() - //{ - // // Set the page's ApplicationBar to a new instance of ApplicationBar. - // ApplicationBar = new ApplicationBar(); - - // // Create a new button and set the text value to the localized string from AppResources. - // ApplicationBarIconButton appBarButton = new ApplicationBarIconButton(new Uri("/Assets/AppBar/appbar.add.rest.png", UriKind.Relative)); - // appBarButton.Text = AppResources.AppBarButtonText; - // ApplicationBar.Buttons.Add(appBarButton); - - // // Create a new menu item with the localized string from AppResources. - // ApplicationBarMenuItem appBarMenuItem = new ApplicationBarMenuItem(AppResources.AppBarMenuItemText); - // ApplicationBar.MenuItems.Add(appBarMenuItem); - //} - } -} \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/Windows8/Package.appxmanifest b/Samples/Platformer2D/Platforms/Windows8/Package.appxmanifest deleted file mode 100644 index 9f701e4..0000000 --- a/Samples/Platformer2D/Platforms/Windows8/Package.appxmanifest +++ /dev/null @@ -1,27 +0,0 @@ - - - - - Platformer2D - Simon-Darkside - Assets\StoreLogo.png - - - 6.2.1 - 6.2.1 - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/Windows8/Platformer2D.csproj b/Samples/Platformer2D/Platforms/Windows8/Platformer2D.csproj deleted file mode 100644 index bcf51f8..0000000 --- a/Samples/Platformer2D/Platforms/Windows8/Platformer2D.csproj +++ /dev/null @@ -1,187 +0,0 @@ - - - - - Debug - AnyCPU - {DE244F4A-FDF4-4368-922C-5A37E51BF69D} - AppContainerExe - Properties - Platformer2D - Platformer2D - en-US - 512 - {BC8A1FFA-BEE3-4634-8014-F334798102B3};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - Platformer2D_TemporaryKey.pfx - ..\..\..\ - true - b11b2ad9 - Windows - - - AnyCPU - true - full - false - bin\Windows8\Debug\ - DEBUG;TRACE;NETFX_CORE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Windows8\Release\ - TRACE;NETFX_CORE - prompt - 4 - - - true - bin\Windows8\ARM\Debug\ - DEBUG;TRACE;NETFX_CORE - ;2008 - full - ARM - false - prompt - true - - - bin\Windows8\ARM\Release\ - TRACE;NETFX_CORE - true - ;2008 - pdbonly - ARM - false - prompt - true - - - true - bin\Windows8\x64\Debug\ - DEBUG;TRACE;NETFX_CORE - ;2008 - full - x64 - false - prompt - true - - - bin\Windows8\x64\Release\ - TRACE;NETFX_CORE - true - ;2008 - pdbonly - x64 - false - prompt - true - - - true - ..\..\bin\Windows8\x86\Debug\ - DEBUG;TRACE;NETFX_CORE - ;2008 - full - x86 - false - prompt - true - - - bin\Windows8\x86\Release\ - TRACE;NETFX_CORE - true - ;2008 - pdbonly - x86 - false - prompt - true - - - - Game\Accelerometer.cs - - - Game\Animation.cs - - - Game\AnimationPlayer.cs - - - Game\Circle.cs - - - Game\Enemy.cs - - - Game\Gem.cs - - - Game\Level.cs - - - Game\Player.cs - - - Game\RectangleExtensions.cs - - - Game\Tile.cs - - - Game\TouchCollectionExtensions.cs - - - Game.cs - - - Game\VirtualGamePad.cs - - - - - Program.cs - - - - - - Content\Platformer2D.mgcb - - - - - Designer - - - - - - - - - - - ..\..\..\packages\MonoGame.Framework.Windows8.3.4.0.459\lib\netcore\MonoGame.Framework.dll - - - - 11.0 - - - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/Windows8/Properties/AssemblyInfo.cs b/Samples/Platformer2D/Platforms/Windows8/Properties/AssemblyInfo.cs deleted file mode 100644 index 4333a5d..0000000 --- a/Samples/Platformer2D/Platforms/Windows8/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using System.Resources; -#if ANDROID -using Android.App; -#endif - -// 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("Platformer2D")] -[assembly: AssemblyProduct("Platformer2D")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyCopyright("Copyright © 2013")] -[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)] - -// 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")] -[assembly: NeutralResourcesLanguageAttribute("en-US")] -#if ANDROID -// Add some common permissions, these can be removed if not needed -[assembly: UsesPermission(Android.Manifest.Permission.Internet)] -[assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)] -#endif \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/Windows8/packages.config b/Samples/Platformer2D/Platforms/Windows8/packages.config deleted file mode 100644 index 3f1efb0..0000000 --- a/Samples/Platformer2D/Platforms/Windows8/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/WindowsDX/Icon.ico b/Samples/Platformer2D/Platforms/WindowsDX/Icon.ico deleted file mode 100644 index 7d9dec1..0000000 Binary files a/Samples/Platformer2D/Platforms/WindowsDX/Icon.ico and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/WindowsDX/Platformer2D.csproj b/Samples/Platformer2D/Platforms/WindowsDX/Platformer2D.csproj deleted file mode 100644 index e77a8c5..0000000 --- a/Samples/Platformer2D/Platforms/WindowsDX/Platformer2D.csproj +++ /dev/null @@ -1,122 +0,0 @@ - - - - Debug - x86 - 8.0.30703 - 2.0 - {256B1D7C-1127-4D8B-9F2B-3A8A69741B54} - WinExe - Properties - DX_GameName1 - DX-GameName1 - 512 - Windows - ..\..\..\ - true - - - x86 - true - full - false - bin\Windows\Debug\ - DEBUG;TRACE;WINDOWS - prompt - 4 - - - x86 - pdbonly - true - bin\Windows\Release\ - TRACE;WINDOWS - prompt - 4 - - - Icon.ico - - - - Game\Accelerometer.cs - - - Game\Animation.cs - - - Game\AnimationPlayer.cs - - - Game\Circle.cs - - - Game\Enemy.cs - - - Game\Gem.cs - - - Game\Level.cs - - - Game\Player.cs - - - Game\RectangleExtensions.cs - - - Game\Tile.cs - - - Game\TouchCollectionExtensions.cs - - - Game.cs - - - - - Game\VirtualGamePad.cs - - - Program.cs - - - - - - Content\Platformer2D.mgcb - - - - - ..\..\..\packages\MonoGame.Framework.WindowsDX.3.4.0.459\lib\net40\MonoGame.Framework.dll - True - - - - - - - - - - - - - - - - This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/WindowsDX/Properties/AssemblyInfo.cs b/Samples/Platformer2D/Platforms/WindowsDX/Properties/AssemblyInfo.cs deleted file mode 100644 index d54df8e..0000000 --- a/Samples/Platformer2D/Platforms/WindowsDX/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System.Reflection; -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("Platformer2D")] -[assembly: AssemblyProduct("Platformer2D")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyCopyright("Copyright © 2013")] -[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)] - - -// 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")] diff --git a/Samples/Platformer2D/Platforms/WindowsDX/packages.config b/Samples/Platformer2D/Platforms/WindowsDX/packages.config deleted file mode 100644 index 48c85e4..0000000 --- a/Samples/Platformer2D/Platforms/WindowsDX/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/WindowsGL/Icon.ico b/Samples/Platformer2D/Platforms/WindowsGL/Icon.ico deleted file mode 100644 index 7d9dec1..0000000 Binary files a/Samples/Platformer2D/Platforms/WindowsGL/Icon.ico and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/WindowsGL/Platformer2D.csproj b/Samples/Platformer2D/Platforms/WindowsGL/Platformer2D.csproj deleted file mode 100644 index c4721b9..0000000 --- a/Samples/Platformer2D/Platforms/WindowsGL/Platformer2D.csproj +++ /dev/null @@ -1,120 +0,0 @@ - - - - Debug - x86 - 8.0.30703 - 2.0 - {CAF988BD-5440-405D-95D5-BCAB25FC5240} - WinExe - Properties - Platformer2D - Platformer2D - 512 - ..\..\..\ - true - 8857d1c3 - WindowsGL - - - x86 - true - full - false - ..\..\bin\WindowsGL\Debug\ - DEBUG;TRACE;WINDOWS - prompt - 4 - - - x86 - pdbonly - true - bin\WindowsGL\Release\ - TRACE;WINDOWS - prompt - 4 - - - Icon.ico - - - - Game\Accelerometer.cs - - - Game\Animation.cs - - - Game\AnimationPlayer.cs - - - Game\Circle.cs - - - Game\Enemy.cs - - - Game\Gem.cs - - - Game\Level.cs - - - Game\Player.cs - - - Game\RectangleExtensions.cs - - - Game\Tile.cs - - - Game\TouchCollectionExtensions.cs - - - Game.cs - - - - - Game\VirtualGamePad.cs - - - Program.cs - - - - - - False - ..\..\..\packages\MonoGame.Framework.WindowsGL.3.4.0.459\lib\net40\MonoGame.Framework.dll - - - ..\..\..\packages\MonoGame.Framework.WindowsGL.3.4.0.459\lib\net40\OpenTK.dll - - - - - - - - - - Content\Platformer2D.mgcb - - - - - - - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/WindowsGL/Properties/AssemblyInfo.cs b/Samples/Platformer2D/Platforms/WindowsGL/Properties/AssemblyInfo.cs deleted file mode 100644 index e2d1240..0000000 --- a/Samples/Platformer2D/Platforms/WindowsGL/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using System.Resources; - -// 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("Platformer2D")] -[assembly: AssemblyProduct("Platformer2D")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyCopyright("Copyright © 2013")] -[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)] - -// 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")] -[assembly: NeutralResourcesLanguageAttribute("en-US")] \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/WindowsGL/packages.config b/Samples/Platformer2D/Platforms/WindowsGL/packages.config deleted file mode 100644 index 5d0a6fd..0000000 --- a/Samples/Platformer2D/Platforms/WindowsGL/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/WindowsPhone/App.xaml b/Samples/Platformer2D/Platforms/WindowsPhone/App.xaml deleted file mode 100644 index 219a429..0000000 --- a/Samples/Platformer2D/Platforms/WindowsPhone/App.xaml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/WindowsPhone/App.xaml.cs b/Samples/Platformer2D/Platforms/WindowsPhone/App.xaml.cs deleted file mode 100644 index c3ff93b..0000000 --- a/Samples/Platformer2D/Platforms/WindowsPhone/App.xaml.cs +++ /dev/null @@ -1,223 +0,0 @@ -using System; -using System.Diagnostics; -using System.Resources; -using System.Windows; -using System.Windows.Markup; -using System.Windows.Navigation; -using Microsoft.Phone.Controls; -using Microsoft.Phone.Shell; -using Platformer2D.Resources; - -namespace Platformer2D -{ - public partial class App : Application - { - /// - /// Provides easy access to the root frame of the Phone Application. - /// - /// The root frame of the Phone Application. - public static PhoneApplicationFrame RootFrame { get; private set; } - - /// - /// Constructor for the Application object. - /// - public App() - { - // Global handler for uncaught exceptions. - UnhandledException += Application_UnhandledException; - - // Standard XAML initialization - InitializeComponent(); - - // Phone-specific initialization - InitializePhoneApplication(); - - // Language display initialization - InitializeLanguage(); - - // Show graphics profiling information while debugging. - if (Debugger.IsAttached) - { - // Display the current frame rate counters. - Application.Current.Host.Settings.EnableFrameRateCounter = true; - - // Show the areas of the app that are being redrawn in each frame. - //Application.Current.Host.Settings.EnableRedrawRegions = true; - - // Enable non-production analysis visualization mode, - // which shows areas of a page that are handed off to GPU with a colored overlay. - //Application.Current.Host.Settings.EnableCacheVisualization = true; - - // Prevent the screen from turning off while under the debugger by disabling - // the application's idle detection. - // Caution:- Use this under debug mode only. Application that disables user idle detection will continue to run - // and consume battery power when the user is not using the phone. - PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Disabled; - } - - } - - // Code to execute when the application is launching (eg, from Start) - // This code will not execute when the application is reactivated - private void Application_Launching(object sender, LaunchingEventArgs e) - { - } - - // Code to execute when the application is activated (brought to foreground) - // This code will not execute when the application is first launched - private void Application_Activated(object sender, ActivatedEventArgs e) - { - } - - // Code to execute when the application is deactivated (sent to background) - // This code will not execute when the application is closing - private void Application_Deactivated(object sender, DeactivatedEventArgs e) - { - } - - // Code to execute when the application is closing (eg, user hit Back) - // This code will not execute when the application is deactivated - private void Application_Closing(object sender, ClosingEventArgs e) - { - } - - // Code to execute if a navigation fails - private void RootFrame_NavigationFailed(object sender, NavigationFailedEventArgs e) - { - if (Debugger.IsAttached) - { - // A navigation has failed; break into the debugger - Debugger.Break(); - } - } - - // Code to execute on Unhandled Exceptions - private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e) - { - if (Debugger.IsAttached) - { - // An unhandled exception has occurred; break into the debugger - Debugger.Break(); - } - } - - #region Phone application initialization - - // Avoid double-initialization - private bool phoneApplicationInitialized = false; - - // Do not add any additional code to this method - private void InitializePhoneApplication() - { - if (phoneApplicationInitialized) - return; - - // Create the frame but don't set it as RootVisual yet; this allows the splash - // screen to remain active until the application is ready to render. - RootFrame = new PhoneApplicationFrame(); - RootFrame.Navigated += CompleteInitializePhoneApplication; - - // Handle navigation failures - RootFrame.NavigationFailed += RootFrame_NavigationFailed; - - // Handle reset requests for clearing the backstack - RootFrame.Navigated += CheckForResetNavigation; - - // Ensure we don't initialize again - phoneApplicationInitialized = true; - } - - // Do not add any additional code to this method - private void CompleteInitializePhoneApplication(object sender, NavigationEventArgs e) - { - // Set the root visual to allow the application to render - if (RootVisual != RootFrame) - RootVisual = RootFrame; - - // Remove this handler since it is no longer needed - RootFrame.Navigated -= CompleteInitializePhoneApplication; - } - - private void CheckForResetNavigation(object sender, NavigationEventArgs e) - { - // If the app has received a 'reset' navigation, then we need to check - // on the next navigation to see if the page stack should be reset - if (e.NavigationMode == NavigationMode.Reset) - RootFrame.Navigated += ClearBackStackAfterReset; - } - - private void ClearBackStackAfterReset(object sender, NavigationEventArgs e) - { - // Unregister the event so it doesn't get called again - RootFrame.Navigated -= ClearBackStackAfterReset; - - // Only clear the stack for 'new' (forward) and 'refresh' navigations - if (e.NavigationMode != NavigationMode.New && e.NavigationMode != NavigationMode.Refresh) - return; - - // For UI consistency, clear the entire page stack - while (RootFrame.RemoveBackEntry() != null) - { - ; // do nothing - } - } - - #endregion - - // Initialize the app's font and flow direction as defined in its localized resource strings. - // - // To ensure that the font of your application is aligned with its supported languages and that the - // FlowDirection for each of those languages follows its traditional direction, ResourceLanguage - // and ResourceFlowDirection should be initialized in each resx file to match these values with that - // file's culture. For example: - // - // AppResources.es-ES.resx - // ResourceLanguage's value should be "es-ES" - // ResourceFlowDirection's value should be "LeftToRight" - // - // AppResources.ar-SA.resx - // ResourceLanguage's value should be "ar-SA" - // ResourceFlowDirection's value should be "RightToLeft" - // - // For more info on localizing Windows Phone apps see http://go.microsoft.com/fwlink/?LinkId=262072. - // - private void InitializeLanguage() - { - try - { - // Set the font to match the display language defined by the - // ResourceLanguage resource string for each supported language. - // - // Fall back to the font of the neutral language if the Display - // language of the phone is not supported. - // - // If a compiler error is hit then ResourceLanguage is missing from - // the resource file. - RootFrame.Language = XmlLanguage.GetLanguage(AppResources.ResourceLanguage); - - // Set the FlowDirection of all elements under the root frame based - // on the ResourceFlowDirection resource string for each - // supported language. - // - // If a compiler error is hit then ResourceFlowDirection is missing from - // the resource file. - FlowDirection flow = (FlowDirection)Enum.Parse(typeof(FlowDirection), AppResources.ResourceFlowDirection); - RootFrame.FlowDirection = flow; - } - catch - { - // If an exception is caught here it is most likely due to either - // ResourceLangauge not being correctly set to a supported language - // code or ResourceFlowDirection is set to a value other than LeftToRight - // or RightToLeft. - - if (Debugger.IsAttached) - { - Debugger.Break(); - } - - throw; - } - } - } -} \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/WindowsPhone/Assets/AlignmentGrid.png b/Samples/Platformer2D/Platforms/WindowsPhone/Assets/AlignmentGrid.png deleted file mode 100644 index f7d2e97..0000000 Binary files a/Samples/Platformer2D/Platforms/WindowsPhone/Assets/AlignmentGrid.png and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/WindowsPhone/Assets/ApplicationIcon.png b/Samples/Platformer2D/Platforms/WindowsPhone/Assets/ApplicationIcon.png deleted file mode 100644 index aca3770..0000000 Binary files a/Samples/Platformer2D/Platforms/WindowsPhone/Assets/ApplicationIcon.png and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/WindowsPhone/Assets/Logo.png b/Samples/Platformer2D/Platforms/WindowsPhone/Assets/Logo.png deleted file mode 100644 index d07a12e..0000000 Binary files a/Samples/Platformer2D/Platforms/WindowsPhone/Assets/Logo.png and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/WindowsPhone/Assets/SmallLogo.png b/Samples/Platformer2D/Platforms/WindowsPhone/Assets/SmallLogo.png deleted file mode 100644 index 7bc473d..0000000 Binary files a/Samples/Platformer2D/Platforms/WindowsPhone/Assets/SmallLogo.png and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/WindowsPhone/Assets/SplashScreen.png b/Samples/Platformer2D/Platforms/WindowsPhone/Assets/SplashScreen.png deleted file mode 100644 index c092b4f..0000000 Binary files a/Samples/Platformer2D/Platforms/WindowsPhone/Assets/SplashScreen.png and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/WindowsPhone/Assets/StoreLogo.png b/Samples/Platformer2D/Platforms/WindowsPhone/Assets/StoreLogo.png deleted file mode 100644 index 61b9828..0000000 Binary files a/Samples/Platformer2D/Platforms/WindowsPhone/Assets/StoreLogo.png and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/WindowsPhone/Assets/Tiles/FlipCycleTileLarge.png b/Samples/Platformer2D/Platforms/WindowsPhone/Assets/Tiles/FlipCycleTileLarge.png deleted file mode 100644 index 7adbe32..0000000 Binary files a/Samples/Platformer2D/Platforms/WindowsPhone/Assets/Tiles/FlipCycleTileLarge.png and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/WindowsPhone/Assets/Tiles/FlipCycleTileMedium.png b/Samples/Platformer2D/Platforms/WindowsPhone/Assets/Tiles/FlipCycleTileMedium.png deleted file mode 100644 index ee406d8..0000000 Binary files a/Samples/Platformer2D/Platforms/WindowsPhone/Assets/Tiles/FlipCycleTileMedium.png and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/WindowsPhone/Assets/Tiles/FlipCycleTileSmall.png b/Samples/Platformer2D/Platforms/WindowsPhone/Assets/Tiles/FlipCycleTileSmall.png deleted file mode 100644 index 92cb963..0000000 Binary files a/Samples/Platformer2D/Platforms/WindowsPhone/Assets/Tiles/FlipCycleTileSmall.png and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/WindowsPhone/Assets/Tiles/IconicTileMediumLarge.png b/Samples/Platformer2D/Platforms/WindowsPhone/Assets/Tiles/IconicTileMediumLarge.png deleted file mode 100644 index 1636415..0000000 Binary files a/Samples/Platformer2D/Platforms/WindowsPhone/Assets/Tiles/IconicTileMediumLarge.png and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/WindowsPhone/Assets/Tiles/IconicTileSmall.png b/Samples/Platformer2D/Platforms/WindowsPhone/Assets/Tiles/IconicTileSmall.png deleted file mode 100644 index bd92be1..0000000 Binary files a/Samples/Platformer2D/Platforms/WindowsPhone/Assets/Tiles/IconicTileSmall.png and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/WindowsPhone/GamePage.xaml b/Samples/Platformer2D/Platforms/WindowsPhone/GamePage.xaml deleted file mode 100644 index 6cb8467..0000000 --- a/Samples/Platformer2D/Platforms/WindowsPhone/GamePage.xaml +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/WindowsPhone/GamePage.xaml.cs b/Samples/Platformer2D/Platforms/WindowsPhone/GamePage.xaml.cs deleted file mode 100644 index cdcc965..0000000 --- a/Samples/Platformer2D/Platforms/WindowsPhone/GamePage.xaml.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Net; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Navigation; -using Microsoft.Phone.Controls; -using Microsoft.Phone.Shell; -using Microsoft.Xna.Framework; -using MonoGame.Framework.WindowsPhone; -using Platformer2D.Resources; - -namespace Platformer2D -{ - public partial class GamePage : PhoneApplicationPage - { - private PlatformerGame _game; - - // Constructor - public GamePage() - { - InitializeComponent(); - - _game = XamlGame.Create("", this); - - // Sample code to localize the ApplicationBar - //BuildLocalizedApplicationBar(); - } - - protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e) - { - _game.Exit(); - base.OnBackKeyPress(e); - } - - // Sample code for building a localized ApplicationBar - //private void BuildLocalizedApplicationBar() - //{ - // // Set the page's ApplicationBar to a new instance of ApplicationBar. - // ApplicationBar = new ApplicationBar(); - - // // Create a new button and set the text value to the localized string from AppResources. - // ApplicationBarIconButton appBarButton = new ApplicationBarIconButton(new Uri("/Assets/AppBar/appbar.add.rest.png", UriKind.Relative)); - // appBarButton.Text = AppResources.AppBarButtonText; - // ApplicationBar.Buttons.Add(appBarButton); - - // // Create a new menu item with the localized string from AppResources. - // ApplicationBarMenuItem appBarMenuItem = new ApplicationBarMenuItem(AppResources.AppBarMenuItemText); - // ApplicationBar.MenuItems.Add(appBarMenuItem); - //} - } -} \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/WindowsPhone/LocalizedStrings.cs b/Samples/Platformer2D/Platforms/WindowsPhone/LocalizedStrings.cs deleted file mode 100644 index 2149760..0000000 --- a/Samples/Platformer2D/Platforms/WindowsPhone/LocalizedStrings.cs +++ /dev/null @@ -1,14 +0,0 @@ -using Platformer2D.Resources; - -namespace Platformer2D -{ - /// - /// Provides access to string resources. - /// - public class LocalizedStrings - { - private static AppResources _localizedResources = new AppResources(); - - public AppResources LocalizedResources { get { return _localizedResources; } } - } -} \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/WindowsPhone/Platformer2D.csproj b/Samples/Platformer2D/Platforms/WindowsPhone/Platformer2D.csproj deleted file mode 100644 index 989ac8e..0000000 --- a/Samples/Platformer2D/Platforms/WindowsPhone/Platformer2D.csproj +++ /dev/null @@ -1,199 +0,0 @@ - - - - Debug - ARM - 10.0.20506 - 2.0 - {F3222C35-15A9-4289-AABC-162236E94806} - {C089C8C0-30E0-4E22-80C0-CE093F111A43};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} - Library - Properties - Platformer2D - Platformer2D - WindowsPhone - v8.0 - $(TargetFrameworkVersion) - true - - - true - true - Platformer2D_$(Configuration)_$(Platform).xap - Properties\AppManifest.xml - Platformer2D.App - true - 11.0 - true - ..\..\..\ - true - 1962f649 - WindowsPhone8 - - - true - full - false - ..\..\bin\WindowsPhone\x86\Debug\ - DEBUG;TRACE;SILVERLIGHT;WINDOWS_PHONE - true - true - prompt - 4 - - - pdbonly - true - bin\WindowsPhone\x86\Release - TRACE;SILVERLIGHT;WINDOWS_PHONE - true - true - prompt - 4 - - - true - full - false - bin\WindowsPhone\ARM\Debug - DEBUG;TRACE;SILVERLIGHT;WINDOWS_PHONE - true - true - prompt - 4 - - - pdbonly - true - bin\WindowsPhone\ARM\Release - TRACE;SILVERLIGHT;WINDOWS_PHONE - true - true - prompt - 4 - - - - Game\Accelerometer.cs - - - Game\Animation.cs - - - Game\AnimationPlayer.cs - - - Game\Circle.cs - - - Game\Enemy.cs - - - Game\Gem.cs - - - Game\Level.cs - - - Game\Player.cs - - - Game\RectangleExtensions.cs - - - Game\Tile.cs - - - Game\TouchCollectionExtensions.cs - - - Game.cs - - - - - Game\VirtualGamePad.cs - - - - App.xaml - - - GamePage.xaml - - - - True - True - AppResources.resx - - - - - Designer - MSBuild:Compile - - - Designer - MSBuild:Compile - - - - - - - Designer - - - - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - - - Content\Platformer2D.mgcb - - - - - PublicResXFileCodeGenerator - AppResources.Designer.cs - - - - - - - - - - - - This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/WindowsPhone/Properties/AppManifest.xml b/Samples/Platformer2D/Platforms/WindowsPhone/Properties/AppManifest.xml deleted file mode 100644 index 6712a11..0000000 --- a/Samples/Platformer2D/Platforms/WindowsPhone/Properties/AppManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - diff --git a/Samples/Platformer2D/Platforms/WindowsPhone/Properties/AssemblyInfo.cs b/Samples/Platformer2D/Platforms/WindowsPhone/Properties/AssemblyInfo.cs deleted file mode 100644 index 4333a5d..0000000 --- a/Samples/Platformer2D/Platforms/WindowsPhone/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; -using System.Resources; -#if ANDROID -using Android.App; -#endif - -// 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("Platformer2D")] -[assembly: AssemblyProduct("Platformer2D")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyCopyright("Copyright © 2013")] -[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)] - -// 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")] -[assembly: NeutralResourcesLanguageAttribute("en-US")] -#if ANDROID -// Add some common permissions, these can be removed if not needed -[assembly: UsesPermission(Android.Manifest.Permission.Internet)] -[assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)] -#endif \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/WindowsPhone/Properties/WMAppManifest.xml b/Samples/Platformer2D/Platforms/WindowsPhone/Properties/WMAppManifest.xml deleted file mode 100644 index d60636f..0000000 --- a/Samples/Platformer2D/Platforms/WindowsPhone/Properties/WMAppManifest.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - Assets\ApplicationIcon.png - - - - - - - - - - - - - - Assets\Tiles\FlipCycleTileSmall.png - 0 - Assets\Tiles\FlipCycleTileMedium.png - Platformer2D_WP8 - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/WindowsPhone/Resources/AppResources.resx b/Samples/Platformer2D/Platforms/WindowsPhone/Resources/AppResources.resx deleted file mode 100644 index 529a194..0000000 --- a/Samples/Platformer2D/Platforms/WindowsPhone/Resources/AppResources.resx +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - LeftToRight - Controls the FlowDirection for all elements in the RootFrame. Set to the traditional direction of this resource file's language - - - en-US - Controls the Language and ensures that the font for all elements in the RootFrame aligns with the app's language. Set to the language code of this resource file's language. - - - MY APPLICATION - - - add - - - Menu Item - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/WindowsPhone/packages.config b/Samples/Platformer2D/Platforms/WindowsPhone/packages.config deleted file mode 100644 index 886f8ab..0000000 --- a/Samples/Platformer2D/Platforms/WindowsPhone/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/iOS/Info.plist b/Samples/Platformer2D/Platforms/iOS/Info.plist deleted file mode 100644 index 8063d1e..0000000 --- a/Samples/Platformer2D/Platforms/iOS/Info.plist +++ /dev/null @@ -1,36 +0,0 @@ - - - - - CFBundleDisplayName - Platformer2D - CFBundleIconFiles - - monogameicon.png - - MinimumOSVersion - 7.0 - UIDeviceFamily - - 1 - 2 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - CFBundleIdentifier - Platformer2D - CFBundleVersion - 0.1 - NSMainNibFile - - NSMainNibFile~ipad - - CFBundleShortVersionString - 1.0 - - diff --git a/Samples/Platformer2D/Platforms/iOS/Platformer2D.csproj b/Samples/Platformer2D/Platforms/iOS/Platformer2D.csproj deleted file mode 100644 index 0539487..0000000 --- a/Samples/Platformer2D/Platforms/iOS/Platformer2D.csproj +++ /dev/null @@ -1,157 +0,0 @@ - - - - Debug - iPhoneSimulator - 9.0.21022 - 2.0 - {DEC435F4-9E84-490B-9890-72E5F514B8D0} - {6BC8ED88-2882-458C-8E55-DFD12B67127B};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - Exe - Platformer2D - Platformer2D - ..\..\..\ - true - b6a9f92e - iOS - - - True - full - False - bin\iPhoneSimulator\Debug - IPHONE;DEBUG; - prompt - 4 - None - True - - false - - - none - True - bin\iPhoneSimulator\Release - prompt - 4 - - false - IPHONE; - - - True - full - False - bin\iPhone\Debug - IPHONE;DEBUG;TEST1_1 - prompt - 4 - True - iPhone Developer - - 4.0 - false - - - none - False - bin\iPhone\Release - prompt - 4 - - iPhone Developer - 4.0 - false - IPHONE - - - none - False - bin\Debug - 4 - false - IPHONE - - - none - False - bin\Release - 4 - false - IPHONE - - - - - - - - - - Game\Accelerometer.cs - - - Game\Animation.cs - - - Game\AnimationPlayer.cs - - - Game\Circle.cs - - - Game\Enemy.cs - - - Game\Gem.cs - - - Game\Level.cs - - - Game\Player.cs - - - Game\RectangleExtensions.cs - - - Game\Tile.cs - - - Game\TouchCollectionExtensions.cs - - - Game.cs - - - Game\VirtualGamePad.cs - - - - - Program.cs - - - - - - Content\Platformer2D.mgcb - - - - - - - - - - - - - This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/iOS/monogameicon.png b/Samples/Platformer2D/Platforms/iOS/monogameicon.png deleted file mode 100644 index 25bcd9b..0000000 Binary files a/Samples/Platformer2D/Platforms/iOS/monogameicon.png and /dev/null differ diff --git a/Samples/Platformer2D/Platforms/iOS/packages.config b/Samples/Platformer2D/Platforms/iOS/packages.config deleted file mode 100644 index 536c108..0000000 --- a/Samples/Platformer2D/Platforms/iOS/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/Samples/Platformer2D/Properties/AssemblyInfo.cs b/Samples/Platformer2D/Properties/AssemblyInfo.cs deleted file mode 100644 index 51c8917..0000000 --- a/Samples/Platformer2D/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System.Reflection; -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("Platformer2D")] -[assembly: AssemblyProduct("Platformer2D")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyCopyright("Copyright © 2013")] -[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)] - - -// 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")] diff --git a/Samples/Sandbox/Properties/AssemblyInfo.cs b/Samples/Sandbox/Properties/AssemblyInfo.cs deleted file mode 100644 index fd22126..0000000 --- a/Samples/Sandbox/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -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("Sandbox")] -[assembly: AssemblyProduct("Sandbox")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyCopyright("Copyright © 2015")] -[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("97861c24-c9e0-4edc-80f9-8dd320f361c4")] - -// 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("3.4.0.456")] -[assembly: AssemblyFileVersion("3.4.0.456")] diff --git a/Samples/Sandbox/Sandbox.csproj b/Samples/Sandbox/Sandbox.csproj index 4f9edea..4dd42b0 100644 --- a/Samples/Sandbox/Sandbox.csproj +++ b/Samples/Sandbox/Sandbox.csproj @@ -1,98 +1,25 @@ - - - + + - Debug - x86 - 8.0.30703 - 2.0 - {42F21905-2DA7-44A3-AA3A-B80C74F49D1A} WinExe - Properties - Sandbox - Sandbox - 512 - Windows - - - v4.5 - - - - x86 - true - full - false - bin\Windows\Debug\ - DEBUG;TRACE;WINDOWS - prompt - 4 - false - - - x86 - pdbonly - true - bin\Windows\Release\ - TRACE;WINDOWS - prompt - 4 - false - - + netcoreapp3.1 + WINDOWS Icon.ico + false + - - - - - - - - - - - - - - - - - + + + - - $(MonoGameInstallDirectory)\MonoGame\v3.0\Assemblies\Windows\MonoGame.Framework.dll - - - - - - + + + - - - - - {b021f95c-38bc-493a-bb92-c3c575e4b50f} - MonoGame.Penumbra - - - {581a9c04-4407-4db7-a139-8e6ca64915a9} - Common - - - - - - \ No newline at end of file + + diff --git a/Samples/Shared/Common/Common.csproj b/Samples/Shared/Common/Common.csproj index 7fd0a29..14317a0 100644 --- a/Samples/Shared/Common/Common.csproj +++ b/Samples/Shared/Common/Common.csproj @@ -1,63 +1,17 @@ - - - + + - Debug - AnyCPU - {581A9C04-4407-4DB7-A139-8E6CA64915A9} Library - Properties - Common - Common - v4.5 - 512 - + netcoreapp3.1 + false - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false - - - - $(MonoGameInstallDirectory)\MonoGame\v3.0\Assemblies\Windows\MonoGame.Framework.dll - - - + - - - - - - + + - - {b021f95c-38bc-493a-bb92-c3c575e4b50f} - MonoGame.Penumbra - + - - - \ No newline at end of file + + diff --git a/Samples/Shared/Common/Properties/AssemblyInfo.cs b/Samples/Shared/Common/Properties/AssemblyInfo.cs deleted file mode 100644 index 1671f87..0000000 --- a/Samples/Shared/Common/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -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("SharedComponents")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Microsoft")] -[assembly: AssemblyProduct("SharedComponents")] -[assembly: AssemblyCopyright("Copyright © Microsoft 2015")] -[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("581a9c04-4407-4db7-a139-8e6ca64915a9")] - -// 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")] diff --git a/Samples/Shared/FarseerPhysics Source/Farseer Physics DebugView 3.5/Content/Content.mgcb b/Samples/Shared/FarseerPhysics Source/Farseer Physics DebugView 3.5/Content/Content.mgcb new file mode 100644 index 0000000..dc9b106 --- /dev/null +++ b/Samples/Shared/FarseerPhysics Source/Farseer Physics DebugView 3.5/Content/Content.mgcb @@ -0,0 +1,20 @@ + +#----------------------------- Global Properties ----------------------------# + +/outputDir:bin/$(Platform) +/intermediateDir:obj/$(Platform) +/platform:Windows +/config: +/profile:Reach +/compress:False + +#-------------------------------- References --------------------------------# + + +#---------------------------------- Content ---------------------------------# + +#begin Font.spritefont +/importer:FontDescriptionImporter +/processor:FontDescriptionProcessor +/processorParam:TextureFormat=Compressed +/build:Font.spritefont diff --git a/Samples/Shared/FarseerPhysics Source/Farseer Physics DebugView 3.5/Content/DebugView Content.contentproj b/Samples/Shared/FarseerPhysics Source/Farseer Physics DebugView 3.5/Content/DebugView Content.contentproj deleted file mode 100644 index 7146626..0000000 --- a/Samples/Shared/FarseerPhysics Source/Farseer Physics DebugView 3.5/Content/DebugView Content.contentproj +++ /dev/null @@ -1,87 +0,0 @@ - - - - {AC26EDE1-2A42-4A57-BEEE-9603FCAC9317} - {96E2B04D-8817-42c6-938A-82C39BA4D311};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - Debug - x86 - Library - Properties - v4.0 - v4.0 - bin\$(Platform)\$(Configuration) - - - - - - - - - Content - publish\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 0 - 1.0.0.%2a - false - false - true - - - Content - - - - Font - FontDescriptionImporter - FontDescriptionProcessor - - - - - - - - - - - - - - False - Microsoft .NET Framework 4 %28x86 and x64%29 - true - - - False - .NET Framework 3.5 SP1 Client Profile - false - - - False - .NET Framework 3.5 SP1 - false - - - False - Windows Installer 3.1 - true - - - - - \ No newline at end of file diff --git a/Samples/Shared/FarseerPhysics Source/Farseer Physics DebugView 3.5/DebugView MonoGame.csproj b/Samples/Shared/FarseerPhysics Source/Farseer Physics DebugView 3.5/DebugView MonoGame.csproj index 80c10a0..47255dd 100644 --- a/Samples/Shared/FarseerPhysics Source/Farseer Physics DebugView 3.5/DebugView MonoGame.csproj +++ b/Samples/Shared/FarseerPhysics Source/Farseer Physics DebugView 3.5/DebugView MonoGame.csproj @@ -1,84 +1,18 @@ - - - + + - Debug - x86 - 8.0.30703 - 2.0 - {566F1803-90B5-4947-8730-57F092FBB002} Library - Properties - FarseerPhysics.DebugView - DebugView MonoGame - 512 - - - - - - - - - v4.5 - + netcoreapp3.1 + false + WINDOWS;XNA - - x86 - true - full - false - bin\WindowsGL\Debug\ - DEBUG;TRACE;WINDOWS - prompt - 4 - false - - - x86 - pdbonly - true - bin\WindowsGL\Release\ - TRACE;WINDOWS - prompt - 4 - false - - - - - - - - - - - - - - - - $(MonoGameInstallDirectory)\MonoGame\v3.0\Assemblies\Windows\MonoGame.Framework.dll - - - + - - PreserveNewest - + + - - {0AAD36E3-51A5-4A07-AB60-5C8A66BD38B7} - Farseer Physics MonoGame - + - - - \ No newline at end of file + + diff --git a/Samples/Shared/FarseerPhysics Source/Farseer Physics DebugView 3.5/Properties/AppManifest.xml b/Samples/Shared/FarseerPhysics Source/Farseer Physics DebugView 3.5/Properties/AppManifest.xml deleted file mode 100644 index 6712a11..0000000 --- a/Samples/Shared/FarseerPhysics Source/Farseer Physics DebugView 3.5/Properties/AppManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - diff --git a/Samples/Shared/FarseerPhysics Source/Farseer Physics DebugView 3.5/Properties/AssemblyInfo.cs b/Samples/Shared/FarseerPhysics Source/Farseer Physics DebugView 3.5/Properties/AssemblyInfo.cs deleted file mode 100644 index b208f02..0000000 --- a/Samples/Shared/FarseerPhysics Source/Farseer Physics DebugView 3.5/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Reflection; -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("Debug View XNA")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Farseer Physics Engine")] -[assembly: AssemblyProduct("Farseer Physics Engine")] -[assembly: AssemblyCopyright("Copyright Ian Qvist © 2013")] -[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("aba33b62-6057-4ec2-af74-adce8a1ecd99")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// - -[assembly: AssemblyVersion("3.5.0.*")] \ No newline at end of file diff --git a/Samples/Shared/FarseerPhysics Source/Farseer Physics DebugView 3.5/Properties/WMAppManifest.xml b/Samples/Shared/FarseerPhysics Source/Farseer Physics DebugView 3.5/Properties/WMAppManifest.xml deleted file mode 100644 index 10e5c42..0000000 --- a/Samples/Shared/FarseerPhysics Source/Farseer Physics DebugView 3.5/Properties/WMAppManifest.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - - - - \ No newline at end of file diff --git a/Samples/Shared/FarseerPhysics Source/Farseer Physics Engine 3.5/Farseer Physics MonoGame.csproj b/Samples/Shared/FarseerPhysics Source/Farseer Physics Engine 3.5/Farseer Physics MonoGame.csproj index 0eebb54..3345af0 100644 --- a/Samples/Shared/FarseerPhysics Source/Farseer Physics Engine 3.5/Farseer Physics MonoGame.csproj +++ b/Samples/Shared/FarseerPhysics Source/Farseer Physics Engine 3.5/Farseer Physics MonoGame.csproj @@ -1,183 +1,14 @@ - - - + + - Debug - x86 - 8.0.30703 - 2.0 - {0AAD36E3-51A5-4A07-AB60-5C8A66BD38B7} Library - Properties - FarseerPhysics - FarseerPhysics MonoGame - 512 - - - - - - - - - v4.5 - - + netcoreapp3.1 + false + WINDOWS;XNA - - x86 - true - full - false - bin\WindowsGL\Debug\ - DEBUG;TRACE;WINDOWS - prompt - 4 - false - - - x86 - pdbonly - true - bin\WindowsGL\Release\ - TRACE;WINDOWS - prompt - 4 - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - $(MonoGameInstallDirectory)\MonoGame\v3.0\Assemblies\Windows\MonoGame.Framework.dll - - - + - - - \ No newline at end of file + + diff --git a/Samples/Shared/FarseerPhysics Source/Farseer Physics Engine 3.5/Properties/AssemblyInfo.cs b/Samples/Shared/FarseerPhysics Source/Farseer Physics Engine 3.5/Properties/AssemblyInfo.cs deleted file mode 100644 index e4fe027..0000000 --- a/Samples/Shared/FarseerPhysics Source/Farseer Physics Engine 3.5/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System.Reflection; -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("Farseer Physics Engine")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Farseer Physics Engine")] -[assembly: AssemblyProduct("Farseer Physics Engine")] -[assembly: AssemblyCopyright("Copyright Ian Qvist © 2013")] -[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("62807528-18aa-4260-9a0f-b7b9f436bc07")] - -// 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 Revision and Build Numbers -// by using the '*' as shown below: -[assembly: AssemblyVersion("3.5.0.*")] -[assembly: AssemblyFileVersion("3.5.0.*")] diff --git a/Source/Content/Content.DesktopGL.mgcb b/Source/Content/Content.DesktopGL.mgcb index 4d18dbe..437a8b0 100644 --- a/Source/Content/Content.DesktopGL.mgcb +++ b/Source/Content/Content.DesktopGL.mgcb @@ -1,8 +1,8 @@ #----------------------------- Global Properties ----------------------------# -/outputDir:bin/DesktopGL -/intermediateDir:obj/DesktopGL +/outputDir:bin/$(Platform) +/intermediateDir:obj/$(Platform) /platform:DesktopGL /config: /profile:Reach diff --git a/Source/Content/Content.WindowsDX.mgcb b/Source/Content/Content.WindowsDX.mgcb index a94f503..824aab8 100644 --- a/Source/Content/Content.WindowsDX.mgcb +++ b/Source/Content/Content.WindowsDX.mgcb @@ -1,8 +1,8 @@ #----------------------------- Global Properties ----------------------------# -/outputDir:bin/WindowsDX -/intermediateDir:obj/WindowsDX +/outputDir:bin/$(Platform) +/intermediateDir:obj/$(Platform) /platform:Windows /config: /profile:Reach diff --git a/Source/Content/bin/DesktopGL/PenumbraHull.xnb b/Source/Content/bin/DesktopGL/Content.DesktopGL/PenumbraHull.xnb similarity index 83% rename from Source/Content/bin/DesktopGL/PenumbraHull.xnb rename to Source/Content/bin/DesktopGL/Content.DesktopGL/PenumbraHull.xnb index 03191cc..f7b092e 100644 Binary files a/Source/Content/bin/DesktopGL/PenumbraHull.xnb and b/Source/Content/bin/DesktopGL/Content.DesktopGL/PenumbraHull.xnb differ diff --git a/Source/Content/bin/DesktopGL/PenumbraLight.xnb b/Source/Content/bin/DesktopGL/Content.DesktopGL/PenumbraLight.xnb similarity index 94% rename from Source/Content/bin/DesktopGL/PenumbraLight.xnb rename to Source/Content/bin/DesktopGL/Content.DesktopGL/PenumbraLight.xnb index 82da314..cce2361 100644 Binary files a/Source/Content/bin/DesktopGL/PenumbraLight.xnb and b/Source/Content/bin/DesktopGL/Content.DesktopGL/PenumbraLight.xnb differ diff --git a/Source/Content/bin/DesktopGL/PenumbraShadow.xnb b/Source/Content/bin/DesktopGL/Content.DesktopGL/PenumbraShadow.xnb similarity index 94% rename from Source/Content/bin/DesktopGL/PenumbraShadow.xnb rename to Source/Content/bin/DesktopGL/Content.DesktopGL/PenumbraShadow.xnb index 7ce5435..a2f8c66 100644 Binary files a/Source/Content/bin/DesktopGL/PenumbraShadow.xnb and b/Source/Content/bin/DesktopGL/Content.DesktopGL/PenumbraShadow.xnb differ diff --git a/Source/Content/bin/DesktopGL/PenumbraTexture.xnb b/Source/Content/bin/DesktopGL/Content.DesktopGL/PenumbraTexture.xnb similarity index 85% rename from Source/Content/bin/DesktopGL/PenumbraTexture.xnb rename to Source/Content/bin/DesktopGL/Content.DesktopGL/PenumbraTexture.xnb index 9a17ddd..a2f81bb 100644 Binary files a/Source/Content/bin/DesktopGL/PenumbraTexture.xnb and b/Source/Content/bin/DesktopGL/Content.DesktopGL/PenumbraTexture.xnb differ diff --git a/Source/Content/bin/DesktopGL/Content.WindowsDX/PenumbraHull.xnb b/Source/Content/bin/DesktopGL/Content.WindowsDX/PenumbraHull.xnb new file mode 100644 index 0000000..f7b092e Binary files /dev/null and b/Source/Content/bin/DesktopGL/Content.WindowsDX/PenumbraHull.xnb differ diff --git a/Source/Content/bin/DesktopGL/Content.WindowsDX/PenumbraLight.xnb b/Source/Content/bin/DesktopGL/Content.WindowsDX/PenumbraLight.xnb new file mode 100644 index 0000000..cce2361 Binary files /dev/null and b/Source/Content/bin/DesktopGL/Content.WindowsDX/PenumbraLight.xnb differ diff --git a/Source/Content/bin/DesktopGL/Content.WindowsDX/PenumbraShadow.xnb b/Source/Content/bin/DesktopGL/Content.WindowsDX/PenumbraShadow.xnb new file mode 100644 index 0000000..a2f8c66 Binary files /dev/null and b/Source/Content/bin/DesktopGL/Content.WindowsDX/PenumbraShadow.xnb differ diff --git a/Source/Content/bin/DesktopGL/Content.WindowsDX/PenumbraTexture.xnb b/Source/Content/bin/DesktopGL/Content.WindowsDX/PenumbraTexture.xnb new file mode 100644 index 0000000..a2f81bb Binary files /dev/null and b/Source/Content/bin/DesktopGL/Content.WindowsDX/PenumbraTexture.xnb differ diff --git a/Source/Content/bin/Windows/Content.DesktopGL/PenumbraHull.xnb b/Source/Content/bin/Windows/Content.DesktopGL/PenumbraHull.xnb new file mode 100644 index 0000000..e668ce4 Binary files /dev/null and b/Source/Content/bin/Windows/Content.DesktopGL/PenumbraHull.xnb differ diff --git a/Source/Content/bin/WindowsDX/PenumbraLight.xnb b/Source/Content/bin/Windows/Content.DesktopGL/PenumbraLight.xnb similarity index 96% rename from Source/Content/bin/WindowsDX/PenumbraLight.xnb rename to Source/Content/bin/Windows/Content.DesktopGL/PenumbraLight.xnb index b9fd8a1..8af3fdb 100644 Binary files a/Source/Content/bin/WindowsDX/PenumbraLight.xnb and b/Source/Content/bin/Windows/Content.DesktopGL/PenumbraLight.xnb differ diff --git a/Source/Content/bin/WindowsDX/PenumbraShadow.xnb b/Source/Content/bin/Windows/Content.DesktopGL/PenumbraShadow.xnb similarity index 90% rename from Source/Content/bin/WindowsDX/PenumbraShadow.xnb rename to Source/Content/bin/Windows/Content.DesktopGL/PenumbraShadow.xnb index c1bbcff..fb3790b 100644 Binary files a/Source/Content/bin/WindowsDX/PenumbraShadow.xnb and b/Source/Content/bin/Windows/Content.DesktopGL/PenumbraShadow.xnb differ diff --git a/Source/Content/bin/Windows/Content.DesktopGL/PenumbraTexture.xnb b/Source/Content/bin/Windows/Content.DesktopGL/PenumbraTexture.xnb new file mode 100644 index 0000000..7eef672 Binary files /dev/null and b/Source/Content/bin/Windows/Content.DesktopGL/PenumbraTexture.xnb differ diff --git a/Source/Content/bin/Windows/Content.WindowsDX/PenumbraHull.xnb b/Source/Content/bin/Windows/Content.WindowsDX/PenumbraHull.xnb new file mode 100644 index 0000000..e668ce4 Binary files /dev/null and b/Source/Content/bin/Windows/Content.WindowsDX/PenumbraHull.xnb differ diff --git a/Source/Content/bin/Windows/Content.WindowsDX/PenumbraLight.xnb b/Source/Content/bin/Windows/Content.WindowsDX/PenumbraLight.xnb new file mode 100644 index 0000000..8af3fdb Binary files /dev/null and b/Source/Content/bin/Windows/Content.WindowsDX/PenumbraLight.xnb differ diff --git a/Source/Content/bin/Windows/Content.WindowsDX/PenumbraShadow.xnb b/Source/Content/bin/Windows/Content.WindowsDX/PenumbraShadow.xnb new file mode 100644 index 0000000..fb3790b Binary files /dev/null and b/Source/Content/bin/Windows/Content.WindowsDX/PenumbraShadow.xnb differ diff --git a/Source/Content/bin/Windows/Content.WindowsDX/PenumbraTexture.xnb b/Source/Content/bin/Windows/Content.WindowsDX/PenumbraTexture.xnb new file mode 100644 index 0000000..7eef672 Binary files /dev/null and b/Source/Content/bin/Windows/Content.WindowsDX/PenumbraTexture.xnb differ diff --git a/Source/Content/bin/WindowsDX/PenumbraHull.xnb b/Source/Content/bin/WindowsDX/PenumbraHull.xnb deleted file mode 100644 index ddf12a4..0000000 Binary files a/Source/Content/bin/WindowsDX/PenumbraHull.xnb and /dev/null differ diff --git a/Source/Content/bin/WindowsDX/PenumbraTexture.xnb b/Source/Content/bin/WindowsDX/PenumbraTexture.xnb deleted file mode 100644 index b9c87cd..0000000 Binary files a/Source/Content/bin/WindowsDX/PenumbraTexture.xnb and /dev/null differ diff --git a/Source/MonoGame.Penumbra.DesktopGL.csproj b/Source/MonoGame.Penumbra.DesktopGL.csproj index ab82a5d..fe4f882 100644 --- a/Source/MonoGame.Penumbra.DesktopGL.csproj +++ b/Source/MonoGame.Penumbra.DesktopGL.csproj @@ -1,110 +1,47 @@ - - - + + - Debug - AnyCPU - {3F53D144-2287-485F-91ED-FDA8435396B9} Library - Properties - Penumbra - MonoGame.Penumbra - v4.5 - 512 - - DesktopGL - - - - - true - full - false - bin\Debug\DesktopGL\ - obj\Debug\DesktopGL\ - bin\Debug\DesktopGL\MonoGame.Penumbra.xml - TRACE;DEBUG;MONOGAME;DESKTOPGL - prompt - 4 - false - true - true - - - pdbonly - true - bin\Release\DesktopGL\ - obj\Release\DesktopGL\ - bin\Release\DesktopGL\MonoGame.Penumbra.xml - TRACE;MONOGAME;DESKTOPGL - prompt - 4 - false + netstandard2.0 + DESKTOPGL true + false + true + MonoGame.Penumbra.DesktopGL + MonoGame.Penumbra + 2.0.0 + Jaanus Varus + Penumbra allows users to easily add 2D lighting and shadow effects to their games. + monogame penumbra lighting shadowing 2d + https://github.com/discosultan/penumbra + - - - - - - - - - - - - $(MonoGameInstallDirectory)\MonoGame\v3.0\Assemblies\DesktopGL\MonoGame.Framework.dll - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - + - - - - - - + + + + ResXFileCodeGenerator + Resource.DesktopGL.Designer.cs + + + + + + True + True + Resource.DesktopGL.resx + + + - - + $(DefaultItemExcludes);**/*Windows*/**;**/*WindowsDX* - - \ No newline at end of file + + diff --git a/Source/MonoGame.Penumbra.WindowsDX.csproj b/Source/MonoGame.Penumbra.WindowsDX.csproj index f2046e3..8f71b02 100644 --- a/Source/MonoGame.Penumbra.WindowsDX.csproj +++ b/Source/MonoGame.Penumbra.WindowsDX.csproj @@ -1,110 +1,47 @@ - - - + + - Debug - AnyCPU - {B021F95C-38BC-493A-BB92-C3C575E4B50F} Library - Properties - Penumbra - MonoGame.Penumbra - v4.5 - 512 - - Windows - - - - - true - full - false - bin\Debug\WindowsDX\ - obj\Debug\WindowsDX\ - bin\Debug\WindowsDX\MonoGame.Penumbra.xml - TRACE;DEBUG;MONOGAME;WINDOWSDX - prompt - 4 - false - true - true - - - pdbonly - true - bin\Release\WindowsDX\ - obj\Release\WindowsDX\ - bin\Release\WindowsDX\MonoGame.Penumbra.xml - TRACE;MONOGAME;WINDOWSDX - prompt - 4 - false + netcoreapp3.1 + WINDOWSDX true + false + true + MonoGame.Penumbra.WindowsDX + MonoGame.Penumbra + 2.0.0 + Jaanus Varus + Penumbra allows users to easily add 2D lighting and shadow effects to their games. + monogame penumbra lighting shadowing 2d + https://github.com/discosultan/penumbra + - - - - - - - - - - - - $(MonoGameInstallDirectory)\MonoGame\v3.0\Assemblies\Windows\MonoGame.Framework.dll - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - + - - - - - - + + + + ResXFileCodeGenerator + Resource.WindowsDX.Designer.cs + + + + + + True + True + Resource.WindowsDX.resx + + + - - + $(DefaultItemExcludes);**/*DesktopGL*/**;**/*DesktopGL* - - \ No newline at end of file + + diff --git a/Source/PenumbraComponent.cs b/Source/PenumbraComponent.cs index 10cc23a..043877b 100644 --- a/Source/PenumbraComponent.cs +++ b/Source/PenumbraComponent.cs @@ -106,9 +106,9 @@ public override void Initialize() var deviceManager = (GraphicsDeviceManager)Game.Services.GetService(); _content = new ResourceContentManager(Game.Services, #if DESKTOPGL - new ResourceManager("Penumbra.Resource.DesktopGL", typeof(PenumbraComponent).Assembly) + MonoGame.Penumbra.DesktopGL.Resource_DesktopGL.ResourceManager #else - new ResourceManager("Penumbra.Resource.WindowsDX", typeof(PenumbraComponent).Assembly) + MonoGame.Penumbra.WindowsDX.Resource_WindowsDX.ResourceManager #endif ); _engine.Load(GraphicsDevice, deviceManager, Game.Window, diff --git a/Source/Properties/AssemblyInfo.cs b/Source/Properties/AssemblyInfo.cs deleted file mode 100644 index 6f93228..0000000 --- a/Source/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,38 +0,0 @@ -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("Penumbra")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Penumbra")] -[assembly: AssemblyCopyright("Copyright © 2015")] -[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("b021f95c-38bc-493a-bb92-c3c575e4b50f")] - -// 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")] - -[assembly: InternalsVisibleTo("Penumbra.Tests")] \ No newline at end of file diff --git a/Samples/Platformer2D/Platforms/WindowsPhone/Resources/AppResources.Designer.cs b/Source/Resource.DesktopGL.Designer.cs similarity index 63% rename from Samples/Platformer2D/Platforms/WindowsPhone/Resources/AppResources.Designer.cs rename to Source/Resource.DesktopGL.Designer.cs index 053049e..673c63d 100644 --- a/Samples/Platformer2D/Platforms/WindowsPhone/Resources/AppResources.Designer.cs +++ b/Source/Resource.DesktopGL.Designer.cs @@ -1,14 +1,14 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.18046 +// Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ -namespace Platformer2D.Resources { +namespace MonoGame.Penumbra.DesktopGL { using System; @@ -19,27 +19,27 @@ namespace Platformer2D.Resources { // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - public class AppResources { + internal class Resource_DesktopGL { private static global::System.Resources.ResourceManager resourceMan; private static global::System.Globalization.CultureInfo resourceCulture; [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal AppResources() { + internal Resource_DesktopGL() { } /// /// Returns the cached ResourceManager instance used by this class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - public static global::System.Resources.ResourceManager ResourceManager { + internal static global::System.Resources.ResourceManager ResourceManager { get { if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Platformer2D.Resources.AppResources", typeof(AppResources).Assembly); + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MonoGame.Penumbra.DesktopGL.Resource.DesktopGL", typeof(Resource_DesktopGL).Assembly); resourceMan = temp; } return resourceMan; @@ -51,7 +51,7 @@ internal AppResources() { /// resource lookups using this strongly typed resource class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - public static global::System.Globalization.CultureInfo Culture { + internal static global::System.Globalization.CultureInfo Culture { get { return resourceCulture; } @@ -61,47 +61,42 @@ internal AppResources() { } /// - /// Looks up a localized string similar to add. + /// Looks up a localized resource of type System.Byte[]. /// - public static string AppBarButtonText { + internal static byte[] PenumbraHull { get { - return ResourceManager.GetString("AppBarButtonText", resourceCulture); + object obj = ResourceManager.GetObject("PenumbraHull", resourceCulture); + return ((byte[])(obj)); } } /// - /// Looks up a localized string similar to Menu Item. + /// Looks up a localized resource of type System.Byte[]. /// - public static string AppBarMenuItemText { + internal static byte[] PenumbraLight { get { - return ResourceManager.GetString("AppBarMenuItemText", resourceCulture); + object obj = ResourceManager.GetObject("PenumbraLight", resourceCulture); + return ((byte[])(obj)); } } /// - /// Looks up a localized string similar to MY APPLICATION. + /// Looks up a localized resource of type System.Byte[]. /// - public static string ApplicationTitle { + internal static byte[] PenumbraShadow { get { - return ResourceManager.GetString("ApplicationTitle", resourceCulture); + object obj = ResourceManager.GetObject("PenumbraShadow", resourceCulture); + return ((byte[])(obj)); } } /// - /// Looks up a localized string similar to LeftToRight. + /// Looks up a localized resource of type System.Byte[]. /// - public static string ResourceFlowDirection { + internal static byte[] PenumbraTexture { get { - return ResourceManager.GetString("ResourceFlowDirection", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to en-US. - /// - public static string ResourceLanguage { - get { - return ResourceManager.GetString("ResourceLanguage", resourceCulture); + object obj = ResourceManager.GetObject("PenumbraTexture", resourceCulture); + return ((byte[])(obj)); } } } diff --git a/Source/Resource.DesktopGL.resx b/Source/Resource.DesktopGL.resx index 599705f..b93b624 100644 --- a/Source/Resource.DesktopGL.resx +++ b/Source/Resource.DesktopGL.resx @@ -119,15 +119,15 @@ - Content\bin\DesktopGL\PenumbraHull.xnb;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + Content\bin\DesktopGL\Content.DesktopGL\PenumbraHull.xnb;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - Content\bin\DesktopGL\PenumbraLight.xnb;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + Content\bin\DesktopGL\Content.DesktopGL\PenumbraLight.xnb;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - Content\bin\DesktopGL\PenumbraShadow.xnb;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + Content\bin\DesktopGL\Content.DesktopGL\PenumbraShadow.xnb;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - Content\bin\DesktopGL\PenumbraTexture.xnb;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + Content\bin\DesktopGL\Content.DesktopGL\PenumbraTexture.xnb;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/Source/Resource.WindowsDX.Designer.cs b/Source/Resource.WindowsDX.Designer.cs new file mode 100644 index 0000000..50ded0e --- /dev/null +++ b/Source/Resource.WindowsDX.Designer.cs @@ -0,0 +1,103 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +namespace MonoGame.Penumbra.WindowsDX { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resource_WindowsDX { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resource_WindowsDX() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MonoGame.Penumbra.WindowsDX.Resource.WindowsDX", typeof(Resource_WindowsDX).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized resource of type System.Byte[]. + /// + internal static byte[] PenumbraHull { + get { + object obj = ResourceManager.GetObject("PenumbraHull", resourceCulture); + return ((byte[])(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Byte[]. + /// + internal static byte[] PenumbraLight { + get { + object obj = ResourceManager.GetObject("PenumbraLight", resourceCulture); + return ((byte[])(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Byte[]. + /// + internal static byte[] PenumbraShadow { + get { + object obj = ResourceManager.GetObject("PenumbraShadow", resourceCulture); + return ((byte[])(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Byte[]. + /// + internal static byte[] PenumbraTexture { + get { + object obj = ResourceManager.GetObject("PenumbraTexture", resourceCulture); + return ((byte[])(obj)); + } + } + } +} diff --git a/Source/Resource.WindowsDX.resx b/Source/Resource.WindowsDX.resx index 8cc7c25..89f5ac3 100644 --- a/Source/Resource.WindowsDX.resx +++ b/Source/Resource.WindowsDX.resx @@ -119,15 +119,15 @@ - Content\bin\WindowsDX\PenumbraHull.xnb;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + Content\bin\Windows\Content.WindowsDX\PenumbraHull.xnb;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - Content\bin\WindowsDX\PenumbraLight.xnb;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + Content\bin\Windows\Content.WindowsDX\PenumbraLight.xnb;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - Content\bin\WindowsDX\PenumbraShadow.xnb;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + Content\bin\Windows\Content.WindowsDX\PenumbraShadow.xnb;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - Content\bin\WindowsDX\PenumbraTexture.xnb;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + Content\bin\Windows\Content.WindowsDX\PenumbraTexture.xnb;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 \ No newline at end of file diff --git a/Tools/MonoGame.Penumbra.DesktopGL.nuspec b/Tools/MonoGame.Penumbra.DesktopGL.nuspec deleted file mode 100644 index 5167ee8..0000000 Binary files a/Tools/MonoGame.Penumbra.DesktopGL.nuspec and /dev/null differ diff --git a/Tools/MonoGame.Penumbra.WindowsDX.nuspec b/Tools/MonoGame.Penumbra.WindowsDX.nuspec deleted file mode 100644 index 0bb4fda..0000000 Binary files a/Tools/MonoGame.Penumbra.WindowsDX.nuspec and /dev/null differ diff --git a/Tools/PublishNuget.ps1 b/Tools/PublishNuget.ps1 deleted file mode 100644 index 9f4ad23..0000000 --- a/Tools/PublishNuget.ps1 +++ /dev/null @@ -1,40 +0,0 @@ -# Define variables. -$idWindowsDX = 'MonoGame.Penumbra.WindowsDX' -$idDesktopGL = 'MonoGame.Penumbra.DesktopGL' - -$nuspecSuffix = '.nuspec' -$nupkgSuffix = '.nupkg' - -$versionRegex = '(?<=(' + $id + '" version\="|\))\d+.\d+.\d+' -$newVersion = Read-Host 'What is the new version?' - -# Define functions. -Function UpdateVersionInFile($fileName) -{ - (Get-Content $fileName) | - Foreach-Object {$_ -replace $versionRegex, $newVersion} | - Out-File $fileName -} -Function GetNuspecFilename($id) -{ - return $id + $nuspecSuffix -} -Function GetNupkgFilename($id) -{ - return $id + '.' + $newVersion + $nupkgSuffix -} - -# Replace version numbers in nuspec files. -Write-Host Replacing version numbers -UpdateVersionInFile (GetNuspecFilename $idWindowsDX) $versionRegex $newVersion -UpdateVersionInFile (GetNuspecFilename $idDesktopGL) $versionRegex $newVersion - -# Create nuget packages with symbol packages. -Write-Host Creating packages -nuget pack (GetNuspecFilename $idWindowsDX) -symbols -nuget pack (GetNuspecFilename $idDesktopGL) -symbols - -# Publish nuget packages to nuget.org and symbol packages to symbolsource.org -Write-Host Publishing packages -nuget push (GetNupkgFilename $idWindowsDX) -Source https://www.nuget.org/api/v2/package -nuget push (GetNupkgFilename $idDesktopGL) -Source https://www.nuget.org/api/v2/package \ No newline at end of file