summaryrefslogtreecommitdiff
path: root/demos/2d/platformer/tileset.xml
diff options
context:
space:
mode:
authorCarl Olsson <carl.olsson@gmail.com>2015-02-15 18:21:35 +1000
committerCarl Olsson <carl.olsson@gmail.com>2015-02-15 18:21:35 +1000
commit196185d0be3ea7c05335c03d7e2db3e7c17d7a49 (patch)
tree572596c4261ed5e520ba1628661261ea0d5ee620 /demos/2d/platformer/tileset.xml
parent6a38ab1b43e4a107a28c52ba2036a4886794f625 (diff)
parent2185c018f6593e6d64b2beb62202d2291e2e008e (diff)
Merge branch 'master' of https://github.com/okamstudio/godot
Conflicts: scene/2d/tile_map.cpp
Diffstat (limited to 'demos/2d/platformer/tileset.xml')
-rw-r--r--demos/2d/platformer/tileset.xml185
1 files changed, 121 insertions, 64 deletions
diff --git a/demos/2d/platformer/tileset.xml b/demos/2d/platformer/tileset.xml
index 2e4ecc8c04..d8f9a651ee 100644
--- a/demos/2d/platformer/tileset.xml
+++ b/demos/2d/platformer/tileset.xml
@@ -1,134 +1,191 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<resource_file type="TileSet" subresource_count="12" version="0.99" version_name="Godot Engine v0.99.3037-pre-beta">
+<resource_file type="TileSet" subresource_count="14" version="1.0" version_name="Godot Engine v1.0.stable.custom_build">
<ext_resource path="res://tiles_demo.png" type="Texture"></ext_resource>
- <resource type="ConvexPolygonShape2D" path="local://0">
- <string name="resource/name"> "" </string>
- <real name="custom_solver_bias"> 0 </real>
- <vector2_array name="points" len="4"> 0, 8, 64, 8, 64, 64, 0, 64 </vector2_array>
- <resource name="script/script"></resource>
- </resource>
<resource type="ConvexPolygonShape2D" path="local://1">
- <string name="resource/name"> "" </string>
<real name="custom_solver_bias"> 0 </real>
- <vector2_array name="points" len="4"> 0, 64, 0, 8, 56, 8, 56, 64 </vector2_array>
- <resource name="script/script"></resource>
+ <vector2_array name="points" len="4"> -32, -24, 32, -24, 32, 32, -32, 32 </vector2_array>
+
</resource>
<resource type="ConvexPolygonShape2D" path="local://2">
- <string name="resource/name"> "" </string>
<real name="custom_solver_bias"> 0 </real>
- <vector2_array name="points" len="4"> 0, 64, 0, 0, 56, 0, 56, 64 </vector2_array>
- <resource name="script/script"></resource>
+ <vector2_array name="points" len="4"> -32, 32, -32, -24, 24, -24, 24, 32 </vector2_array>
+
</resource>
<resource type="ConvexPolygonShape2D" path="local://3">
- <string name="resource/name"> "" </string>
<real name="custom_solver_bias"> 0 </real>
- <vector2_array name="points" len="4"> 0, 64, 0, 0, 56, 0, 56, 64 </vector2_array>
- <resource name="script/script"></resource>
+ <vector2_array name="points" len="4"> -32, 32, -32, -32, 24, -32, 24, 32 </vector2_array>
+
</resource>
<resource type="ConvexPolygonShape2D" path="local://4">
- <string name="resource/name"> "" </string>
<real name="custom_solver_bias"> 0 </real>
- <vector2_array name="points" len="5"> 0, 64, 0, 0, 56, 0, 64, 8, 64, 64 </vector2_array>
- <resource name="script/script"></resource>
+ <vector2_array name="points" len="4"> -64, 32, -64, -32, -8, -32, -8, 32 </vector2_array>
+
</resource>
<resource type="ConvexPolygonShape2D" path="local://5">
- <string name="resource/name"> "" </string>
<real name="custom_solver_bias"> 0 </real>
- <vector2_array name="points" len="4"> 0, 64, 0, 8, 64, 8, 64, 64 </vector2_array>
- <resource name="script/script"></resource>
+ <vector2_array name="points" len="5"> -32, 32, -32, -32, 24, -32, 32, -24, 32, 32 </vector2_array>
+
</resource>
<resource type="ConvexPolygonShape2D" path="local://6">
- <string name="resource/name"> "" </string>
<real name="custom_solver_bias"> 0 </real>
- <vector2_array name="points" len="4"> 0, 64, 0, 8, 64, 8, 64, 64 </vector2_array>
- <resource name="script/script"></resource>
+ <vector2_array name="points" len="4"> -32, 32, -32, -24, 32, -24, 32, 32 </vector2_array>
+
</resource>
<resource type="ConvexPolygonShape2D" path="local://7">
- <string name="resource/name"> "" </string>
<real name="custom_solver_bias"> 0 </real>
- <vector2_array name="points" len="4"> 0, 0, 64, 0, 64, 64, 0, 64 </vector2_array>
- <resource name="script/script"></resource>
+ <vector2_array name="points" len="4"> -32, 32, -32, -24, 32, -24, 32, 32 </vector2_array>
+
</resource>
<resource type="ConvexPolygonShape2D" path="local://8">
- <string name="resource/name"> "" </string>
<real name="custom_solver_bias"> 0 </real>
- <vector2_array name="points" len="4"> 0, 8, 64, 72, 64, 128, 0, 128 </vector2_array>
- <resource name="script/script"></resource>
+ <vector2_array name="points" len="4"> -32, -32, 32, -32, 32, 32, -32, 32 </vector2_array>
+
</resource>
<resource type="ConvexPolygonShape2D" path="local://9">
- <string name="resource/name"> "" </string>
<real name="custom_solver_bias"> 0 </real>
- <vector2_array name="points" len="4"> 0, 64, 0, 0, 56, 0, 56, 64 </vector2_array>
- <resource name="script/script"></resource>
+ <vector2_array name="points" len="4"> -32, -56, 32, 8, 32, 64, -32, 64 </vector2_array>
+
+ </resource>
+ <resource type="ConvexPolygonShape2D" path="local://10">
+ <real name="custom_solver_bias"> 0 </real>
+ <vector2_array name="points" len="4"> -32, 32, -32, -32, 24, -32, 24, 32 </vector2_array>
+
+ </resource>
+ <resource type="ConvexPolygonShape2D" path="local://11">
+ <real name="custom_solver_bias"> 0 </real>
+ <vector2_array name="points" len="4"> -32, -24, 32, -24, 32, 24, -32, 24 </vector2_array>
+
+ </resource>
+ <resource type="ConvexPolygonShape2D" path="local://12">
+ <real name="custom_solver_bias"> 0 </real>
+ <vector2_array name="points" len="4"> -32, -24, 24, -24, 24, 24, -32, 24 </vector2_array>
+
</resource>
<main_resource>
- <string name="resource/name"> "" </string>
<string name="0/name"> "floor" </string>
<resource name="0/texture" resource_type="Texture" path="res://tiles_demo.png"> </resource>
- <vector2 name="0/offset"> 0, 0 </vector2>
+ <vector2 name="0/tex_offset"> 0, 0 </vector2>
+ <vector2 name="0/shape_offset"> 32, 32 </vector2>
<rect2 name="0/region"> 0, 0, 64, 64 </rect2>
- <resource name="0/shape" resource_type="ConvexPolygonShape2D" path="local://0"> </resource>
+ <array name="0/shapes" len="1" shared="false">
+ <resource resource_type="Shape2D" path="local://1"> </resource>
+ </array>
<string name="1/name"> "edge" </string>
<resource name="1/texture" resource_type="Texture" path="res://tiles_demo.png"> </resource>
- <vector2 name="1/offset"> 0, 0 </vector2>
+ <vector2 name="1/tex_offset"> 0, 0 </vector2>
+ <vector2 name="1/shape_offset"> 32, 32 </vector2>
<rect2 name="1/region"> 64, 0, 64, 64 </rect2>
- <resource name="1/shape" resource_type="ConvexPolygonShape2D" path="local://1"> </resource>
+ <array name="1/shapes" len="1" shared="false">
+ <resource resource_type="Shape2D" path="local://2"> </resource>
+ </array>
<string name="2/name"> "wall" </string>
<resource name="2/texture" resource_type="Texture" path="res://tiles_demo.png"> </resource>
- <vector2 name="2/offset"> 0, 0 </vector2>
+ <vector2 name="2/tex_offset"> 0, 0 </vector2>
+ <vector2 name="2/shape_offset"> 32, 32 </vector2>
<rect2 name="2/region"> 64, 64, 64, 64 </rect2>
- <resource name="2/shape" resource_type="ConvexPolygonShape2D" path="local://2"> </resource>
+ <array name="2/shapes" len="1" shared="false">
+ <resource resource_type="Shape2D" path="local://3"> </resource>
+ </array>
<string name="3/name"> "wall_deco" </string>
<resource name="3/texture" resource_type="Texture" path="res://tiles_demo.png"> </resource>
- <vector2 name="3/offset"> 0, 0 </vector2>
+ <vector2 name="3/tex_offset"> 0, 0 </vector2>
+ <vector2 name="3/shape_offset"> 64, 32 </vector2>
<rect2 name="3/region"> 320, 128, 128, 64 </rect2>
- <resource name="3/shape" resource_type="ConvexPolygonShape2D" path="local://3"> </resource>
+ <array name="3/shapes" len="1" shared="false">
+ <resource resource_type="Shape2D" path="local://4"> </resource>
+ </array>
<string name="4/name"> "corner" </string>
<resource name="4/texture" resource_type="Texture" path="res://tiles_demo.png"> </resource>
- <vector2 name="4/offset"> 0, 0 </vector2>
+ <vector2 name="4/tex_offset"> 0, 0 </vector2>
+ <vector2 name="4/shape_offset"> 32, 32 </vector2>
<rect2 name="4/region"> 64, 128, 64, 64 </rect2>
- <resource name="4/shape" resource_type="ConvexPolygonShape2D" path="local://4"> </resource>
+ <array name="4/shapes" len="1" shared="false">
+ <resource resource_type="Shape2D" path="local://5"> </resource>
+ </array>
<string name="5/name"> "flowers" </string>
<resource name="5/texture" resource_type="Texture" path="res://tiles_demo.png"> </resource>
- <vector2 name="5/offset"> 0, 0 </vector2>
+ <vector2 name="5/tex_offset"> 0, 0 </vector2>
+ <vector2 name="5/shape_offset"> 32, 32 </vector2>
<rect2 name="5/region"> 192, 192, 64, 64 </rect2>
- <resource name="5/shape" resource_type="ConvexPolygonShape2D" path="local://5"> </resource>
+ <array name="5/shapes" len="1" shared="false">
+ <resource resource_type="Shape2D" path="local://6"> </resource>
+ </array>
<string name="6/name"> "tree_base" </string>
<resource name="6/texture" resource_type="Texture" path="res://tiles_demo.png"> </resource>
- <vector2 name="6/offset"> 0, 0 </vector2>
+ <vector2 name="6/tex_offset"> 0, 0 </vector2>
+ <vector2 name="6/shape_offset"> 32, 32 </vector2>
<rect2 name="6/region"> 256, 192, 64, 64 </rect2>
- <resource name="6/shape" resource_type="ConvexPolygonShape2D" path="local://6"> </resource>
+ <array name="6/shapes" len="1" shared="false">
+ <resource resource_type="Shape2D" path="local://7"> </resource>
+ </array>
<string name="7/name"> "tree_mid" </string>
<resource name="7/texture" resource_type="Texture" path="res://tiles_demo.png"> </resource>
- <vector2 name="7/offset"> 0, 0 </vector2>
+ <vector2 name="7/tex_offset"> 0, 0 </vector2>
+ <vector2 name="7/shape_offset"> 0, 0 </vector2>
<rect2 name="7/region"> 256, 128, 64, 64 </rect2>
- <resource name="7/shape"></resource> <string name="8/name"> "tree_mid 2" </string>
+ <array name="7/shapes" len="0" shared="false">
+ </array>
+ <string name="8/name"> "tree_mid 2" </string>
<resource name="8/texture" resource_type="Texture" path="res://tiles_demo.png"> </resource>
- <vector2 name="8/offset"> 0, 0 </vector2>
+ <vector2 name="8/tex_offset"> 0, 0 </vector2>
+ <vector2 name="8/shape_offset"> 0, 0 </vector2>
<rect2 name="8/region"> 256, 64, 64, 64 </rect2>
- <resource name="8/shape"></resource> <string name="9/name"> "tree_top" </string>
+ <array name="8/shapes" len="0" shared="false">
+ </array>
+ <string name="9/name"> "tree_top" </string>
<resource name="9/texture" resource_type="Texture" path="res://tiles_demo.png"> </resource>
- <vector2 name="9/offset"> 0, 0 </vector2>
+ <vector2 name="9/tex_offset"> 0, 0 </vector2>
+ <vector2 name="9/shape_offset"> 0, 0 </vector2>
<rect2 name="9/region"> 256, 0, 64, 64 </rect2>
- <resource name="9/shape"></resource> <string name="10/name"> "solid" </string>
+ <array name="9/shapes" len="0" shared="false">
+ </array>
+ <string name="10/name"> "solid" </string>
<resource name="10/texture" resource_type="Texture" path="res://tiles_demo.png"> </resource>
- <vector2 name="10/offset"> 0, 0 </vector2>
+ <vector2 name="10/tex_offset"> 0, 0 </vector2>
+ <vector2 name="10/shape_offset"> 0, 0 </vector2>
<rect2 name="10/region"> 0, 64, 64, 64 </rect2>
- <resource name="10/shape"></resource> <string name="11/name"> "ceiling" </string>
+ <array name="10/shapes" len="0" shared="false">
+ </array>
+ <string name="11/name"> "ceiling" </string>
<resource name="11/texture" resource_type="Texture" path="res://tiles_demo.png"> </resource>
- <vector2 name="11/offset"> 0, 0 </vector2>
+ <vector2 name="11/tex_offset"> 0, 0 </vector2>
+ <vector2 name="11/shape_offset"> 32, 32 </vector2>
<rect2 name="11/region"> 384, 64, 64, 64 </rect2>
- <resource name="11/shape" resource_type="ConvexPolygonShape2D" path="local://7"> </resource>
+ <array name="11/shapes" len="1" shared="false">
+ <resource resource_type="Shape2D" path="local://8"> </resource>
+ </array>
<string name="12/name"> "ramp" </string>
<resource name="12/texture" resource_type="Texture" path="res://tiles_demo.png"> </resource>
- <vector2 name="12/offset"> 0, 0 </vector2>
+ <vector2 name="12/tex_offset"> 0, 0 </vector2>
+ <vector2 name="12/shape_offset"> 32, 64 </vector2>
<rect2 name="12/region"> 128, 128, 64, 128 </rect2>
- <resource name="12/shape" resource_type="ConvexPolygonShape2D" path="local://8"> </resource>
+ <array name="12/shapes" len="1" shared="false">
+ <resource resource_type="Shape2D" path="local://9"> </resource>
+ </array>
<string name="13/name"> "ceiling2wall" </string>
<resource name="13/texture" resource_type="Texture" path="res://tiles_demo.png"> </resource>
- <vector2 name="13/offset"> 0, 0 </vector2>
+ <vector2 name="13/tex_offset"> 0, 0 </vector2>
+ <vector2 name="13/shape_offset"> 32, 32 </vector2>
<rect2 name="13/region"> 448, 64, 64, 64 </rect2>
- <resource name="13/shape" resource_type="ConvexPolygonShape2D" path="local://9"> </resource>
- <resource name="script/script"></resource>
+ <array name="13/shapes" len="1" shared="false">
+ <resource resource_type="Shape2D" path="local://10"> </resource>
+ </array>
+ <string name="14/name"> "platform_floor" </string>
+ <resource name="14/texture" resource_type="Texture" path="res://tiles_demo.png"> </resource>
+ <vector2 name="14/tex_offset"> 0, 0 </vector2>
+ <vector2 name="14/shape_offset"> 32, 32 </vector2>
+ <rect2 name="14/region"> 128, 0, 64, 64 </rect2>
+ <array name="14/shapes" len="1" shared="false">
+ <resource resource_type="Shape2D" path="local://11"> </resource>
+ </array>
+ <string name="15/name"> "platform_edge" </string>
+ <resource name="15/texture" resource_type="Texture" path="res://tiles_demo.png"> </resource>
+ <vector2 name="15/tex_offset"> 0, 0 </vector2>
+ <vector2 name="15/shape_offset"> 32, 32 </vector2>
+ <rect2 name="15/region"> 192, 0, 64, 64 </rect2>
+ <array name="15/shapes" len="1" shared="false">
+ <resource resource_type="Shape2D" path="local://12"> </resource>
+ </array>
+
</main_resource>
</resource_file> \ No newline at end of file