Skip to content

Instantly share code, notes, and snippets.

@deflis
Created June 8, 2010 04:07
Show Gist options
  • Save deflis/429601 to your computer and use it in GitHub Desktop.
Save deflis/429601 to your computer and use it in GitHub Desktop.

Revisions

  1. deflis revised this gist Jun 18, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.xml
    Original file line number Diff line number Diff line change
    @@ -27,7 +27,7 @@
    こうすれば改行されるんです。
    </text>
    <command>
    <sound se="ぱんぱかぱーん" />
    <sound se="ぱんぱかぱーん" waitse="true" />
    <character name="XNA子" image="どや顔" />
    <character name="GTML子" image="普通" />
    </command>
  2. deflis revised this gist Jun 18, 2011. 1 changed file with 35 additions and 33 deletions.
    68 changes: 35 additions & 33 deletions gistfile1.xml
    Original file line number Diff line number Diff line change
    @@ -1,37 +1,39 @@
    <?xml version="1.0" encoding="UTF-8"?>
    <gtml>
    <!-- Game Text Markup Language でっちあげサンプル -->
    <command><!-- TODO:imageやnameは別途定義するファイルを用意する -->
    <background image="学校" />
    <character name="XNA子" align="center" image="普通" />
    <character name="GTML子" align="left" image="普通" />
    <music title="日常" />
    </command>
    <animation mode="move">
    <character name="XNA子" align="right" />
    </animation>
    <command>
    <character name="XNA子" image="赤面" />
    </command>
    <text name="XNA子" voice="シーン1-1">
    これはサンプルテキストです。
    </text>
    <animation mode="trans" trans="crossfade">
    <background image="校舎A" />
    <character name="XNA子" image="普通" />
    <character name="GTML子" image="赤面" />
    </animation>
    <text name="GTML子" voice="シーン1-2">
    GTMLのでっちあげサンプルです。<br />
    こうすれば改行されるんです。
    </text>
    <command>
    <sound se="ぱんぱかぱーん" />
    <character name="XNA子" image="どや顔" />
    <character name="GTML子" image="普通" />
    </command>
    <text name="XNA子" voice="シーン1-3">
    ね?<wait /><br /><!-- waitはtime=oもしくはtime属性なしの場合、ユーザー入力を待ちます。 -->
    簡<wait time="1" />単<wait time="1" />で<wait time="1" />し<wait time="1" />ょ<wait time="1" />う<wait time="1" />?
    </text>
    <section label="start">
    <command><!-- TODO:imageやnameは別途定義するファイルを用意する -->
    <background image="学校" />
    <character name="XNA子" align="center" image="普通" />
    <character name="GTML子" align="left" image="普通" />
    <music title="日常" />
    </command>
    <animation mode="move">
    <character name="XNA子" align="right" />
    </animation>
    <command>
    <character name="XNA子" image="赤面" />
    </command>
    <text name="XNA子" voice="シーン1-1">
    これはサンプルテキストです。
    </text>
    <animation mode="trans" trans="crossfade">
    <background image="校舎A" />
    <character name="XNA子" image="普通" />
    <character name="GTML子" image="赤面" />
    </animation>
    <text name="GTML子" voice="シーン1-2">
    GTMLのでっちあげサンプルです。<br />
    こうすれば改行されるんです。
    </text>
    <command>
    <sound se="ぱんぱかぱーん" />
    <character name="XNA子" image="どや顔" />
    <character name="GTML子" image="普通" />
    </command>
    <text name="XNA子" voice="シーン1-3">
    ね?<wait /><br /><!-- waitはtime=oもしくはtime属性なしの場合、ユーザー入力を待ちます。 -->
    簡<wait time="1" />単<wait time="1" />で<wait time="1" />し<wait time="1" />ょ<wait time="1" />う<wait time="1" />?
    </text>
    </section>
    </gtml>
  3. deflis revised this gist Jun 18, 2011. 1 changed file with 11 additions and 6 deletions.
    17 changes: 11 additions & 6 deletions gistfile1.xml
    Original file line number Diff line number Diff line change
    @@ -7,25 +7,30 @@
    <character name="GTML子" align="left" image="普通" />
    <music title="日常" />
    </command>
    <text name="XNA子" voice="シーン1-1">
    <animation mode="move">
    <character name="XNA子" align="right" />
    </animation>
    <command>
    <character name="XNA子" image="赤面" />
    </command>
    <text name="XNA子" voice="シーン1-1">
    これはサンプルテキストです。
    </text>
    <animation trans="crossfade">
    <animation mode="trans" trans="crossfade">
    <background image="校舎A" />
    </animation>
    <text name="GTML子" voice="シーン1-2">
    <character name="XNA子" image="普通" />
    <character name="GTML子" image="赤面" />
    </animation>
    <text name="GTML子" voice="シーン1-2">
    GTMLのでっちあげサンプルです。<br />
    こうすれば改行されるんです。
    </text>
    <command>
    <sound se="ぱんぱかぱーん" />
    </command>
    <text name="XNA子" voice="シーン1-3">
    <character name="XNA子" image="どや顔" />
    <character name="GTML子" image="普通" />
    </command>
    <text name="XNA子" voice="シーン1-3">
    ね?<wait /><br /><!-- waitはtime=oもしくはtime属性なしの場合、ユーザー入力を待ちます。 -->
    簡<wait time="1" />単<wait time="1" />で<wait time="1" />し<wait time="1" />ょ<wait time="1" />う<wait time="1" />?
    </text>
  4. deflis revised this gist Jun 18, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.xml
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,7 @@
    <character name="XNA子" image="赤面" />
    これはサンプルテキストです。
    </text>
    <animation>
    <animation trans="crossfade">
    <background image="校舎A" />
    </animation>
    <text name="GTML子" voice="シーン1-2">
  5. deflis revised this gist Jun 18, 2011. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion gistfile1.xml
    Original file line number Diff line number Diff line change
    @@ -20,7 +20,9 @@
    GTMLのでっちあげサンプルです。<br />
    こうすれば改行されるんです。
    </text>
    <sound se="ぱんぱかぱーん" />
    <command>
    <sound se="ぱんぱかぱーん" />
    </command>
    <text name="XNA子" voice="シーン1-3">
    <character name="XNA子" image="どや顔" />
    <character name="GTML子" image="普通" />
  6. deflis revised this gist Jun 18, 2011. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.xml
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    <?xml version="1.0" encoding="UTF-8"?>
    <gtml>
    <!-- Game Text Markup Language でっちあげサンプル -->
    <command>
    <command><!-- TODO:imageやnameは別途定義するファイルを用意する -->
    <background image="学校" />
    <character name="XNA子" align="center" image="普通" />
    <character name="GTML子" align="left" image="普通" />
    @@ -24,7 +24,7 @@
    <text name="XNA子" voice="シーン1-3">
    <character name="XNA子" image="どや顔" />
    <character name="GTML子" image="普通" />
    ね?<wait /><br />
    ね?<wait /><br /><!-- waitはtime=oもしくはtime属性なしの場合、ユーザー入力を待ちます。 -->
    簡<wait time="1" />単<wait time="1" />で<wait time="1" />し<wait time="1" />ょ<wait time="1" />う<wait time="1" />?
    </text>
    </gtml>
  7. deflis revised this gist Jun 18, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.xml
    Original file line number Diff line number Diff line change
    @@ -20,7 +20,7 @@
    GTMLのでっちあげサンプルです。<br />
    こうすれば改行されるんです。
    </text>
    <sound se="ぱんぱかぱーん">
    <sound se="ぱんぱかぱーん" />
    <text name="XNA子" voice="シーン1-3">
    <character name="XNA子" image="どや顔" />
    <character name="GTML子" image="普通" />
  8. deflis revised this gist Jun 18, 2011. 1 changed file with 9 additions and 10 deletions.
    19 changes: 9 additions & 10 deletions gistfile1.xml
    Original file line number Diff line number Diff line change
    @@ -3,29 +3,28 @@
    <!-- Game Text Markup Language でっちあげサンプル -->
    <command>
    <background image="学校" />
    <!-- 別ファイルにて名前定義?目パチとかもしたい。 -->
    <foreground character="XNA子" align="center" image="普通" />
    <foreground character="GTML子" align="left" image="普通" />
    <!-- audioタグのサポート型式がブラウザによってまちまちなので拡張子まで入れない? -->
    <music src="music1" />
    <character name="XNA子" align="center" image="普通" />
    <character name="GTML子" align="left" image="普通" />
    <music title="日常" />
    </command>
    <text name="XNA子">
    <text name="XNA子" voice="シーン1-1">
    <character name="XNA子" image="赤面" />
    これはサンプルテキストです。
    </text>
    <animation>
    <background image="校舎A" />
    </animation>
    <text name="GTML子">
    <text name="GTML子" voice="シーン1-2">
    <character name="XNA子" image="普通" />
    <character name="GTML子" image="赤面" />
    GTMLのでっちあげサンプルです。<br />
    こうすれば改行されるんです。
    </text>
    <text name="XNA子">
    <sound se="ぱんぱかぱーん">
    <text name="XNA子" voice="シーン1-3">
    <character name="XNA子" image="どや顔" />
    <character name="GTML子" image="普通" />
    ね?<br />
    簡単でしょう
    ね?<wait /><br />
    簡<wait time="1" />単<wait time="1" />で<wait time="1" />し<wait time="1" />ょ<wait time="1" />う<wait time="1" />
    </text>
    </gtml>
  9. deflis revised this gist Jun 18, 2011. 1 changed file with 22 additions and 9 deletions.
    31 changes: 22 additions & 9 deletions gistfile1.xml
    Original file line number Diff line number Diff line change
    @@ -2,17 +2,30 @@
    <gtml>
    <!-- Game Text Markup Language でっちあげサンプル -->
    <command>
    <background src="xxx" />
    <background image="学校" />
    <!-- 別ファイルにて名前定義?目パチとかもしたい。 -->
    <foreground src="chara1" no="1" />
    <foreground src="chara2" no="2" />
    <foreground character="XNA子" align="center" image="普通" />
    <foreground character="GTML子" align="left" image="普通" />
    <!-- audioタグのサポート型式がブラウザによってまちまちなので拡張子まで入れない? -->
    <music src="music1" />
    </command>
    <text name="xxx"><!-- name属性で名前とか入力できるようにしたい -->
    <![CDATA[これはサンプルテキストです。]>
    <text>
    <text name="xxx"><!-- name属性で名前とか入力できるようにしたい -->
    <![CDATA[GTMLのでっちあげサンプルです。]>
    <text>
    <text name="XNA子">
    <character name="XNA子" image="赤面" />
    これはサンプルテキストです。
    </text>
    <animation>
    <background image="校舎A" />
    </animation>
    <text name="GTML子">
    <character name="XNA子" image="普通" />
    <character name="GTML子" image="赤面" />
    GTMLのでっちあげサンプルです。<br />
    こうすれば改行されるんです。
    </text>
    <text name="XNA子">
    <character name="XNA子" image="どや顔" />
    <character name="GTML子" image="普通" />
    ね?<br />
    簡単でしょう?
    </text>
    </gtml>
  10. deflis created this gist Jun 8, 2010.
    18 changes: 18 additions & 0 deletions gistfile1.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    <?xml version="1.0" encoding="UTF-8"?>
    <gtml>
    <!-- Game Text Markup Language でっちあげサンプル -->
    <command>
    <background src="xxx" />
    <!-- 別ファイルにて名前定義?目パチとかもしたい。 -->
    <foreground src="chara1" no="1" />
    <foreground src="chara2" no="2" />
    <!-- audioタグのサポート型式がブラウザによってまちまちなので拡張子まで入れない? -->
    <music src="music1" />
    </command>
    <text name="xxx"><!-- name属性で名前とか入力できるようにしたい -->
    <![CDATA[これはサンプルテキストです。]>
    <text>
    <text name="xxx"><!-- name属性で名前とか入力できるようにしたい -->
    <![CDATA[GTMLのでっちあげサンプルです。]>
    <text>
    </gtml>