<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<snippet
    attachedevent="false"
    class="scripts.Design_0_0_GridCameraFollow"
    classname="scripts.Design_0_0_GridCameraFollow"
    desc="Attach to an actor to make the camera follow it based on a &quot;grid&quot; that you specify the size of, only moving if the actor moves into another grid &quot;box&quot;."
    description="Attach to an actor to make the camera follow it based on a &quot;grid&quot; that you specify the size of, only moving if the actor moves into another grid &quot;box&quot;."
    design="true"
    drawOrder="0"
    id="0"
    name="Grid Camera Follow"
    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="0.0"
        defaultValue="0.0"
        desc="INTERNAL ATTRIBUTE: The x-position that the camera should be."
        dropdown=""
        fullname="intendedCameraX"
        hidden="true"
        id="1"
        name="_intendedCameraX"
        order="7"/>
    <number
        default="32.0"
        defaultValue="32.0"
        desc="The width of the grid for the camera to follow."
        dropdown=""
        fullname="Grid Width"
        hidden="false"
        id="3"
        name="_GridWidth"
        order="1"/>
    <number
        default="0.0"
        defaultValue="0.0"
        desc="INTERNAL ATTRIBUTE: The y-position that the camera should be."
        dropdown=""
        fullname="intendedCameraY"
        hidden="true"
        id="4"
        name="_intendedCameraY"
        order="8"/>
    <number
        default="32.0"
        defaultValue="32.0"
        desc="The height of the grid for the camera to follow."
        dropdown=""
        fullname="Grid Height"
        hidden="false"
        id="5"
        name="_GridHeight"
        order="2"/>
    <number
        default="0.0"
        defaultValue="0.0"
        desc="INTERNAL ATTRIBUTE: The current x-position of the camera."
        dropdown=""
        fullname="currentCameraX"
        hidden="true"
        id="6"
        name="_currentCameraX"
        order="5"/>
    <number
        default="0.0"
        defaultValue="0.0"
        desc="INTERNAL ATTRIBUTE: The current y-position of the camera."
        dropdown=""
        fullname="currentCameraY"
        hidden="true"
        id="8"
        name="_currentCameraY"
        order="6"/>
    <number
        default="0.0"
        defaultValue="0.0"
        desc="The speed, in pixels per frame, that the view should scroll by when moving from box to box. Leave as 0 to indicate an instant jump."
        dropdown=""
        fullname="Scroll Speed"
        hidden="false"
        id="9"
        name="_ScrollSpeed"
        order="4"/>
    <blocks/>
    <events>
        <event
            displayName="Updated"
            enabled="true"
            id="1"
            name="step"
            order="2"
            repeats="true"/>
        <event
            displayName="Created"
            enabled="true"
            id="2"
            name="init"
            order="1"
            repeats="true"/>
    </events>
</snippet>
