9d182e93a3
Updated 2D Platformer demo to use kinematic TileMaps for moving platforms, in doing so discovered that the tileset was messed up and not converting properly, so fixed that too. And in order to fix the tileset I need to activate snapping for collision polygon vertices.
191 lines
No EOL
9.1 KiB
XML
191 lines
No EOL
9.1 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<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://1">
|
|
<real name="custom_solver_bias"> 0 </real>
|
|
<vector2_array name="points" len="4"> -32, -24, 32, -24, 32, 32, -32, 32 </vector2_array>
|
|
|
|
</resource>
|
|
<resource type="ConvexPolygonShape2D" path="local://2">
|
|
<real name="custom_solver_bias"> 0 </real>
|
|
<vector2_array name="points" len="4"> -32, 32, -32, -24, 24, -24, 24, 32 </vector2_array>
|
|
|
|
</resource>
|
|
<resource type="ConvexPolygonShape2D" path="local://3">
|
|
<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://4">
|
|
<real name="custom_solver_bias"> 0 </real>
|
|
<vector2_array name="points" len="4"> -64, 32, -64, -32, -8, -32, -8, 32 </vector2_array>
|
|
|
|
</resource>
|
|
<resource type="ConvexPolygonShape2D" path="local://5">
|
|
<real name="custom_solver_bias"> 0 </real>
|
|
<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">
|
|
<real name="custom_solver_bias"> 0 </real>
|
|
<vector2_array name="points" len="4"> -32, 32, -32, -24, 32, -24, 32, 32 </vector2_array>
|
|
|
|
</resource>
|
|
<resource type="ConvexPolygonShape2D" path="local://7">
|
|
<real name="custom_solver_bias"> 0 </real>
|
|
<vector2_array name="points" len="4"> -32, 32, -32, -24, 32, -24, 32, 32 </vector2_array>
|
|
|
|
</resource>
|
|
<resource type="ConvexPolygonShape2D" path="local://8">
|
|
<real name="custom_solver_bias"> 0 </real>
|
|
<vector2_array name="points" len="4"> -32, -32, 32, -32, 32, 32, -32, 32 </vector2_array>
|
|
|
|
</resource>
|
|
<resource type="ConvexPolygonShape2D" path="local://9">
|
|
<real name="custom_solver_bias"> 0 </real>
|
|
<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="0/name"> "floor" </string>
|
|
<resource name="0/texture" resource_type="Texture" path="res://tiles_demo.png"> </resource>
|
|
<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>
|
|
<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/tex_offset"> 0, 0 </vector2>
|
|
<vector2 name="1/shape_offset"> 32, 32 </vector2>
|
|
<rect2 name="1/region"> 64, 0, 64, 64 </rect2>
|
|
<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/tex_offset"> 0, 0 </vector2>
|
|
<vector2 name="2/shape_offset"> 32, 32 </vector2>
|
|
<rect2 name="2/region"> 64, 64, 64, 64 </rect2>
|
|
<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/tex_offset"> 0, 0 </vector2>
|
|
<vector2 name="3/shape_offset"> 64, 32 </vector2>
|
|
<rect2 name="3/region"> 320, 128, 128, 64 </rect2>
|
|
<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/tex_offset"> 0, 0 </vector2>
|
|
<vector2 name="4/shape_offset"> 32, 32 </vector2>
|
|
<rect2 name="4/region"> 64, 128, 64, 64 </rect2>
|
|
<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/tex_offset"> 0, 0 </vector2>
|
|
<vector2 name="5/shape_offset"> 32, 32 </vector2>
|
|
<rect2 name="5/region"> 192, 192, 64, 64 </rect2>
|
|
<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/tex_offset"> 0, 0 </vector2>
|
|
<vector2 name="6/shape_offset"> 32, 32 </vector2>
|
|
<rect2 name="6/region"> 256, 192, 64, 64 </rect2>
|
|
<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/tex_offset"> 0, 0 </vector2>
|
|
<vector2 name="7/shape_offset"> 0, 0 </vector2>
|
|
<rect2 name="7/region"> 256, 128, 64, 64 </rect2>
|
|
<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/tex_offset"> 0, 0 </vector2>
|
|
<vector2 name="8/shape_offset"> 0, 0 </vector2>
|
|
<rect2 name="8/region"> 256, 64, 64, 64 </rect2>
|
|
<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/tex_offset"> 0, 0 </vector2>
|
|
<vector2 name="9/shape_offset"> 0, 0 </vector2>
|
|
<rect2 name="9/region"> 256, 0, 64, 64 </rect2>
|
|
<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/tex_offset"> 0, 0 </vector2>
|
|
<vector2 name="10/shape_offset"> 0, 0 </vector2>
|
|
<rect2 name="10/region"> 0, 64, 64, 64 </rect2>
|
|
<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/tex_offset"> 0, 0 </vector2>
|
|
<vector2 name="11/shape_offset"> 32, 32 </vector2>
|
|
<rect2 name="11/region"> 384, 64, 64, 64 </rect2>
|
|
<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/tex_offset"> 0, 0 </vector2>
|
|
<vector2 name="12/shape_offset"> 32, 64 </vector2>
|
|
<rect2 name="12/region"> 128, 128, 64, 128 </rect2>
|
|
<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/tex_offset"> 0, 0 </vector2>
|
|
<vector2 name="13/shape_offset"> 32, 32 </vector2>
|
|
<rect2 name="13/region"> 448, 64, 64, 64 </rect2>
|
|
<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> |