diff options
29 files changed, 588 insertions, 61 deletions
diff --git a/SuperPolarity.userprefs b/SuperPolarity.userprefs index 943644f..2c82115 100644 --- a/SuperPolarity.userprefs +++ b/SuperPolarity.userprefs @@ -1,8 +1,11 @@ -<Properties> +<Properties MonoDevelop.MonoMac.LastXamMacNagTime="2/7/2014 5:17:50 AM"> <MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" /> - <MonoDevelop.Ide.Workbench ActiveDocument="SuperPolarity/Properties/AssemblyInfo.cs"> + <MonoDevelop.Ide.Workbench ActiveDocument="SuperPolarityMac/SuperPolarity.cs"> <Files> - <File FileName="SuperPolarity/Properties/AssemblyInfo.cs" Line="9" Column="34" /> + <File FileName="SuperPolarity/Program.cs" Line="1" Column="1" /> + <File FileName="SuperPolarityMac/Program.cs" Line="1" Column="1" /> + <File FileName="SuperPolarity/SuperPolarity.cs" Line="1" Column="1" /> + <File FileName="SuperPolarityMac/SuperPolarity.cs" Line="98" Column="22" /> </Files> </MonoDevelop.Ide.Workbench> <MonoDevelop.Ide.DebuggingService.Breakpoints> diff --git a/SuperPolarity/Content/Sound/bomb.xnb b/SuperPolarity/Content/Sound/bomb.xnb Binary files differnew file mode 100644 index 0000000..71b6dd1 --- /dev/null +++ b/SuperPolarity/Content/Sound/bomb.xnb diff --git a/SuperPolarity/Content/Sound/bullet.xnb b/SuperPolarity/Content/Sound/bullet.xnb Binary files differnew file mode 100644 index 0000000..2b59972 --- /dev/null +++ b/SuperPolarity/Content/Sound/bullet.xnb diff --git a/SuperPolarity/Content/Sound/gameover.xnb b/SuperPolarity/Content/Sound/gameover.xnb Binary files differnew file mode 100644 index 0000000..8afc574 --- /dev/null +++ b/SuperPolarity/Content/Sound/gameover.xnb diff --git a/SuperPolarity/Content/Sound/hit.xnb b/SuperPolarity/Content/Sound/hit.xnb Binary files differnew file mode 100644 index 0000000..52af38d --- /dev/null +++ b/SuperPolarity/Content/Sound/hit.xnb diff --git a/SuperPolarity/Content/Sound/life.xnb b/SuperPolarity/Content/Sound/life.xnb Binary files differnew file mode 100644 index 0000000..3c1cad8 --- /dev/null +++ b/SuperPolarity/Content/Sound/life.xnb diff --git a/SuperPolarity/Content/Sound/polaritychange.xnb b/SuperPolarity/Content/Sound/polaritychange.xnb Binary files differnew file mode 100644 index 0000000..2cfbc68 --- /dev/null +++ b/SuperPolarity/Content/Sound/polaritychange.xnb diff --git a/SuperPolarity/Content/Sound/polaritytheme.wma b/SuperPolarity/Content/Sound/polaritytheme.wma Binary files differnew file mode 100644 index 0000000..e4ea8b8 --- /dev/null +++ b/SuperPolarity/Content/Sound/polaritytheme.wma diff --git a/SuperPolarity/Content/Sound/polaritytheme.xnb b/SuperPolarity/Content/Sound/polaritytheme.xnb Binary files differnew file mode 100644 index 0000000..d2c29f9 --- /dev/null +++ b/SuperPolarity/Content/Sound/polaritytheme.xnb diff --git a/SuperPolarity/Properties/AssemblyInfo.cs b/SuperPolarity/Properties/AssemblyInfo.cs index bd24ce8..daa34e8 100644 --- a/SuperPolarity/Properties/AssemblyInfo.cs +++ b/SuperPolarity/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ using System.Runtime.InteropServices; [assembly: AssemblyConfiguration("")] [assembly: AssemblyDescription("")] [assembly: AssemblyCompany("")] -[assembly: AssemblyCopyright("Copyright © 2013")] +[assembly: AssemblyCopyright("Copyright © 2014")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/SuperPolarity/SuperPolarity.cs b/SuperPolarity/SuperPolarity.cs index 9311d53..f5ff48e 100644 --- a/SuperPolarity/SuperPolarity.cs +++ b/SuperPolarity/SuperPolarity.cs @@ -10,6 +10,7 @@ using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Media; using Microsoft.Xna.Framework.Audio; using SuperPolarity; +using Tao.Sdl; #endregion namespace SuperPolarity @@ -41,7 +42,7 @@ namespace SuperPolarity graphics.PreferMultiSampling = true; graphics.PreferredBackBufferWidth = 1280; graphics.PreferredBackBufferHeight = 720; - graphics.ToggleFullScreen(); + //graphics.ToggleFullScreen(); Content.RootDirectory = "Content"; ActorFactory.SetGame(this); diff --git a/SuperPolarity/SuperPolarity.csproj b/SuperPolarity/SuperPolarity.csproj index 76124b7..aa96e8a 100644 --- a/SuperPolarity/SuperPolarity.csproj +++ b/SuperPolarity/SuperPolarity.csproj @@ -11,6 +11,21 @@ <RootNamespace>SuperPolarity</RootNamespace> <AssemblyName>SuperPolarity</AssemblyName> <FileAlignment>512</FileAlignment> + <PublishUrl>publish\</PublishUrl> + <Install>true</Install> + <InstallFrom>Disk</InstallFrom> + <UpdateEnabled>false</UpdateEnabled> + <UpdateMode>Foreground</UpdateMode> + <UpdateInterval>7</UpdateInterval> + <UpdateIntervalUnits>Days</UpdateIntervalUnits> + <UpdatePeriodically>false</UpdatePeriodically> + <UpdateRequired>false</UpdateRequired> + <MapFileExtensions>true</MapFileExtensions> + <ApplicationRevision>0</ApplicationRevision> + <ApplicationVersion>1.0.0.%2a</ApplicationVersion> + <IsWebBootstrapper>false</IsWebBootstrapper> + <UseApplicationTrust>false</UseApplicationTrust> + <BootstrapperEnabled>true</BootstrapperEnabled> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> <PlatformTarget>x86</PlatformTarget> @@ -34,6 +49,10 @@ <PropertyGroup> <ApplicationIcon>Icon.ico</ApplicationIcon> </PropertyGroup> + <PropertyGroup> + <StartupObject> + </StartupObject> + </PropertyGroup> <ItemGroup> <Compile Include="ActorFactory.cs" /> <Compile Include="ActorManager.cs" /> @@ -64,50 +83,55 @@ <Compile Include="Widget.cs" /> </ItemGroup> <ItemGroup> + <Reference Include="MonoGame.Framework, Version=3.0.1.0, Culture=neutral, processorArchitecture=MSIL"> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\..\..\..\..\Program Files (x86)\MonoGame\v3.0\Assemblies\WindowsGL\MonoGame.Framework.dll</HintPath> + </Reference> <Reference Include="OpenTK"> <HintPath>..\..\..\..\..\..\..\Program Files (x86)\MSBuild\..\MonoGame\v3.0\Assemblies\WindowsGL\OpenTK.dll</HintPath> </Reference> - <Reference Include="MonoGame.Framework"> - <HintPath>..\..\..\..\..\..\..\Program Files (x86)\MSBuild\..\MonoGame\v3.0\Assemblies\WindowsGL\MonoGame.Framework.dll</HintPath> - </Reference> <Reference Include="Lidgren.Network"> <HintPath>..\..\..\..\..\..\..\Program Files (x86)\MSBuild\..\MonoGame\v3.0\Assemblies\WindowsGL\Lidgren.Network.dll</HintPath> </Reference> - <Reference Include="Tao.Sdl"> - <HintPath>..\..\..\..\..\..\..\Program Files (x86)\MSBuild\..\MonoGame\v3.0\Assemblies\WindowsGL\Tao.Sdl.dll</HintPath> - </Reference> <Reference Include="System" /> <Reference Include="System.Xml" /> + <Reference Include="Tao.Sdl, Version=1.2.13.0, Culture=neutral, PublicKeyToken=9c7a200e36c0094e, processorArchitecture=MSIL" /> </ItemGroup> <ItemGroup> <Content Include="..\..\..\..\..\..\..\Program Files (x86)\MonoGame\v3.0\Assemblies\WindowsGL\SDL.dll"> <Link>SDL.dll</Link> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> - <Content Include="Content\Sound\bomb.wav"> - <CopyToOutputDirectory>Always</CopyToOutputDirectory> - </Content> - <Content Include="Content\Sound\bullet.wav"> - <CopyToOutputDirectory>Always</CopyToOutputDirectory> - </Content> - <Content Include="Content\Sound\gameover.wav"> - <CopyToOutputDirectory>Always</CopyToOutputDirectory> - </Content> - <Content Include="Content\Sound\hit.wav"> - <CopyToOutputDirectory>Always</CopyToOutputDirectory> - </Content> - <Content Include="Content\Sound\life.wav"> - <CopyToOutputDirectory>Always</CopyToOutputDirectory> - </Content> - <Content Include="Content\Sound\polaritychange.wav"> + <Content Include="Content\Sound\polaritytheme.wav"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> - <Content Include="Content\Sound\polaritytheme.wav"> + <Content Include="Content\Sound\polaritytheme.wma"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> <Content Include="Icon.ico" /> </ItemGroup> - <ItemGroup /> + <ItemGroup> + <BootstrapperPackage Include=".NETFramework,Version=v4.0"> + <Visible>False</Visible> + <ProductName>Microsoft .NET Framework 4 %28x86 and x64%29</ProductName> + <Install>true</Install> + </BootstrapperPackage> + <BootstrapperPackage Include="Microsoft.Net.Client.3.5"> + <Visible>False</Visible> + <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName> + <Install>false</Install> + </BootstrapperPackage> + <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1"> + <Visible>False</Visible> + <ProductName>.NET Framework 3.5 SP1</ProductName> + <Install>false</Install> + </BootstrapperPackage> + <BootstrapperPackage Include="Microsoft.Windows.Installer.4.5"> + <Visible>False</Visible> + <ProductName>Windows Installer 4.5</ProductName> + <Install>true</Install> + </BootstrapperPackage> + </ItemGroup> <ItemGroup> <None Include="Content\Fonts\bigfont.xnb"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> @@ -160,6 +184,27 @@ <None Include="Content\Graphics\polaritydemotitle.xnb"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </None> + <None Include="Content\Sound\bomb.xnb"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </None> + <None Include="Content\Sound\bullet.xnb"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </None> + <None Include="Content\Sound\gameover.xnb"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </None> + <None Include="Content\Sound\hit.xnb"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </None> + <None Include="Content\Sound\life.xnb"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </None> + <None Include="Content\Sound\polaritychange.xnb"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </None> + <None Include="Content\Sound\polaritytheme.xnb"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </None> <None Include="neutral-supercruiser.xnb"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </None> diff --git a/SuperPolarity/Content/Sound/bomb.wav b/SuperPolarityContent/SuperPolarityContentContent/Sound/bomb.wav Binary files differindex 5af439b..5af439b 100644 --- a/SuperPolarity/Content/Sound/bomb.wav +++ b/SuperPolarityContent/SuperPolarityContentContent/Sound/bomb.wav diff --git a/SuperPolarity/Content/Sound/bullet.wav b/SuperPolarityContent/SuperPolarityContentContent/Sound/bullet.wav Binary files differindex 6586489..6586489 100644 --- a/SuperPolarity/Content/Sound/bullet.wav +++ b/SuperPolarityContent/SuperPolarityContentContent/Sound/bullet.wav diff --git a/SuperPolarity/Content/Sound/gameover.wav b/SuperPolarityContent/SuperPolarityContentContent/Sound/gameover.wav Binary files differindex cac9d23..cac9d23 100644 --- a/SuperPolarity/Content/Sound/gameover.wav +++ b/SuperPolarityContent/SuperPolarityContentContent/Sound/gameover.wav diff --git a/SuperPolarity/Content/Sound/hit.wav b/SuperPolarityContent/SuperPolarityContentContent/Sound/hit.wav Binary files differindex 43433cd..43433cd 100644 --- a/SuperPolarity/Content/Sound/hit.wav +++ b/SuperPolarityContent/SuperPolarityContentContent/Sound/hit.wav diff --git a/SuperPolarity/Content/Sound/life.wav b/SuperPolarityContent/SuperPolarityContentContent/Sound/life.wav Binary files differindex a1d0436..a1d0436 100644 --- a/SuperPolarity/Content/Sound/life.wav +++ b/SuperPolarityContent/SuperPolarityContentContent/Sound/life.wav diff --git a/SuperPolarity/Content/Sound/polaritychange.wav b/SuperPolarityContent/SuperPolarityContentContent/Sound/polaritychange.wav Binary files differindex 25b59a4..25b59a4 100644 --- a/SuperPolarity/Content/Sound/polaritychange.wav +++ b/SuperPolarityContent/SuperPolarityContentContent/Sound/polaritychange.wav diff --git a/SuperPolarityContent/SuperPolarityContentContent/SuperPolarityContentContent.contentproj b/SuperPolarityContent/SuperPolarityContentContent/SuperPolarityContentContent.contentproj index 12417a2..3e3d270 100644 --- a/SuperPolarityContent/SuperPolarityContentContent/SuperPolarityContentContent.contentproj +++ b/SuperPolarityContent/SuperPolarityContentContent/SuperPolarityContentContent.contentproj @@ -180,6 +180,38 @@ <Processor>FontTextureProcessor</Processor> </Compile> </ItemGroup> + <ItemGroup> + <Compile Include="Sound\bomb.wav"> + <Name>bomb</Name> + <Importer>WavImporter</Importer> + <Processor>SoundEffectProcessor</Processor> + </Compile> + <Compile Include="Sound\bullet.wav"> + <Name>bullet</Name> + <Importer>WavImporter</Importer> + <Processor>SoundEffectProcessor</Processor> + </Compile> + <Compile Include="Sound\gameover.wav"> + <Name>gameover</Name> + <Importer>WavImporter</Importer> + <Processor>SoundEffectProcessor</Processor> + </Compile> + <Compile Include="Sound\hit.wav"> + <Name>hit</Name> + <Importer>WavImporter</Importer> + <Processor>SoundEffectProcessor</Processor> + </Compile> + <Compile Include="Sound\life.wav"> + <Name>life</Name> + <Importer>WavImporter</Importer> + <Processor>SoundEffectProcessor</Processor> + </Compile> + <Compile Include="Sound\polaritychange.wav"> + <Name>polaritychange</Name> + <Importer>WavImporter</Importer> + <Processor>SoundEffectProcessor</Processor> + </Compile> + </ItemGroup> <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. diff --git a/SuperPolarityMac/Content/logo.png b/SuperPolarityMac/Content/logo.png Binary files differnew file mode 100644 index 0000000..701c1b5 --- /dev/null +++ b/SuperPolarityMac/Content/logo.png diff --git a/SuperPolarityMac/Game1.cs b/SuperPolarityMac/Game1.cs new file mode 100644 index 0000000..c0756a1 --- /dev/null +++ b/SuperPolarityMac/Game1.cs @@ -0,0 +1,110 @@ +#region File Description +//----------------------------------------------------------------------------- +// SuperPolarityMacGame.cs +// +// Microsoft XNA Community Game Platform +// Copyright (C) Microsoft Corporation. All rights reserved. +//----------------------------------------------------------------------------- +#endregion + +#region Using Statements +using System; + +using Microsoft.Xna.Framework; +using Microsoft.Xna.Framework.Audio; +using Microsoft.Xna.Framework.Graphics; +using Microsoft.Xna.Framework.Input; +using Microsoft.Xna.Framework.Input.Touch; +using Microsoft.Xna.Framework.Storage; +using Microsoft.Xna.Framework.Content; +using Microsoft.Xna.Framework.Media; + +#endregion + +namespace SuperPolarityMac +{ + /// <summary> + /// Default Project Template + /// </summary> + public class Game1 : Game + { + + #region Fields + GraphicsDeviceManager graphics; + SpriteBatch spriteBatch; + Texture2D logoTexture; + #endregion + + #region Initialization + + public Game1() + { + + graphics = new GraphicsDeviceManager(this); + + Content.RootDirectory = "Content"; + + graphics.IsFullScreen = false; + } + + /// <summary> + /// Overridden from the base Game.Initialize. Once the GraphicsDevice is setup, + /// we'll use the viewport to initialize some values. + /// </summary> + protected override void Initialize() + { + base.Initialize(); + } + + + /// <summary> + /// Load your graphics content. + /// </summary> + protected override void LoadContent() + { + // Create a new SpriteBatch, which can be use to draw textures. + spriteBatch = new SpriteBatch(graphics.GraphicsDevice); + + // TODO: use this.Content to load your game content here eg. + logoTexture = Content.Load<Texture2D>("logo"); + } + + #endregion + + #region Update and Draw + + /// <summary> + /// Allows the game to run logic such as updating the world, + /// checking for collisions, gathering input, and playing audio. + /// </summary> + /// <param name="gameTime">Provides a snapshot of timing values.</param> + protected override void Update(GameTime gameTime) + { + // TODO: Add your update logic here + + base.Update(gameTime); + } + + /// <summary> + /// This is called when the game should draw itself. + /// </summary> + /// <param name="gameTime">Provides a snapshot of timing values.</param> + protected override void Draw(GameTime gameTime) + { + // Clear the backbuffer + graphics.GraphicsDevice.Clear(Color.CornflowerBlue); + + spriteBatch.Begin(); + + // draw the logo + spriteBatch.Draw(logoTexture, new Vector2 (130, 200), Color.White); + + spriteBatch.End(); + + //TODO: Add your drawing code here + base.Draw(gameTime); + } + + #endregion + } +} diff --git a/SuperPolarityMac/Info.plist b/SuperPolarityMac/Info.plist new file mode 100644 index 0000000..07a58c3 --- /dev/null +++ b/SuperPolarityMac/Info.plist @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleIdentifier</key> + <string>com.yourcompany.MonoGame.Samples.Draw2D.MacOS</string> + <key>CFBundleName</key> + <string>MonoGame.Samples.Draw2D.MacOS</string> + <key>CFBundleVersion</key> + <string>1</string> + <key>LSMinimumSystemVersion</key> + <string>10.6</string> + <key>NSPrincipalClass</key> + <string>NSApplication</string> +</dict> +</plist> + diff --git a/SuperPolarityMac/Main.cs b/SuperPolarityMac/Main.cs new file mode 100644 index 0000000..f21bf0b --- /dev/null +++ b/SuperPolarityMac/Main.cs @@ -0,0 +1,44 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using MonoMac.AppKit; +using MonoMac.Foundation; + +namespace SuperPolarityMac +{ + static class Program + { + /// <summary> + /// The main entry point for the application. + /// </summary> + static void Main (string[] args) + { + NSApplication.Init (); + + using (var p = new NSAutoreleasePool ()) { + NSApplication.SharedApplication.Delegate = new AppDelegate (); + NSApplication.Main (args); + } + + + } + } + + class AppDelegate : NSApplicationDelegate + { + Game1 game; + + public override void FinishedLaunching (MonoMac.Foundation.NSObject notification) + { + game = new Game1 (); + game.Run (); + } + + public override bool ApplicationShouldTerminateAfterLastWindowClosed (NSApplication sender) + { + return true; + } + } +} + + diff --git a/SuperPolarityMac/Program.cs b/SuperPolarityMac/Program.cs index 6c3f614..e6ab5cf 100644 --- a/SuperPolarityMac/Program.cs +++ b/SuperPolarityMac/Program.cs @@ -1,26 +1,44 @@ -#region Using Statements using System; using System.Collections.Generic; using System.Linq; -#endregion +using MonoMac.AppKit; +using MonoMac.Foundation; namespace SuperPolarity { -#if WINDOWS || LINUX - /// <summary> - /// The main class. - /// </summary> - public static class Program - { - /// <summary> - /// The main entry point for the application. - /// </summary> - [STAThread] - static void Main() - { - using (var superPolarity = new SuperPolarity()) - superPolarity.Run(); - } - } -#endif + static class Program + { + /// <summary> + /// The main entry point for the application. + /// </summary> + static void Main (string[] args) + { + NSApplication.Init (); + + using (var p = new NSAutoreleasePool ()) { + NSApplication.SharedApplication.Delegate = new AppDelegate (); + NSApplication.Main (args); + } + + + } + } + + class AppDelegate : NSApplicationDelegate + { + SuperPolarity superPolarity; + + public override void FinishedLaunching (MonoMac.Foundation.NSObject notification) + { + superPolarity = new SuperPolarity(); + superPolarity.Run (); + } + + public override bool ApplicationShouldTerminateAfterLastWindowClosed (NSApplication sender) + { + return true; + } + } } + + diff --git a/SuperPolarityMac/Project.cs b/SuperPolarityMac/Project.cs new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SuperPolarityMac/Project.cs diff --git a/SuperPolarityMac/Properties/AssemblyInfo.cs b/SuperPolarityMac/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..d61ed27 --- /dev/null +++ b/SuperPolarityMac/Properties/AssemblyInfo.cs @@ -0,0 +1,27 @@ +using System.Reflection; +using System.Runtime.CompilerServices; + +// Information about this assembly is defined by the following attributes. +// Change them to the values specific to your project. + +[assembly: AssemblyTitle("SuperPolarityMac")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("")] +[assembly: AssemblyCopyright("benbeltran")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". +// The form "{Major}.{Minor}.*" will automatically update the build and revision, +// and "{Major}.{Minor}.{Build}.*" will update just the revision. + +[assembly: AssemblyVersion("1.0.0")] + +// The following attributes are used to specify the signing key for the assembly, +// if desired. See the Mono documentation for more information about signing. + +//[assembly: AssemblyDelaySign(false)] +//[assembly: AssemblyKeyFile("")] + diff --git a/SuperPolarityMac/SuperPolarityMac.csproj b/SuperPolarityMac/SuperPolarityMac.csproj index 4eac2c0..ded94e3 100644 --- a/SuperPolarityMac/SuperPolarityMac.csproj +++ b/SuperPolarityMac/SuperPolarityMac.csproj @@ -5,7 +5,7 @@ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProductVersion>10.0.0</ProductVersion> <SchemaVersion>2.0</SchemaVersion> - <ProjectGuid>{008F4BF1-A2AB-4EC4-977D-451AE4B1B0FE}</ProjectGuid> + <ProjectGuid>{EE77A85A-089B-4055-90D0-6E08DF409410}</ProjectGuid> <ProjectTypeGuids>{948B3504-5B70-4649-8FE4-BDE1FB46EC69};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> <OutputType>Exe</OutputType> <RootNamespace>SuperPolarityMac</RootNamespace> @@ -18,7 +18,6 @@ <Optimize>false</Optimize> <OutputPath>bin\Debug</OutputPath> <DefineConstants>DEBUG;</DefineConstants> - <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <ConsolePause>false</ConsolePause> <UseSGen>false</UseSGen> @@ -32,7 +31,6 @@ <DebugType>full</DebugType> <Optimize>true</Optimize> <OutputPath>bin\Release</OutputPath> - <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <ConsolePause>false</ConsolePause> <LinkMode>Full</LinkMode> @@ -47,7 +45,6 @@ <DebugType>full</DebugType> <Optimize>true</Optimize> <OutputPath>bin\AppStore</OutputPath> - <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <ConsolePause>false</ConsolePause> <LinkMode>Full</LinkMode> @@ -65,18 +62,215 @@ <Reference Include="System.Core" /> <Reference Include="System.Xml.Linq" /> <Reference Include="System.Drawing" /> - <Reference Include="MonoMac" /> - <Reference Include="MonoGame.Framework" /> + <Reference Include="MonoMac"> + <HintPath>..\..\MonoGame-develop\MonoGame.Framework\bin\MacOS\Debug\MonoMac.dll</HintPath> + </Reference> + <Reference Include="Lidgren.Network"> + <HintPath>..\..\MonoGame-develop\MonoGame.Framework\bin\MacOS\Debug\Lidgren.Network.dll</HintPath> + </Reference> + <Reference Include="MonoGame.Framework"> + <HintPath>..\..\MonoGame-develop\MonoGame.Framework\bin\MacOS\Debug\MonoGame.Framework.dll</HintPath> + </Reference> + <Reference Include="Tao.Sdl"> + <HintPath>..\..\MonoGame-develop\MonoGame.Framework\bin\MacOS\Debug\Tao.Sdl.dll</HintPath> + </Reference> </ItemGroup> + <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> + <Import Project="$(MSBuildExtensionsPath)\Mono\MonoMac\v0.0\Mono.MonoMac.targets" /> <ItemGroup> - <Compile Include="Game1.cs" /> - <Compile Include="Main.cs" /> - <Compile Include="Properties\AssemblyInfo.cs" /> + <Compile Include="..\SuperPolarity\ActorFactory.cs"> + <Link>ActorFactory.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\ActorManager.cs"> + <Link>ActorManager.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\BasicGenerator.cs"> + <Link>BasicGenerator.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\GameScreen.cs"> + <Link>GameScreen.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\InputController.cs"> + <Link>InputController.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\LetterChooseWidget.cs"> + <Link>LetterChooseWidget.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\MenuItem.cs"> + <Link>MenuItem.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\MenuWidget.cs"> + <Link>MenuWidget.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\NameChooserWidget.cs"> + <Link>NameChooserWidget.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\Particle.cs"> + <Link>Particle.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\ParticleEffectFactory.cs"> + <Link>ParticleEffectFactory.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\ParticleEngine.cs"> + <Link>ParticleEngine.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\Player.cs"> + <Link>Player.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\Renderer.cs"> + <Link>Renderer.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\ScoreScreen.cs"> + <Link>ScoreScreen.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\Screen.cs"> + <Link>Screen.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\ScreenManager.cs"> + <Link>ScreenManager.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\SuperPolarity.cs"> + <Link>SuperPolarity.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\TitleScreen.cs"> + <Link>TitleScreen.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\Widget.cs"> + <Link>Widget.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\Actors\Actor.cs"> + <Link>Actors\Actor.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\Actors\Bullet.cs"> + <Link>Actors\Bullet.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\Actors\MainShip.cs"> + <Link>Actors\MainShip.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\Actors\Ship.cs"> + <Link>Actors\Ship.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\Actors\StandardShip.cs"> + <Link>Actors\StandardShip.cs</Link> + </Compile> + <Compile Include="..\SuperPolarity\Properties\AssemblyInfo.cs"> + <Link>Properties\AssemblyInfo.cs</Link> + </Compile> + <Compile Include="Program.cs" /> </ItemGroup> <ItemGroup> - <None Include="Info.plist" /> - <None Include="Content\logo.png" /> + <None Include="..\SuperPolarity\Icon.ico"> + <Link>Icon.ico</Link> + </None> + <None Include="..\SuperPolarity\neutral-supercruiser.xnb"> + <Link>neutral-supercruiser.xnb</Link> + </None> + <None Include="..\SuperPolarity\scores.txt"> + <Link>scores.txt</Link> + </None> + </ItemGroup> + <ItemGroup> + <Folder Include="Actors\" /> + <Folder Include="Content\" /> + <Folder Include="Properties\" /> + </ItemGroup> + <ItemGroup> + <BundleResource Include="..\SuperPolarity\Content\Graphics\circle.xnb"> + <Link>Content\Graphics\circle.xnb</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Graphics\diamond.xnb"> + <Link>Content\Graphics\diamond.xnb</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Graphics\main-ship.xnb"> + <Link>Content\Graphics\main-ship.xnb</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Graphics\negative-cruiser.xnb"> + <Link>Content\Graphics\negative-cruiser.xnb</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Graphics\negative-destroyer.xnb"> + <Link>Content\Graphics\negative-destroyer.xnb</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Graphics\negative-scout.xnb"> + <Link>Content\Graphics\negative-scout.xnb</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Graphics\negative-ship.xnb"> + <Link>Content\Graphics\negative-ship.xnb</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Graphics\negative-supercruiser.xnb"> + <Link>Content\Graphics\negative-supercruiser.xnb</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Graphics\neutral-cruiser.xnb"> + <Link>Content\Graphics\neutral-cruiser.xnb</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Graphics\neutral-destroyer.xnb"> + <Link>Content\Graphics\neutral-destroyer.xnb</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Graphics\neutral-scout.xnb"> + <Link>Content\Graphics\neutral-scout.xnb</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Graphics\neutral-ship.xnb"> + <Link>Content\Graphics\neutral-ship.xnb</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Graphics\neutral-supercruiser.xnb"> + <Link>Content\Graphics\neutral-supercruiser.xnb</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Graphics\pause-screen.xnb"> + <Link>Content\Graphics\pause-screen.xnb</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Graphics\polaritydemotitle.xnb"> + <Link>Content\Graphics\polaritydemotitle.xnb</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Graphics\positive-cruiser.xnb"> + <Link>Content\Graphics\positive-cruiser.xnb</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Graphics\positive-destroyer.xnb"> + <Link>Content\Graphics\positive-destroyer.xnb</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Graphics\positive-scout.xnb"> + <Link>Content\Graphics\positive-scout.xnb</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Graphics\positive-ship.xnb"> + <Link>Content\Graphics\positive-ship.xnb</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Graphics\positive-supercruiser.xnb"> + <Link>Content\Graphics\positive-supercruiser.xnb</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Graphics\square.xnb"> + <Link>Content\Graphics\square.xnb</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Graphics\star.xnb"> + <Link>Content\Graphics\star.xnb</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Fonts\SegoeUIMono14.xnb"> + <Link>Content\Fonts\SegoeUIMono14.xnb</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Fonts\bigfont.xnb"> + <Link>Content\Fonts\bigfont.xnb</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Fonts\smallfont.xnb"> + <Link>Content\Fonts\smallfont.xnb</Link> + </BundleResource> + <BundleResource Include="Info.plist" /> + <BundleResource Include="..\SuperPolarity\Content\Sound\bomb.m4a"> + <Link>Content\Sound\bomb.m4a</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Sound\bullet.m4a"> + <Link>Content\Sound\bullet.m4a</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Sound\gameover.m4a"> + <Link>Content\Sound\gameover.m4a</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Sound\hit.m4a"> + <Link>Content\Sound\hit.m4a</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Sound\life.m4a"> + <Link>Content\Sound\life.m4a</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Sound\polaritychange.m4a"> + <Link>Content\Sound\polaritychange.m4a</Link> + </BundleResource> + <BundleResource Include="..\SuperPolarity\Content\Sound\polaritytheme.m4a"> + <Link>Content\Sound\polaritytheme.m4a</Link> + </BundleResource> </ItemGroup> - <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> - <Import Project="$(MSBuildExtensionsPath)\Mono\MonoMac\v0.0\Mono.MonoMac.targets" /> </Project>
\ No newline at end of file diff --git a/SuperPolarityMac/SuperPolarityMac.sln b/SuperPolarityMac/SuperPolarityMac.sln new file mode 100644 index 0000000..fd96166 --- /dev/null +++ b/SuperPolarityMac/SuperPolarityMac.sln @@ -0,0 +1,23 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SuperPolarityMac", "SuperPolarityMac.csproj", "{EE77A85A-089B-4055-90D0-6E08DF409410}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + AppStore|Any CPU = AppStore|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {EE77A85A-089B-4055-90D0-6E08DF409410}.AppStore|Any CPU.ActiveCfg = AppStore|Any CPU + {EE77A85A-089B-4055-90D0-6E08DF409410}.AppStore|Any CPU.Build.0 = AppStore|Any CPU + {EE77A85A-089B-4055-90D0-6E08DF409410}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EE77A85A-089B-4055-90D0-6E08DF409410}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EE77A85A-089B-4055-90D0-6E08DF409410}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EE77A85A-089B-4055-90D0-6E08DF409410}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(MonoDevelopProperties) = preSolution + StartupItem = SuperPolarityMac.csproj + EndGlobalSection +EndGlobal diff --git a/SuperPolarityMac/SuperPolarityMac.userprefs b/SuperPolarityMac/SuperPolarityMac.userprefs new file mode 100644 index 0000000..4e3269b --- /dev/null +++ b/SuperPolarityMac/SuperPolarityMac.userprefs @@ -0,0 +1,13 @@ +<Properties MonoDevelop.MonoMac.LastXamMacNagTime="2/8/2014 5:55:19 PM"> + <MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" /> + <MonoDevelop.Ide.Workbench ActiveDocument="../SuperPolarity/SuperPolarity.cs"> + <Files> + <File FileName="../SuperPolarity/SuperPolarity.cs" Line="75" Column="3" /> + <File FileName="../SuperPolarity/GameScreen.cs" Line="1" Column="1" /> + </Files> + </MonoDevelop.Ide.Workbench> + <MonoDevelop.Ide.DebuggingService.Breakpoints> + <BreakpointStore /> + </MonoDevelop.Ide.DebuggingService.Breakpoints> + <MonoDevelop.Ide.DebuggingService.PinnedWatches /> +</Properties>
\ No newline at end of file |