Click here to Skip to main content
15,881,559 members
Articles / Mobile Apps

Windows Phone Labyrinth

Rate me:
Please Sign up or sign in to vote.
4.95/5 (53 votes)
31 Jan 2012CPOL10 min read 129.4K   53.8K   115  
A Windows Phone application using accelerometer emulator and Farseer physics engine
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <ProjectGuid>{DF267FF7-7A01-4EAA-A5D1-CC81D8CEEFD2}</ProjectGuid>
    <ProjectTypeGuids>{6D335F3A-9D43-41b4-9D22-F6F17C4BE596};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">Windows Phone</Platform>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>Samples_XNA</RootNamespace>
    <AssemblyName>Samples XNA</AssemblyName>
    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
    <TargetFrameworkProfile>Client</TargetFrameworkProfile>
    <XnaFrameworkVersion>v4.0</XnaFrameworkVersion>
    <XnaPlatform>Windows Phone</XnaPlatform>
    <XnaProfile>Reach</XnaProfile>
    <XnaCrossPlatformGroupID>cea5807e-8a0d-458d-9edc-4e786589e6da</XnaCrossPlatformGroupID>
    <XnaOutputType>Game</XnaOutputType>
    <ApplicationIcon>Game.ico</ApplicationIcon>
    <Thumbnail>GameThumbnail.png</Thumbnail>
    <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>
    <XapFilename Condition="$(XnaOutputType)=='Game'">$(AssemblyName).xap</XapFilename>
    <SilverlightManifestTemplate Condition="$(XnaOutputType)=='Game'">Properties\AppManifest.xml</SilverlightManifestTemplate>
    <XnaWindowsPhoneManifestTemplate Condition="$(XnaOutputType)=='Game'">Properties\WMAppManifest.xml</XnaWindowsPhoneManifestTemplate>
    <TileImage Condition="$(XnaOutputType)=='Game'">Background.png</TileImage>
    <TileTitle Condition="$(XnaOutputType)=='Game'">$(AssemblyName)</TileTitle>
    <SupportedCultures />
    <SccProjectName>
    </SccProjectName>
    <SccLocalPath>
    </SccLocalPath>
    <SccAuxPath>
    </SccAuxPath>
    <SccProvider>
    </SccProvider>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|Windows Phone' ">
    <OutputPath>bin\Windows Phone\Debug</OutputPath>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <NoStdLib>true</NoStdLib>
    <UseVSHostingProcess>false</UseVSHostingProcess>
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <DefineConstants>DEBUG;TRACE;WINDOWS_PHONE</DefineConstants>
    <XnaCompressContent>false</XnaCompressContent>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|Windows Phone' ">
    <OutputPath>bin\Windows Phone\Release</OutputPath>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <NoStdLib>true</NoStdLib>
    <UseVSHostingProcess>false</UseVSHostingProcess>
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <DefineConstants>TRACE;WINDOWS_PHONE</DefineConstants>
    <XnaCompressContent>false</XnaCompressContent>
  </PropertyGroup>
  <ItemGroup>
    <ProjectReference Include="..\..\DebugView XNA\DebugView XNA WP7.csproj">
      <Project>{F658A60D-5941-4CBE-8EC1-8AE20E93F60E}</Project>
      <Name>DebugView XNA WP7</Name>
    </ProjectReference>
    <ProjectReference Include="..\..\Farseer Physics Engine 3.3 XNA\Farseer Physics XNA WP7.csproj">
      <Project>{AA6CB78E-9484-4843-8613-54CD2BF1E948}</Project>
      <Name>Farseer Physics XNA WP7</Name>
    </ProjectReference>
    <ProjectReference Include="..\Samples XNAContent\Samples XNA Content.contentproj">
      <Name>Samples XNA Content %28Content%29</Name>
      <XnaReferenceType>Content</XnaReferenceType>
      <Project>{C8D1B1FB-E7FA-4BCF-BC8A-4D5D93429F67}</Project>
    </ProjectReference>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="DrawingSystem\LineBatch.cs" />
    <Compile Include="DrawingSystem\Sprite.cs" />
    <Compile Include="Samples\AdvancedDemo1.cs" />
    <Compile Include="Samples\AdvancedDemo2.cs" />
    <Compile Include="Samples\AdvancedDemo3.cs" />
    <Compile Include="Samples\AdvancedDemo4.cs" />
    <Compile Include="Samples\AdvancedDemo5.cs" />
    <Compile Include="DrawingSystem\AssetCreator.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
    <Compile Include="Program.cs" />
    <Compile Include="FarseerPhysicsGame.cs" />
    <Compile Include="Samples\GameDemo1.cs" />
    <Compile Include="Samples\Prefabs\Agent.cs" />
    <Compile Include="Samples\Prefabs\Border.cs" />
    <Compile Include="Samples\Prefabs\Objects.cs" />
    <Compile Include="Samples\Prefabs\Pyramid.cs" />
    <Compile Include="Samples\Prefabs\Ragdoll.cs" />
    <Compile Include="Samples\Prefabs\Spider.cs" />
    <Compile Include="Samples\Prefabs\Spiderweb.cs" />
    <Compile Include="Samples\Prefabs\TheoJansen.cs" />
    <Compile Include="ScreenSystem\BackgroundScreen.cs" />
    <Compile Include="ScreenSystem\Camera2D.cs" />
    <Compile Include="ScreenSystem\ConvertUnits.cs" />
    <Compile Include="ScreenSystem\FramerateCounterComponent.cs" />
    <Compile Include="ScreenSystem\GameScreen.cs" />
    <Compile Include="ScreenSystem\IDemoScreen.cs" />
    <Compile Include="ScreenSystem\InputHelper.cs" />
    <Compile Include="ScreenSystem\LogoScreen.cs" />
    <Compile Include="ScreenSystem\MenuButton.cs" />
    <Compile Include="ScreenSystem\MenuEntry.cs" />
    <Compile Include="ScreenSystem\MenuScreen.cs" />
    <Compile Include="ScreenSystem\MessageBoxScreen.cs" />
    <Compile Include="ScreenSystem\PhysicsGameScreen.cs" />
    <Compile Include="ScreenSystem\ScreenManagerComponent.cs" />
    <Compile Include="ScreenSystem\SpriteFonts.cs" />
    <Compile Include="Samples\SimpleDemo1.cs" />
    <Compile Include="Samples\SimpleDemo2.cs" />
    <Compile Include="Samples\SimpleDemo3.cs" />
    <Compile Include="Samples\SimpleDemo4.cs" />
    <Compile Include="Samples\SimpleDemo5.cs" />
    <Compile Include="Samples\SimpleDemo6.cs" />
    <Compile Include="Samples\SimpleDemo7.cs" />
    <Compile Include="Samples\SimpleDemo8.cs" />
    <Compile Include="Samples\SimpleDemo9.cs" />
    <Compile Include="ScreenSystem\VirtualButton.cs" />
    <Compile Include="ScreenSystem\VirtualStick.cs" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="Game.ico" />
    <Content Include="GameThumbnail.png" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Background.png">
      <XnaPlatformSpecific>true</XnaPlatformSpecific>
    </None>
    <None Include="Properties\AppManifest.xml">
      <XnaPlatformSpecific>true</XnaPlatformSpecific>
    </None>
    <None Include="Properties\WMAppManifest.xml">
      <XnaPlatformSpecific>true</XnaPlatformSpecific>
    </None>
  </ItemGroup>
  <ItemGroup>
    <BootstrapperPackage Include=".NETFramework,Version=v4.0,Profile=Client">
      <Visible>False</Visible>
      <ProductName>Microsoft .NET Framework 4 Client Profile %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.3.1">
      <Visible>False</Visible>
      <ProductName>Windows Installer 3.1</ProductName>
      <Install>true</Install>
    </BootstrapperPackage>
    <BootstrapperPackage Include="Microsoft.Xna.Framework.4.0">
      <Visible>False</Visible>
      <ProductName>Microsoft XNA Framework Redistributable 4.0</ProductName>
      <Install>true</Install>
    </BootstrapperPackage>
  </ItemGroup>
  <ItemGroup />
  <ItemGroup />
  <ItemGroup>
    <Reference Include="Microsoft.Xna.Framework">
      <Private>False</Private>
    </Reference>
    <Reference Include="Microsoft.Xna.Framework.Game">
      <Private>False</Private>
    </Reference>
    <Reference Include="Microsoft.Xna.Framework.GamerServices">
      <Private>False</Private>
    </Reference>
    <Reference Include="Microsoft.Xna.Framework.Graphics">
      <Private>False</Private>
    </Reference>
    <Reference Include="Microsoft.Xna.Framework.Input.Touch">
      <Private>False</Private>
    </Reference>
    <Reference Include="mscorlib">
      <Private>False</Private>
    </Reference>
    <Reference Include="mscorlib.Extensions">
      <HintPath>..\..\..\..\..\..\..\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone71\mscorlib.Extensions.dll</HintPath>
    </Reference>
    <Reference Include="System">
      <Private>False</Private>
    </Reference>
    <Reference Include="System.Core">
      <Private>False</Private>
    </Reference>
    <Reference Include="System.Net" />
    <Reference Include="System.Xml">
      <Private>False</Private>
    </Reference>
    <Reference Include="System.Xml.Linq">
      <Private>False</Private>
    </Reference>
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\Microsoft.Xna.GameStudio.targets" />
  <!--
      To modify your build process, add your task inside one of the targets below and uncomment it. 
      Other similar extension points exist, see Microsoft.Common.targets.
      <Target Name="BeforeBuild">
      </Target>
      <Target Name="AfterBuild">
      </Target>
    -->
</Project>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Instructor / Trainer Alura Cursos Online
Brazil Brazil

Comments and Discussions