夕凪オンラインまとめWiki

キャラ定義案(ver.090204)

最終更新:

mezu01

- view
だれでも歓迎! 編集
キャラクター定義をするための構文。
たぶんこのままで行くと思います。

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

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

<?xml version="1.0" encoding="UTF-8" ?>
<character id="giko" name="ギコ" pass="false" library="giko.zip">
    <animation>
        <theme id="default">
            <act id="stand">
                <up>
                    <img src="default/stand/up.swf" />
                </up>
                <right>
                    <img src="default/stand/right.swf" />
                </right>
                <down>
                    <img src="default/stand/right.swf" h_mirror="true" />
                </down>
                <left>
                    <img src="default/stand/up.swf" h_mirror="true" />
                </left>
            </act>
            <act id="sit">
                <up>
                    <img src="default/sit/up.swf" />
                </up>
                <right>
                    <img src="default/sit/right.swf" />
                </right>
                <down>
                    <img src="default/sit/right.swf" h_mirror="true" />
                </down>
                <left>
                    <img src="default/sit/up.swf" h_mirror="true" />
                </left>
            </act>
            <act id="walk">
                <up>
                    <img src="default/walk/up_0.swf" />
                    <img src="default/walk/up_1.swf" />
                </up>
                <right>
                    <img src="default/walk/right_0.swf" />
                    <img src="default/walk/right_1.swf" />
                </right>
                <down>
                    <img src="default/walk/right_1.swf" h_mirror="true" />
                    <img src="default/walk/right_0.swf" h_mirror="true" />
                </down>
                <left>
                    <img src="default/walk/up_1.swf" h_mirror="true" />
                    <img src="default/walk/up_0.swf" h_mirror="true" />
                </left>
            </act>
        </theme>
        <theme id="werewolf">
            <act id="stand">
                <up>
                    <img src="werewolf/stand/up.swf" />
                </up>
                <right>
                    <img src="werewolf/stand/right.swf" />
                </right>
                <down>
                    <img src="werewolf/stand/right.swf" h_mirror="true" />
                </down>
                <left>
                    <img src="werewolf/stand/up.swf" h_mirror="true" />
                </left>
            </act>
            <act id="sit">
                <up>
                    <img src="werewolf/sit/up.swf" />
                </up>
                <right>
                    <img src="werewolf/sit/right.swf" />
                </right>
                <down>
                    <img src="werewolf/sit/right.swf" h_mirror="true" />
                </down>
                <left>
                    <img src="werewolf/sit/up.swf" h_mirror="true" />
                </left>
            </act>
            <act id="walk">
                <up>
                    <img src="werewolf/walk/up_0.swf" />
                    <img src="werewolf/walk/up_1.swf" />
                </up>
                <right>
                    <img src="werewolf/walk/right_0.swf" />
                    <img src="werewolf/walk/right_1.swf" />
                </right>
                <down>
                    <img src="werewolf/walk/right_1.swf" h_mirror="true" />
                    <img src="werewolf/walk/right_0.swf" h_mirror="true" />
                </down>
                <left>
                    <img src="werewolf/walk/up_1.swf" h_mirror="true" />
                    <img src="werewolf/walk/up_0.swf" h_mirror="true" />
                </left>
            </act>
            <act id="stand_dead">
                <up>
                    <img src="werewolf/stand_dead/up.swf" />
                </up>
                <right>
                    <img src="werewolf/stand_dead/right.swf" />
                </right>
                <down>
                    <img src="werewolf/stand_dead/right.swf" h_mirror="true" />
                </down>
                <left>
                    <img src="werewolf/stand_dead/up.swf" h_mirror="true" />
                </left>
            </act>
            <act id="sit_dead">
                <up>
                    <img src="werewolf/sit_dead/up.swf" />
                </up>
                <right>
                    <img src="werewolf/sit_dead/right.swf" />
                </right>
                <down>
                    <img src="werewolf/sit_dead/right.swf" h_mirror="true" />
                </down>
                <left>
                    <img src="werewolf/sit_dead/up.swf" h_mirror="true" />
                </left>
            </act>
            <act id="walk_dead">
                <up>
                    <img src="werewolf/walk_dead/up_0.swf" />
                    <img src="werewolf/walk_dead/up_1.swf" />
                </up>
                <right>
                    <img src="werewolf/walk_dead/right_0.swf" />
                    <img src="werewolf/walk_dead/right_1.swf" />
                </right>
                <down>
                    <img src="werewolf/walk_dead/right_1.swf" h_mirror="true" />
                    <img src="werewolf/walk_dead/right_0.swf" h_mirror="true" />
                </down>
                <left>
                    <img src="werewolf/walk_dead/up_1.swf" h_mirror="true" />
                    <img src="werewolf/walk_dead/up_0.swf" h_mirror="true" />
                </left>
            </act>
        </theme>
    </animation>
</character>

よく見ている人はわかると思うけど、結局何回も変えていてすみません。
DTD的に結局この形に収まりました。

タグ:

仕様案 最終稿
+ タグ編集
  • タグ:
  • 仕様案
  • 最終稿

このサイトはreCAPTCHAによって保護されており、Googleの プライバシーポリシー利用規約 が適用されます。

目安箱バナー