<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<snippet
    attachedevent="false"
    class="scripts.Design_0_0_JumpandRunMovement"
    classname="scripts.Design_0_0_JumpandRunMovement"
    desc="Allows the actor to run and jump while on the ground."
    description="Allows the actor to run and jump while on the ground."
    design="true"
    drawOrder="0"
    id="0"
    name="Jump and Run Movement"
    oid="-1"
    package="scripts"
    shared="false"
    type="actor">
    <actor
        default="thisactor"
        defaultValue="thisactor"
        desc=""
        dropdown=""
        fullname="Actor"
        hidden="true"
        id="2147483647"
        name="actor"
        order="0"/>
    <number
        default="15.0"
        defaultValue="15.0"
        desc="The maximum speed at which the actor can run."
        dropdown=""
        fullname="Maximum Running Speed"
        hidden="false"
        id="11"
        name="_MaximumRunningSpeed"
        order="13"/>
    <control
        default=""
        defaultValue=""
        desc=""
        dropdown=""
        fullname="Left Control"
        hidden="false"
        id="33"
        name="_LeftControl"
        order="9"/>
    <control
        default=""
        defaultValue=""
        desc=""
        dropdown=""
        fullname="Right Control"
        hidden="false"
        id="34"
        name="_RightControl"
        order="10"/>
    <number
        default="0.0"
        defaultValue="0.0"
        desc=""
        dropdown=""
        fullname="Move"
        hidden="true"
        id="37"
        name="_Move"
        order="1"/>
    <boolean
        default="true"
        defaultValue="true"
        desc="If selected, the control attributes will be used to control the movement.&lt;br /&gt;&#10;If unselected, the control attributes are ignored and the movement can be controlled by triggering custom events. &#10;Trigger the events &lt;var&gt;MoveLeft&lt;/var&gt;, &lt;var&gt;MoveRight&lt;/var&gt;, or &lt;var&gt;Jump&lt;/var&gt; to make the actor move as if the keys were pressed."
        dropdown=""
        fullname="Use Controls"
        hidden="false"
        id="38"
        name="_UseControls"
        order="8"/>
    <control
        default=""
        defaultValue=""
        desc=""
        dropdown=""
        fullname="Jump Control"
        hidden="false"
        id="41"
        name="_JumpControl"
        order="11"/>
    <boolean
        default="false"
        defaultValue="false"
        desc=""
        dropdown=""
        fullname="Jump"
        hidden="true"
        id="42"
        name="_Jump"
        order="2"/>
    <boolean
        default="false"
        defaultValue="false"
        desc=""
        dropdown=""
        fullname="On Ground"
        hidden="true"
        id="43"
        name="_OnGround"
        order="5"/>
    <number
        default="25.0"
        defaultValue="25.0"
        desc="The force used for jumping."
        dropdown=""
        fullname="Jumping Force"
        hidden="false"
        id="45"
        name="_JumpingForce"
        order="14"/>
    <animation
        default=""
        defaultValue=""
        desc=""
        dropdown=""
        fullname="Run Right Animation"
        hidden="false"
        id="47"
        name="_RunRightAnimation"
        order="20"/>
    <animation
        default=""
        defaultValue=""
        desc=""
        dropdown=""
        fullname="Run Left Animation"
        hidden="false"
        id="48"
        name="_RunLeftAnimation"
        order="19"/>
    <animation
        default=""
        defaultValue=""
        desc=""
        dropdown=""
        fullname="Idle Right Animation"
        hidden="false"
        id="49"
        name="_IdleRightAnimation"
        order="18"/>
    <animation
        default=""
        defaultValue=""
        desc=""
        dropdown=""
        fullname="Idle Left Animation"
        hidden="false"
        id="50"
        name="_IdleLeftAnimation"
        order="17"/>
    <boolean
        default="false"
        defaultValue="false"
        desc=""
        dropdown=""
        fullname="Jumping"
        hidden="true"
        id="52"
        name="_Jumping"
        order="6"/>
    <animation
        default=""
        defaultValue=""
        desc=""
        dropdown=""
        fullname="Jump Right Animation"
        hidden="false"
        id="53"
        name="_JumpRightAnimation"
        order="22"/>
    <animation
        default=""
        defaultValue=""
        desc=""
        dropdown=""
        fullname="Jump Left Animation"
        hidden="false"
        id="54"
        name="_JumpLeftAnimation"
        order="21"/>
    <boolean
        default="false"
        defaultValue="false"
        desc=""
        dropdown=""
        fullname="Facing Left"
        hidden="true"
        id="55"
        name="_FacingLeft"
        order="7"/>
    <boolean
        default="false"
        defaultValue="false"
        desc="If selected, use the &lt;var&gt;Jump&lt;/var&gt; animations while falling, otherwise use the &lt;var&gt;Idle&lt;/var&gt; animations."
        dropdown=""
        fullname="Jump Animation When Falling"
        hidden="false"
        id="56"
        name="_JumpAnimationWhenFalling"
        order="23"/>
    <boolean
        default="false"
        defaultValue="false"
        desc=""
        dropdown=""
        fullname="Jump Higher"
        hidden="true"
        id="57"
        name="_JumpHigher"
        order="4"/>
    <boolean
        default="false"
        defaultValue="false"
        desc=""
        dropdown=""
        fullname="Was Jump"
        hidden="true"
        id="58"
        name="_WasJump"
        order="3"/>
    <boolean
        default="false"
        defaultValue="false"
        desc="If selected, the jumping height will depend on how long the &lt;var&gt;Jump&lt;/var&gt; key is pressed."
        dropdown=""
        fullname="Variable Jump"
        hidden="false"
        id="60"
        name="_VariableJump"
        order="15"/>
    <number
        default="0.2"
        defaultValue="0.2"
        desc="Holding down the jump key longer than this will not make the actor jump higher. Only used if &lt;var&gt;Variable Jump&lt;/var&gt; is selected."
        dropdown=""
        fullname="Variable Jump Duration"
        hidden="false"
        id="62"
        name="_VariableJumpDuration"
        order="16"/>
    <number
        default="50.0"
        defaultValue="50.0"
        desc="The force used for running."
        dropdown=""
        fullname="Running Force"
        hidden="false"
        id="63"
        name="_RunningForce"
        order="12"/>
    <blocks/>
    <events>
        <event
            displayName="Updated"
            enabled="true"
            id="3"
            name="step"
            order="3"
            repeats="true"/>
        <event
            displayName="Custom Event"
            enabled="true"
            id="4"
            name="event-custom"
            order="5"
            repeats="true"/>
        <event
            displayName="Custom Event"
            enabled="true"
            id="5"
            name="event-custom"
            order="6"
            repeats="true"/>
        <event
            displayName="Custom Event"
            enabled="true"
            id="7"
            name="event-custom"
            order="7"
            repeats="true"/>
        <event
            displayName="Actor - Any"
            enabled="true"
            id="8"
            name="collide"
            order="4"
            repeats="true"/>
    </events>
</snippet>
