Commit dfd2e326 authored by Maxime's avatar Maxime
Browse files

add portals to the game

parent 5489f3c5
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.0" tiledversion="1.7.2" orientation="orthogonal" renderorder="right-down" width="24" height="15" tilewidth="32" tileheight="32" infinite="0" nextlayerid="4" nextobjectid="5">
<map version="1.0" tiledversion="1.7.2" orientation="orthogonal" renderorder="right-down" width="24" height="15" tilewidth="32" tileheight="32" infinite="0" nextlayerid="4" nextobjectid="8">
<tileset firstgid="1" source="../tiles.tsx"/>
<layer id="1" name="Calque de Tuiles 1" width="24" height="15">
<data encoding="csv">
......@@ -22,5 +22,19 @@
</layer>
<objectgroup id="2" name="Calque d'Objets 1">
<object id="2" name="Spawn" x="64" y="416"/>
<object id="6" name="Portal" x="640" y="96">
<properties>
<property name="id" type="int" value="0"/>
<property name="in" type="bool" value="false"/>
</properties>
<point/>
</object>
<object id="7" name="Portal" x="640" y="384">
<properties>
<property name="id" type="int" value="0"/>
<property name="in" type="bool" value="true"/>
</properties>
<point/>
</object>
</objectgroup>
</map>
......@@ -20,4 +20,20 @@
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
</data>
</layer>
<objectgroup id="2" name="Calque d'Objets 1">
<object id="6" name="Portal" x="240" y="96">
<properties>
<property name="id" type="int" value="0"/>
<property name="in" type="bool" value="false"/>
</properties>
<point/>
</object>
<object id="7" name="Portal" x="240" y="384">
<properties>
<property name="id" type="int" value="0"/>
<property name="in" type="bool" value="true"/>
</properties>
<point/>
</object>
</objectgroup>
</map>
......@@ -42,6 +42,24 @@
<Content Include="Data\Levels\World0\tiles.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Data\Sprites\Worlds\Teleporters\portal_in_1.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Data\Sprites\Worlds\Teleporters\portal_in_2.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Data\Sprites\Worlds\Teleporters\portal_in_3.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Data\Sprites\Worlds\Teleporters\portal_out_1.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Data\Sprites\Worlds\Teleporters\portal_out_2.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Data\Sprites\Worlds\Teleporters\portal_out_3.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Data\UI\inner_joystick.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
......@@ -133,9 +151,6 @@
<None Include="Data\Levels\World0\world0_0!-1.tmx">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Data\Levels\World0\world0_1!1.tmx">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Data\Levels\World0\world0_0!0.tmx">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
......@@ -145,6 +160,9 @@
<None Include="Data\Levels\World0\world0_0!2.tmx">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Data\Levels\World0\world0_1!1.tmx">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Data\Particles\background.pex">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
......
<?xml version="1.0" encoding="UTF-8"?>
<map version="1.0" tiledversion="1.7.2" orientation="orthogonal" renderorder="right-down" width="24" height="15" tilewidth="32" tileheight="32" infinite="0" nextlayerid="4" nextobjectid="5">
<map version="1.0" tiledversion="1.7.2" orientation="orthogonal" renderorder="right-down" width="24" height="15" tilewidth="32" tileheight="32" infinite="0" nextlayerid="4" nextobjectid="8">
<tileset firstgid="1" source="../tiles.tsx"/>
<layer id="1" name="Calque de Tuiles 1" width="24" height="15">
<data encoding="csv">
......@@ -22,5 +22,19 @@
</layer>
<objectgroup id="2" name="Calque d'Objets 1">
<object id="2" name="Spawn" x="64" y="416"/>
<object id="6" name="Portal" x="640" y="96">
<properties>
<property name="id" type="int" value="0"/>
<property name="in" type="bool" value="false"/>
</properties>
<point/>
</object>
<object id="7" name="Portal" x="640" y="384">
<properties>
<property name="id" type="int" value="0"/>
<property name="in" type="bool" value="true"/>
</properties>
<point/>
</object>
</objectgroup>
</map>
......@@ -20,4 +20,20 @@
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
</data>
</layer>
<objectgroup id="2" name="Calque d'Objets 1">
<object id="6" name="Portal" x="240" y="96">
<properties>
<property name="id" type="int" value="0"/>
<property name="in" type="bool" value="false"/>
</properties>
<point/>
</object>
<object id="7" name="Portal" x="240" y="384">
<properties>
<property name="id" type="int" value="0"/>
<property name="in" type="bool" value="true"/>
</properties>
<point/>
</object>
</objectgroup>
</map>
......@@ -132,13 +132,13 @@
<AndroidAsset Include="Assets\Data\Levels\World0\world0_0!1.tmx">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</AndroidAsset>
<AndroidAsset Include="Assets\Data\Levels\World0\world0_0!2.tmx">
<AndroidAsset Include="Assets\Data\Levels\World0\world0_0!-1.tmx">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</AndroidAsset>
<AndroidAsset Include="Assets\Data\Levels\World0\world0_1!1.tmx">
<AndroidAsset Include="Assets\Data\Levels\World0\world0_0!2.tmx">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</AndroidAsset>
<AndroidAsset Include="Assets\Data\Levels\World0\world0_0!-1.tmx">
<AndroidAsset Include="Assets\Data\Levels\World0\world0_1!1.tmx">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</AndroidAsset>
<None Include="Resources\AboutResources.txt" />
......@@ -286,6 +286,26 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</AndroidAsset>
</ItemGroup>
<ItemGroup>
<AndroidAsset Include="Assets\Data\Sprites\Worlds\Teleporters\portal_in_1.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</AndroidAsset>
<AndroidAsset Include="Assets\Data\Sprites\Worlds\Teleporters\portal_in_2.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</AndroidAsset>
<AndroidAsset Include="Assets\Data\Sprites\Worlds\Teleporters\portal_in_3.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</AndroidAsset>
<AndroidAsset Include="Assets\Data\Sprites\Worlds\Teleporters\portal_out_1.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</AndroidAsset>
<AndroidAsset Include="Assets\Data\Sprites\Worlds\Teleporters\portal_out_2.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</AndroidAsset>
<AndroidAsset Include="Assets\Data\Sprites\Worlds\Teleporters\portal_out_3.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</AndroidAsset>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.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.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment