「マップ定義案(ver.090206)」の編集履歴(バックアップ)一覧に戻る

マップ定義案(ver.090206) - (2009/02/06 (金) 19:50:59) の編集履歴(バックアップ)


キャラクター定義をするための構文。
たぶんこのままので行くと思います。

ちなみに、定義データをそのままテキストベースで置くわけではないので注意が必要です。
あくまで、定義をするための方法のひとつであり、実際に置くときは変換が必要です。

説明は一切無いので適当に察してください。

<?xml version="1.0" encoding="UTF-8" ?>
<map id="test" name="テスト部屋" area="deploy_rooms mezumona" library="test.zip">
    <extend>
        <!-- 以下省略すると無効化 -->
        <!-- <radio double="false" video="false" /> -->
        <!-- 以下省略すると有効化 -->
        <-- <unwerewolfble /> -->
    </extend>

    <material>
        <item id="chair_0" src="chair_0.swf" />
    </material>

    <spot teleport="spot_0 spot_1">
        <point id="spot_0" x="0" y="0" dir="right" />
        <point id="spot_1" x="3" y="3" dir="left" />
    </spot>

    <effect>
        <default></default>
        <template id="put_chair_0">
            <object layer="under" id="chair_0" />
        </template>
        <template id="warp_spot_0">
            <warp to="rula_0" />
        </template>
    </effect>

    <ground width="5" height="5" move_x="40" move_y="20" speed="normal">
        <x point="0">
            <y point="0">
                <!-- effectに定義しなくても一応できる -->
                <effect type="come">
                    <warp to="rula_1" />
                </effect>
            </y>
        </x>
        <x point="2">
            <y point="1" come="put_chair_0" />
            <y point="3" come="put_chair_0" />
        </x>
        <x point="4">
            <y point="4" come="warp_spot_0" />
        </x>
    </groud>
</map>
目安箱バナー