mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Add an example for the TileMapObject : Simple Platformer
This commit is contained in:
@@ -0,0 +1,729 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<project firstLayout="">
|
||||
<gdVersion build="73" major="3" minor="4" revision="0" />
|
||||
<properties linuxExecutableFilename="" macExecutableFilename="" useExternalSourceFiles="false" winExecutableFilename="" winExecutableIconFile="">
|
||||
<name>Platformer with Tile Map Object</name>
|
||||
<author></author>
|
||||
<windowWidth>800</windowWidth>
|
||||
<windowHeight>600</windowHeight>
|
||||
<latestCompilationDirectory></latestCompilationDirectory>
|
||||
<maxFPS>60</maxFPS>
|
||||
<minFPS>10</minFPS>
|
||||
<verticalSync>false</verticalSync>
|
||||
<extensions>
|
||||
<extension name="BuiltinObject" />
|
||||
<extension name="BuiltinAudio" />
|
||||
<extension name="BuiltinVariables" />
|
||||
<extension name="BuiltinTime" />
|
||||
<extension name="BuiltinMouse" />
|
||||
<extension name="BuiltinKeyboard" />
|
||||
<extension name="BuiltinJoystick" />
|
||||
<extension name="BuiltinCamera" />
|
||||
<extension name="BuiltinWindow" />
|
||||
<extension name="BuiltinFile" />
|
||||
<extension name="BuiltinNetwork" />
|
||||
<extension name="BuiltinScene" />
|
||||
<extension name="BuiltinAdvanced" />
|
||||
<extension name="Sprite" />
|
||||
<extension name="BuiltinCommonInstructions" />
|
||||
<extension name="BuiltinCommonConversions" />
|
||||
<extension name="BuiltinStringInstructions" />
|
||||
<extension name="BuiltinMathematicalTools" />
|
||||
<extension name="BuiltinExternalLayouts" />
|
||||
<extension name="TileMapObject" />
|
||||
<extension name="PlatformAutomatism" />
|
||||
</extensions>
|
||||
<platforms>
|
||||
<platform name="Game Develop C++ platform" />
|
||||
</platforms>
|
||||
<currentPlatform>Game Develop C++ platform</currentPlatform>
|
||||
</properties>
|
||||
<resources>
|
||||
<resources>
|
||||
<resource alwaysLoaded="false" file="tiles_spritesheet.png" kind="image" name="tiles_spritesheet.png" smoothed="true" userAdded="true" />
|
||||
<resource alwaysLoaded="false" file="p1_jump.png" kind="image" name="p1_jump.png" smoothed="true" userAdded="true" />
|
||||
<resource alwaysLoaded="false" file="p1_stand.png" kind="image" name="p1_stand.png" smoothed="true" userAdded="true" />
|
||||
<resource alwaysLoaded="false" file="p1_walk01.png" kind="image" name="p1_walk01.png" smoothed="true" userAdded="true" />
|
||||
<resource alwaysLoaded="false" file="p1_walk02.png" kind="image" name="p1_walk02.png" smoothed="true" userAdded="true" />
|
||||
<resource alwaysLoaded="false" file="p1_walk03.png" kind="image" name="p1_walk03.png" smoothed="true" userAdded="true" />
|
||||
<resource alwaysLoaded="false" file="p1_walk04.png" kind="image" name="p1_walk04.png" smoothed="true" userAdded="true" />
|
||||
<resource alwaysLoaded="false" file="p1_walk05.png" kind="image" name="p1_walk05.png" smoothed="true" userAdded="true" />
|
||||
<resource alwaysLoaded="false" file="p1_walk06.png" kind="image" name="p1_walk06.png" smoothed="true" userAdded="true" />
|
||||
<resource alwaysLoaded="false" file="p1_walk07.png" kind="image" name="p1_walk07.png" smoothed="true" userAdded="true" />
|
||||
<resource alwaysLoaded="false" file="p1_walk08.png" kind="image" name="p1_walk08.png" smoothed="true" userAdded="true" />
|
||||
<resource alwaysLoaded="false" file="p1_walk09.png" kind="image" name="p1_walk09.png" smoothed="true" userAdded="true" />
|
||||
<resource alwaysLoaded="false" file="p1_walk10.png" kind="image" name="p1_walk10.png" smoothed="true" userAdded="true" />
|
||||
<resource alwaysLoaded="false" file="p1_walk11.png" kind="image" name="p1_walk11.png" smoothed="true" userAdded="true" />
|
||||
<resource alwaysLoaded="false" file="PlayerArea.png" kind="image" name="PlayerArea.png" smoothed="true" userAdded="true" />
|
||||
</resources>
|
||||
<resourceFolders />
|
||||
</resources>
|
||||
<objects />
|
||||
<objectsGroups />
|
||||
<variables />
|
||||
<layouts>
|
||||
<layout b="209" disableInputWhenNotFocused="true" mangledName="Nouvelle_32sc__4524ne" name="Nouvelle sc<73>ne" oglFOV="90.000000" oglZFar="500.000000" oglZNear="1.000000" r="209" standardSortMethod="true" stopSoundsOnStartup="true" title="" v="209">
|
||||
<uiSettings associatedLayout="" grid="false" gridB="255" gridG="180" gridHeight="32" gridR="158" gridWidth="32" snap="true" windowMask="false" zoomFactor="1.000000" />
|
||||
<objectsGroups />
|
||||
<variables />
|
||||
<instances>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="Platforms" width="0.000000" x="0.000000" y="-180.000000" zOrder="1">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="PlayerCollision" width="0.000000" x="169.000000" y="113.000000" zOrder="2">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
<instance angle="0.000000" customSize="false" height="0.000000" layer="" locked="false" name="PlayerAppearance" width="0.000000" x="155.500031" y="113.499985" zOrder="3">
|
||||
<numberProperties />
|
||||
<stringProperties />
|
||||
<initialVariables />
|
||||
</instance>
|
||||
</instances>
|
||||
<objects>
|
||||
<object name="Platforms" type="TileMapObject::TileMap">
|
||||
<variables />
|
||||
<automatisms>
|
||||
<automatism name="Platform" platformType="NormalPlatform" type="PlatformAutomatism::PlatformAutomatism" />
|
||||
</automatisms>
|
||||
<tileSet textureName="tiles_spritesheet.png" tileSizeX="70.000000" tileSizeY="70.000000" tileSpacingX="2.000000" tileSpacingY="2.000000">
|
||||
<hitboxes>
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="false" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="false" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="false" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
<tileHitbox collidable="true" polygon="0;0|70;0|70;70|0;70" />
|
||||
</hitboxes>
|
||||
</tileSet>
|
||||
<tileMap columns="65" rows="13">
|
||||
<tiles>
|
||||
<layer0>-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152,152|-1,-1,-1,-1,-1,-1,-1,40,103,152,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,104,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,24,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,72,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,96,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,40,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,132,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,132,132,103,152,152,152|-1,-1,-1,-1,-1,-1,132,132,132,103,152,152,152|-1,-1,-1,-1,-1,132,132,132,132,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,132,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,132,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,132,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,132,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,132,132,103,152,152,152|-1,-1,-1,-1,-1,-1,132,132,132,103,152,152,152|-1,-1,-1,-1,-1,132,132,132,132,103,152,152,152|-1,-1,-1,-1,-1,-1,132,132,132,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,132,132,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,132,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,33,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,33,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,21,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,-1,103,152,152,152|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,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,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1|-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1</layer2>
|
||||
</tiles>
|
||||
</tileMap>
|
||||
</object>
|
||||
<object name="PlayerCollision" type="Sprite">
|
||||
<variables />
|
||||
<automatisms>
|
||||
<automatism acceleration="1500.000000" deceleration="1500.000000" gravity="1000.000000" ignoreDefaultControls="false" jumpSpeed="750.000000" maxFallingSpeed="900.000000" maxSpeed="250.000000" name="PlatformerObject" slopeMaxAngle="45.000000" type="PlatformAutomatism::PlatformerObjectAutomatism" />
|
||||
</automatisms>
|
||||
<animations>
|
||||
<animation useMultipleDirections="false">
|
||||
<directions>
|
||||
<direction looping="false" timeBetweenFrames="1.000000">
|
||||
<sprites>
|
||||
<sprite hasCustomCollisionMask="false" image="PlayerArea.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="22.500000" y="46.000000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="45.000000" y="0.000000" />
|
||||
<vertice x="45.000000" y="92.000000" />
|
||||
<vertice x="0.000000" y="92.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
</sprites>
|
||||
</direction>
|
||||
</directions>
|
||||
</animation>
|
||||
</animations>
|
||||
</object>
|
||||
<object name="PlayerAppearance" type="Sprite">
|
||||
<variables />
|
||||
<automatisms />
|
||||
<animations>
|
||||
<animation useMultipleDirections="false">
|
||||
<directions>
|
||||
<direction looping="false" timeBetweenFrames="1.000000">
|
||||
<sprites>
|
||||
<sprite hasCustomCollisionMask="false" image="p1_stand.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="36.000000" y="46.000000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="92.000000" />
|
||||
<vertice x="0.000000" y="92.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
</sprites>
|
||||
</direction>
|
||||
</directions>
|
||||
</animation>
|
||||
<animation useMultipleDirections="false">
|
||||
<directions>
|
||||
<direction looping="true" timeBetweenFrames="0.050000">
|
||||
<sprites>
|
||||
<sprite hasCustomCollisionMask="false" image="p1_walk01.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="36.000000" y="48.500000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="97.000000" />
|
||||
<vertice x="0.000000" y="97.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
<sprite hasCustomCollisionMask="false" image="p1_walk02.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="36.000000" y="48.500000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="97.000000" />
|
||||
<vertice x="0.000000" y="97.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
<sprite hasCustomCollisionMask="false" image="p1_walk03.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="36.000000" y="48.500000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="97.000000" />
|
||||
<vertice x="0.000000" y="97.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
<sprite hasCustomCollisionMask="false" image="p1_walk04.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="36.000000" y="48.500000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="97.000000" />
|
||||
<vertice x="0.000000" y="97.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
<sprite hasCustomCollisionMask="false" image="p1_walk05.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="36.000000" y="48.500000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="97.000000" />
|
||||
<vertice x="0.000000" y="97.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
<sprite hasCustomCollisionMask="false" image="p1_walk06.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="36.000000" y="48.500000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="97.000000" />
|
||||
<vertice x="0.000000" y="97.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
<sprite hasCustomCollisionMask="false" image="p1_walk07.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="36.000000" y="48.500000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="97.000000" />
|
||||
<vertice x="0.000000" y="97.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
<sprite hasCustomCollisionMask="false" image="p1_walk08.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="36.000000" y="48.500000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="97.000000" />
|
||||
<vertice x="0.000000" y="97.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
<sprite hasCustomCollisionMask="false" image="p1_walk09.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="36.000000" y="48.500000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="97.000000" />
|
||||
<vertice x="0.000000" y="97.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
<sprite hasCustomCollisionMask="false" image="p1_walk10.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="36.000000" y="48.500000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="97.000000" />
|
||||
<vertice x="0.000000" y="97.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
<sprite hasCustomCollisionMask="false" image="p1_walk11.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="36.000000" y="48.500000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="97.000000" />
|
||||
<vertice x="0.000000" y="97.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
</sprites>
|
||||
</direction>
|
||||
</directions>
|
||||
</animation>
|
||||
<animation useMultipleDirections="false">
|
||||
<directions>
|
||||
<direction looping="false" timeBetweenFrames="1.000000">
|
||||
<sprites>
|
||||
<sprite hasCustomCollisionMask="false" image="p1_jump.png">
|
||||
<points />
|
||||
<originPoint name="origine" x="0.000000" y="0.000000" />
|
||||
<centerPoint automatic="true" name="centre" x="36.000000" y="47.000000" />
|
||||
<customCollisionMask>
|
||||
<polygon>
|
||||
<vertice x="0.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="0.000000" />
|
||||
<vertice x="72.000000" y="94.000000" />
|
||||
<vertice x="0.000000" y="94.000000" />
|
||||
</polygon>
|
||||
</customCollisionMask>
|
||||
</sprite>
|
||||
</sprites>
|
||||
</direction>
|
||||
</directions>
|
||||
</animation>
|
||||
</animations>
|
||||
</object>
|
||||
</objects>
|
||||
<events>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Comment</type>
|
||||
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
|
||||
<comment>Hide the PlayerCollision object which is just an invisible collision mask for the player</comment>
|
||||
<comment2>Cache l'objet PlayerCollision qui n'est autre qu'un simple masque de collision pour le joueur</comment2>
|
||||
</event>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Standard</type>
|
||||
<conditions>
|
||||
<condition>
|
||||
<type inverted="false" value="DepartScene" />
|
||||
<parameters>
|
||||
<parameter></parameter>
|
||||
</parameters>
|
||||
<subConditions />
|
||||
</condition>
|
||||
</conditions>
|
||||
<actions>
|
||||
<action>
|
||||
<type inverted="false" value="Cache" />
|
||||
<parameters>
|
||||
<parameter>PlayerCollision</parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
</actions>
|
||||
<events />
|
||||
</event>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Comment</type>
|
||||
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
|
||||
<comment>Set the correct animation according to the player movement.</comment>
|
||||
<comment2>On met la bonne animation suivant le mouvement du joueur.</comment2>
|
||||
</event>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Standard</type>
|
||||
<conditions>
|
||||
<condition>
|
||||
<type inverted="true" value="PlatformAutomatism::IsMoving" />
|
||||
<parameters>
|
||||
<parameter>PlayerCollision</parameter>
|
||||
<parameter>PlatformerObject</parameter>
|
||||
</parameters>
|
||||
<subConditions />
|
||||
</condition>
|
||||
</conditions>
|
||||
<actions>
|
||||
<action>
|
||||
<type inverted="false" value="ChangeAnimation" />
|
||||
<parameters>
|
||||
<parameter>PlayerAppearance</parameter>
|
||||
<parameter>=</parameter>
|
||||
<parameter>0</parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
</actions>
|
||||
<events />
|
||||
</event>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Standard</type>
|
||||
<conditions>
|
||||
<condition>
|
||||
<type inverted="true" value="PlatformAutomatism::IsFalling" />
|
||||
<parameters>
|
||||
<parameter>PlayerCollision</parameter>
|
||||
<parameter>PlatformerObject</parameter>
|
||||
</parameters>
|
||||
<subConditions />
|
||||
</condition>
|
||||
<condition>
|
||||
<type inverted="true" value="PlatformAutomatism::IsJumping" />
|
||||
<parameters>
|
||||
<parameter>PlayerCollision</parameter>
|
||||
<parameter>PlatformerObject</parameter>
|
||||
</parameters>
|
||||
<subConditions />
|
||||
</condition>
|
||||
<condition>
|
||||
<type inverted="false" value="PlatformAutomatism::IsMoving" />
|
||||
<parameters>
|
||||
<parameter>PlayerCollision</parameter>
|
||||
<parameter>PlatformerObject</parameter>
|
||||
</parameters>
|
||||
<subConditions />
|
||||
</condition>
|
||||
</conditions>
|
||||
<actions>
|
||||
<action>
|
||||
<type inverted="false" value="ChangeAnimation" />
|
||||
<parameters>
|
||||
<parameter>PlayerAppearance</parameter>
|
||||
<parameter>=</parameter>
|
||||
<parameter>1</parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
</actions>
|
||||
<events />
|
||||
</event>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Standard</type>
|
||||
<conditions>
|
||||
<condition>
|
||||
<type inverted="false" value="BuiltinCommonInstructions::Or" />
|
||||
<parameters />
|
||||
<subConditions>
|
||||
<condition>
|
||||
<type inverted="false" value="PlatformAutomatism::IsFalling" />
|
||||
<parameters>
|
||||
<parameter>PlayerCollision</parameter>
|
||||
<parameter>PlatformerObject</parameter>
|
||||
</parameters>
|
||||
<subConditions />
|
||||
</condition>
|
||||
<condition>
|
||||
<type inverted="false" value="PlatformAutomatism::IsJumping" />
|
||||
<parameters>
|
||||
<parameter>PlayerCollision</parameter>
|
||||
<parameter>PlatformerObject</parameter>
|
||||
</parameters>
|
||||
<subConditions />
|
||||
</condition>
|
||||
</subConditions>
|
||||
</condition>
|
||||
</conditions>
|
||||
<actions>
|
||||
<action>
|
||||
<type inverted="false" value="ChangeAnimation" />
|
||||
<parameters>
|
||||
<parameter>PlayerAppearance</parameter>
|
||||
<parameter>=</parameter>
|
||||
<parameter>2</parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
</actions>
|
||||
<events />
|
||||
</event>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Standard</type>
|
||||
<conditions>
|
||||
<condition>
|
||||
<type inverted="false" value="KeyPressed" />
|
||||
<parameters>
|
||||
<parameter></parameter>
|
||||
<parameter>Left</parameter>
|
||||
</parameters>
|
||||
<subConditions />
|
||||
</condition>
|
||||
</conditions>
|
||||
<actions>
|
||||
<action>
|
||||
<type inverted="false" value="FlipX" />
|
||||
<parameters>
|
||||
<parameter>PlayerAppearance</parameter>
|
||||
<parameter>oui</parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
</actions>
|
||||
<events />
|
||||
</event>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Standard</type>
|
||||
<conditions>
|
||||
<condition>
|
||||
<type inverted="false" value="KeyPressed" />
|
||||
<parameters>
|
||||
<parameter></parameter>
|
||||
<parameter>Right</parameter>
|
||||
</parameters>
|
||||
<subConditions />
|
||||
</condition>
|
||||
</conditions>
|
||||
<actions>
|
||||
<action>
|
||||
<type inverted="false" value="FlipX" />
|
||||
<parameters>
|
||||
<parameter>PlayerAppearance</parameter>
|
||||
<parameter>non</parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
</actions>
|
||||
<events />
|
||||
</event>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Comment</type>
|
||||
<color b="109" g="230" r="255" textB="0" textG="0" textR="0" />
|
||||
<comment>Put the PlayerAppearance at the PlayerCollision position (with a small offset). PlayerAppearance object is just the skin of the player (with all the animations).
The camera is also centered on the player.</comment>
|
||||
<comment2>On met l'objet PlayerAppearance <20> la position de l'objet PlayerCollision avec un petit d<>calage). L'objet PlayerAppearance est juste l'apparence du joueur (avec les animations). 
La cam<61>ra est centr<74>e sur le joueur.</comment2>
|
||||
</event>
|
||||
<event disabled="false" folded="false">
|
||||
<type>BuiltinCommonInstructions::Standard</type>
|
||||
<conditions />
|
||||
<actions>
|
||||
<action>
|
||||
<type inverted="false" value="MettreXY" />
|
||||
<parameters>
|
||||
<parameter>PlayerAppearance</parameter>
|
||||
<parameter>=</parameter>
|
||||
<parameter>PlayerCollision.X() - 13</parameter>
|
||||
<parameter>=</parameter>
|
||||
<parameter>PlayerCollision.Y()</parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
<action>
|
||||
<type inverted="false" value="CentreCamera" />
|
||||
<parameters>
|
||||
<parameter></parameter>
|
||||
<parameter>PlayerCollision</parameter>
|
||||
<parameter></parameter>
|
||||
<parameter></parameter>
|
||||
<parameter></parameter>
|
||||
</parameters>
|
||||
<subActions />
|
||||
</action>
|
||||
</actions>
|
||||
<events />
|
||||
</event>
|
||||
</events>
|
||||
<layers>
|
||||
<layer name="" visibility="true">
|
||||
<cameras>
|
||||
<camera defaultSize="true" defaultViewport="true" height="0.000000" viewportBottom="1.000000" viewportLeft="0.000000" viewportRight="1.000000" viewportTop="0.000000" width="0.000000" />
|
||||
</cameras>
|
||||
</layer>
|
||||
</layers>
|
||||
<automatismsSharedData>
|
||||
<automatismSharedData name="Platform" type="PlatformAutomatism::PlatformAutomatism" />
|
||||
<automatismSharedData name="PlatformerObject" type="PlatformAutomatism::PlatformerObjectAutomatism" />
|
||||
</automatismsSharedData>
|
||||
</layout>
|
||||
</layouts>
|
||||
<externalEvents />
|
||||
<externalLayouts />
|
||||
<externalSourceFiles />
|
||||
</project>
|
BIN
Binaries/Output/Release_Windows/Examples/tiles_spritesheet.png
Normal file
BIN
Binaries/Output/Release_Windows/Examples/tiles_spritesheet.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 126 KiB |
Reference in New Issue
Block a user