aboutsummaryrefslogtreecommitdiff
path: root/SuperPolarityLinux
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2014-02-10 22:34:27 -0800
committerBen Beltran <ben@nsovocal.com>2014-02-10 22:34:27 -0800
commit6fceaa7b34f4d6efc497cda51679b37e530a61aa (patch)
treee8fa1c1865c072ac592d7118bd88d763035e249b /SuperPolarityLinux
parent63419029fbda7d3f2f3d5984c3d2c77f341dbd79 (diff)
Adds linux project.
Diffstat (limited to 'SuperPolarityLinux')
-rw-r--r--SuperPolarityLinux/Game1.cs82
-rw-r--r--SuperPolarityLinux/Icon.pngbin0 -> 6479 bytes
-rw-r--r--SuperPolarityLinux/Program.cs24
-rw-r--r--SuperPolarityLinux/Properties/AssemblyInfo.cs27
-rw-r--r--SuperPolarityLinux/SuperPolarityLinux.csproj281
5 files changed, 414 insertions, 0 deletions
diff --git a/SuperPolarityLinux/Game1.cs b/SuperPolarityLinux/Game1.cs
new file mode 100644
index 0000000..0382cc5
--- /dev/null
+++ b/SuperPolarityLinux/Game1.cs
@@ -0,0 +1,82 @@
+#region Using Statements
+using System;
+
+using Microsoft.Xna.Framework;
+using Microsoft.Xna.Framework.Graphics;
+using Microsoft.Xna.Framework.Storage;
+using Microsoft.Xna.Framework.Input;
+
+#endregion
+
+namespace SuperPolarityLinux
+{
+ /// <summary>
+ /// This is the main type for your game
+ /// </summary>
+ public class Game1 : Game
+ {
+ GraphicsDeviceManager graphics;
+ SpriteBatch spriteBatch;
+
+ public Game1 ()
+ {
+ graphics = new GraphicsDeviceManager (this);
+ Content.RootDirectory = "Content";
+ graphics.IsFullScreen = true;
+ }
+
+ /// <summary>
+ /// Allows the game to perform any initialization it needs to before starting to run.
+ /// This is where it can query for any required services and load any non-graphic
+ /// related content. Calling base.Initialize will enumerate through any components
+ /// and initialize them as well.
+ /// </summary>
+ protected override void Initialize ()
+ {
+ // TODO: Add your initialization logic here
+ base.Initialize ();
+
+ }
+
+ /// <summary>
+ /// LoadContent will be called once per game and is the place to load
+ /// all of your content.
+ /// </summary>
+ protected override void LoadContent ()
+ {
+ // Create a new SpriteBatch, which can be used to draw textures.
+ spriteBatch = new SpriteBatch (GraphicsDevice);
+
+ //TODO: use this.Content to load your game content here
+ }
+
+ /// <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)
+ {
+ // For Mobile devices, this logic will close the Game when the Back button is pressed
+ if (GamePad.GetState (PlayerIndex.One).Buttons.Back == ButtonState.Pressed) {
+ Exit ();
+ }
+ // 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)
+ {
+ graphics.GraphicsDevice.Clear (Color.CornflowerBlue);
+
+ //TODO: Add your drawing code here
+
+ base.Draw (gameTime);
+ }
+ }
+}
+
diff --git a/SuperPolarityLinux/Icon.png b/SuperPolarityLinux/Icon.png
new file mode 100644
index 0000000..c57cf36
--- /dev/null
+++ b/SuperPolarityLinux/Icon.png
Binary files differ
diff --git a/SuperPolarityLinux/Program.cs b/SuperPolarityLinux/Program.cs
new file mode 100644
index 0000000..0aa991d
--- /dev/null
+++ b/SuperPolarityLinux/Program.cs
@@ -0,0 +1,24 @@
+#region Using Statements
+using System;
+using System.Collections.Generic;
+using System.Linq;
+
+#endregion
+
+namespace SuperPolarity
+{
+ static class Program
+ {
+ private static SuperPolarity superPolarity;
+
+ /// <summary>
+ /// The main entry point for the application.
+ /// </summary>
+ [STAThread]
+ static void Main ()
+ {
+ superPolarity = new SuperPolarity ();
+ superPolarity.Run ();
+ }
+ }
+}
diff --git a/SuperPolarityLinux/Properties/AssemblyInfo.cs b/SuperPolarityLinux/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..4833269
--- /dev/null
+++ b/SuperPolarityLinux/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("SuperPolarityLinux")]
+[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/SuperPolarityLinux/SuperPolarityLinux.csproj b/SuperPolarityLinux/SuperPolarityLinux.csproj
new file mode 100644
index 0000000..1cffb22
--- /dev/null
+++ b/SuperPolarityLinux/SuperPolarityLinux.csproj
@@ -0,0 +1,281 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>10.0.0</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{B37AAC05-2F93-4061-AEF3-DABB11980C62}</ProjectGuid>
+ <ProjectTypeGuids>{9B831FEF-F496-498F-9FE8-180DA5CB4258};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+ <OutputType>Exe</OutputType>
+ <RootNamespace>SuperPolarity</RootNamespace>
+ <MonoGamePlatform>Linux</MonoGamePlatform>
+ <AssemblyName>SuperPolarityLinux</AssemblyName>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug</OutputPath>
+ <DefineConstants>DEBUG;</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <ConsolePause>false</ConsolePause>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>none</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release</OutputPath>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <ConsolePause>false</ConsolePause>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.Xml" />
+ <Reference Include="System.Core" />
+ <Reference Include="Tao.Sdl, Version=1.2.13.0, Culture=neutral, PublicKeyToken=9c7a200e36c0094e">
+ <Private>False</Private>
+ </Reference>
+ <Reference Include="MonoGame.Framework, Version=3.0.1.0, Culture=neutral">
+ <Private>False</Private>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Program.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>
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="Icon.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="Content\" />
+ <Folder Include="Actors\" />
+ <Folder Include="Content\Fonts\" />
+ <Folder Include="Content\Graphics\" />
+ <Folder Include="Content\Sound\" />
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <ItemGroup>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Fonts\SegoeUIMono14.xnb">
+ <Link>Content\Fonts\SegoeUIMono14.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Fonts\bigfont.xnb">
+ <Link>Content\Fonts\bigfont.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Fonts\smallfont.xnb">
+ <Link>Content\Fonts\smallfont.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Graphics\circle.xnb">
+ <Link>Content\Graphics\circle.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Graphics\diamond.xnb">
+ <Link>Content\Graphics\diamond.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Graphics\main-ship.xnb">
+ <Link>Content\Graphics\main-ship.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Graphics\negative-cruiser.xnb">
+ <Link>Content\Graphics\negative-cruiser.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Graphics\negative-destroyer.xnb">
+ <Link>Content\Graphics\negative-destroyer.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Graphics\negative-scout.xnb">
+ <Link>Content\Graphics\negative-scout.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Graphics\negative-ship.xnb">
+ <Link>Content\Graphics\negative-ship.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Graphics\negative-supercruiser.xnb">
+ <Link>Content\Graphics\negative-supercruiser.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Graphics\neutral-cruiser.xnb">
+ <Link>Content\Graphics\neutral-cruiser.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Graphics\neutral-destroyer.xnb">
+ <Link>Content\Graphics\neutral-destroyer.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Graphics\neutral-scout.xnb">
+ <Link>Content\Graphics\neutral-scout.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Graphics\neutral-ship.xnb">
+ <Link>Content\Graphics\neutral-ship.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Graphics\neutral-supercruiser.xnb">
+ <Link>Content\Graphics\neutral-supercruiser.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Graphics\pause-screen.xnb">
+ <Link>Content\Graphics\pause-screen.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Graphics\polaritydemotitle.xnb">
+ <Link>Content\Graphics\polaritydemotitle.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Graphics\positive-cruiser.xnb">
+ <Link>Content\Graphics\positive-cruiser.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Graphics\positive-destroyer.xnb">
+ <Link>Content\Graphics\positive-destroyer.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Graphics\positive-scout.xnb">
+ <Link>Content\Graphics\positive-scout.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Graphics\positive-ship.xnb">
+ <Link>Content\Graphics\positive-ship.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Graphics\positive-supercruiser.xnb">
+ <Link>Content\Graphics\positive-supercruiser.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Graphics\square.xnb">
+ <Link>Content\Graphics\square.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Graphics\star.xnb">
+ <Link>Content\Graphics\star.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Sound\bomb.xnb">
+ <Link>Content\Sound\bomb.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Sound\bullet.xnb">
+ <Link>Content\Sound\bullet.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Sound\gameover.xnb">
+ <Link>Content\Sound\gameover.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Sound\hit.xnb">
+ <Link>Content\Sound\hit.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Sound\life.xnb">
+ <Link>Content\Sound\life.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Sound\polaritychange.xnb">
+ <Link>Content\Sound\polaritychange.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Sound\polaritytheme.wav">
+ <Link>Content\Sound\polaritytheme.wav</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Sound\polaritytheme.wma">
+ <Link>Content\Sound\polaritytheme.wma</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\SuperPolarity\Content\Sound\polaritytheme.xnb">
+ <Link>Content\Sound\polaritytheme.xnb</Link>
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </EmbeddedResource>
+ </ItemGroup>
+</Project> \ No newline at end of file