<?xml version="1.0" encoding="UTF-8" ?>
<feed xml:lang="ja" xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:thr="http://purl.org/syndication/thread/1.0">
  <title type="text">ティラノスクリプトの覚え書き</title>
  <subtitle type="html">ティラノスクリプト初心者がつまずいた点を忘れないように覚え書きをするブログ．掲示板からの引用も含みます</subtitle>
  <link rel="self" type="application/atom+xml" href="https://gaooo.blog.shinobi.jp/atom"/>
  <link rel="alternate" type="text/html" href="https://gaooo.blog.shinobi.jp/"/>
  <updated>2016-05-17T14:19:33+09:00</updated>
  <author><name>ｍ</name></author>
  <generator uri="//www.ninja.co.jp/blog/" version="0.9">忍者ブログ</generator>
  <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" />
  <entry>
    <id>gaooo.blog.shinobi.jp://entry/5</id>
    <link rel="alternate" type="text/html" href="https://gaooo.blog.shinobi.jp/%E5%9F%BA%E6%9C%AC/%E3%82%B2%E3%83%BC%E3%83%A0%E5%85%A8%E4%BD%93%E3%81%AE%E8%A8%AD%E5%AE%9A" />
    <published>2016-06-07T15:06:06+09:00</published> 
    <updated>2016-06-07T15:06:06+09:00</updated> 
    <category term="基本" label="基本" />
    <title>ゲーム全体の設定</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[[プロジェクトフォルダ]/data/system/Config.tjs<br />
<br />
特に重要な項目としては以下の様な設定がConfig.tjsで行えます<br />
<br />
・タイトルの設定（ブラウザやアプリのウィンドウに表示される）<br />
・projectID （同一ホストから複数ゲームを配信する場合、ここを一意にする必要があります）<br />
・ScreenRatio ゲーム画面を画面サイズに合わせて拡大するか、比率を保つかといった、画面調整に関する設定をおこないます<br />
・scWidth scHeight （画面サイズを設定します）<br />
・メニュー機能の表示や位置指定<br />
・バックログの最大ログ保持行数<br />
・通過記録の設定<br />
・デバック機能の有効化。リリース時は必ずオフにする設定を行わなければなりません。<br />
・禁則処理の設定<br />
などなど<br />
<br />
<a href="http://tyrano.jp/adv/next/tips" title="">http://tyrano.jp/adv/next/tips<br />
</a><br />
■初期設定では・・・<br />
画面サイズ：960x640<br />
サウンド形式：ogg<br />
　※すべてのブラウザに対応させるためには、ogg と aac の両ファイルが必要<br />
<a href="http://tyrano.jp/adv/next/tips" title=""><br />
</a>]]> 
    </content>
    <author>
            <name>ｍ</name>
        </author>
  </entry>
  <entry>
    <id>gaooo.blog.shinobi.jp://entry/4</id>
    <link rel="alternate" type="text/html" href="https://gaooo.blog.shinobi.jp/%E6%9C%AA%E9%81%B8%E6%8A%9E/%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3" />
    <published>2016-05-27T13:16:26+09:00</published> 
    <updated>2016-05-27T13:16:26+09:00</updated> 
    <category term="未選択" label="未選択" />
    <title>プラグイン</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[■オート機能を追加するプラグイン<br />
<a href="http://kaidan-game.jimdo.com/2014/09/20/%E3%82%AA%E3%83%BC%E3%83%88%E6%A9%9F%E8%83%BD%E3%82%92%E8%BF%BD%E5%8A%A0%E3%81%99%E3%82%8B%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3/" title="">http://kaidan-game.jimdo.com/2014/09/20/...</a><br />
<br />
■キーボード操作対応プラグイン<br />
<a href="http://tyrano.jp/plugins/detail/2" title="">http://tyrano.jp/plugins/detail/2</a><br />
ティラノVer2.81 以降に組み込み済み]]> 
    </content>
    <author>
            <name>ｍ</name>
        </author>
  </entry>
  <entry>
    <id>gaooo.blog.shinobi.jp://entry/3</id>
    <link rel="alternate" type="text/html" href="https://gaooo.blog.shinobi.jp/%E6%9C%AA%E9%81%B8%E6%8A%9E/%E5%B8%B8%E6%99%82%E3%83%AA%E3%83%B3%E3%82%AF%E3%82%92%E8%A1%A8%E7%A4%BA%E3%81%95%E3%81%9B%E3%82%8B" />
    <published>2016-05-27T13:06:18+09:00</published> 
    <updated>2016-05-27T13:06:18+09:00</updated> 
    <category term="未選択" label="未選択" />
    <title>常時リンクを表示させる</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[■ブラウザゲームの場合<br />
[html]<br />
&lt;a href="<a href="http://yahoo.co.jp%22" target="_blank">http://yahoo.co.jp"</a> target="_blank"&gt;テスト&lt;/a&gt;<br />
[endhtml]<br />
<br />
<br />
■PCゲームの場合<br />
[html]<br />
&lt;a id="link" href="javascript:void(0)" &gt;テスト&lt;/a&gt;<br />
[endhtml]<br />
<br />
[iscript]<br />
$("#link").click(function(){<br />
var gui = require('nw.gui');<br />
gui.Shell.openExternal("<a href="http://yahoo.co.jp%22" target="_blank">http://yahoo.co.jp"</a>);<br />
});<br />
[endscript]]]> 
    </content>
    <author>
            <name>ｍ</name>
        </author>
  </entry>
  <entry>
    <id>gaooo.blog.shinobi.jp://entry/2</id>
    <link rel="alternate" type="text/html" href="https://gaooo.blog.shinobi.jp/%E3%83%A1%E3%83%83%E3%82%BB%E3%83%BC%E3%82%B8%E3%82%A6%E3%82%A3%E3%83%B3%E3%83%89%E3%82%A6/%E3%83%A1%E3%83%83%E3%82%BB%E3%83%BC%E3%82%B8%E3%82%A6%E3%82%A4%E3%83%B3%E3%83%89%E3%82%A6%E3%81%AE%E7%94%BB%E5%83%8F%E3%82%92%E5%A4%89%E3%81%88%E3%82%8B" />
    <published>2016-05-17T01:00:00+09:00</published> 
    <updated>2016-05-17T01:00:00+09:00</updated> 
    <category term="メッセージウィンドウ" label="メッセージウィンドウ" />
    <title>メッセージウインドウの画像を変える</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[同一画面でメッセージウインドウが複数現れる場合は<br />
message0、message1、message2...としていく<br />
message0はデフォルトで可視の状態<br />
message1 は layopt タグ 等で visible=true としないと表示されないので注意。<br />
<br />
[current layer="message1"]<br />
[layopt layer=message1 visible=true]<br />
<code>[position layer=message1 frame=frame1.png 〜サイズ指定]<br />
<br />
<br />
※【current】操作対象のメッセージレイヤの指定<br />
操作対象とするメッセージレイヤを指定します。以後、文章や font タグでの文字属性の指定、l タグ等のクリック待ちなどは、このレイヤに対して行われます。</code><br />
<br />
<hr /><br />
一画面につきメッセージウインドウがひつとの場合は「message0」でOK<br />
マクロに登録しておいて呼び出すと楽<br />
　ex.一ストーリーごとにフレーム画像を変更<br />
　ex.キャラ毎にフレーム画像を変更<br />
<code></code><br />
<code>[macro name="frame1"]<br />
</code><code>[position layer=message0 frame=frame1.png 〜サイズ指定]<br />
[endmacro]<br />
</code><br />
<code>[macro name="frame2"]<br />
</code><code>[position layer=message0 frame=frame2.png 〜サイズ指定]<br />
[endmacro]<br />
</code><br />
<br />
]]> 
    </content>
    <author>
            <name>ｍ</name>
        </author>
  </entry>
  <entry>
    <id>gaooo.blog.shinobi.jp://entry/1</id>
    <link rel="alternate" type="text/html" href="https://gaooo.blog.shinobi.jp/%E3%83%A1%E3%83%83%E3%82%BB%E3%83%BC%E3%82%B8%E3%82%A6%E3%82%A3%E3%83%B3%E3%83%89%E3%82%A6/%E3%83%A1%E3%83%83%E3%82%BB%E3%83%BC%E3%82%B8%E3%82%A6%E3%82%A3%E3%83%B3%E3%83%89%E3%82%A6%E3%81%8B%E3%82%89%E6%96%87%E5%AD%97%E3%81%8C%E3%81%AF%E3%81%BF%E5%87%BA%E3%82%8B" />
    <published>2016-05-17T00:00:00+09:00</published> 
    <updated>2016-05-17T00:00:00+09:00</updated> 
    <category term="メッセージウィンドウ" label="メッセージウィンドウ" />
    <title>メッセージウィンドウから文字がはみ出る</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[[position width=600 height=340 top=80 ]<br />
[position layer=message0 page=fore frame="balloon00.png" margint="20" marginl="20" marginr="90" marginb="20"]<br />
<br />
のように<br />
メッセージウィンドウの大きさを指定してからマージンを指定すると大丈夫]]> 
    </content>
    <author>
            <name>ｍ</name>
        </author>
  </entry>
</feed>