1
<item class="slope" category="block" box_color="#FFCD12">
1
<?xml version="1.0" encoding="utf-8"?>
2
<item xmlns="http://www.gamned.org/bear/schema/0.5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.gamned.org/bear/schema/0.5 http://www.gamned.org/bear/schema/0.5/item-description.xsd" class="bear::slope" category="block" box_color="#FFCD12" url="http://www.gamned.org/wiki/index.php/slope">
3
<class>base_item</class>
4
<class>basic_renderable_item</class>
5
<class>item_with_z_shift</class>
6
<class>item_with_friction</class>
7
<class>item_with_decoration</class>
8
<class>item_with_restricted_z_collision</class>
4
<class>bear::base_item</class>
5
<class>bear::basic_renderable_item</class>
6
<class>bear::item_with_z_shift</class>
7
<class>bear::item_with_friction</class>
8
<class>bear::item_with_decoration</class>
9
<class>bear::item_with_restricted_z_collision</class>
11
<description>A ground that is not horizontal.</description>
11
13
<field type="real" name="slope.steepness" required="true">
12
14
<description>The distance on the Y-coordinate between the left edge and
13
15
the right edge. Cannot be equal to zero.</description>
15
17
<field type="real" name="slope.margin">
16
<description>An extra margin above the slope.</description>
18
<description>An extra margin above the slope, where the
19
collisions will also be detected.</description>
17
20
<default_value>0</default_value>
19
22
<field type="real" name="slope.tangent_friction">