<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>AIMS Headquarters</title>
	<atom:link href="http://aims.dna-softwares.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://aims.dna-softwares.com</link>
	<description>D.N.A.Softwares標準ゲームエンジンAIMSの配布とかサポートとか。</description>
	<lastBuildDate>Wed, 28 Jul 2010 06:20:37 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>A.I.M.S. ver.1.20公開</title>
		<link>http://aims.dna-softwares.com/?p=94</link>
		<comments>http://aims.dna-softwares.com/?p=94#comments</comments>
		<pubDate>Wed, 28 Jul 2010 06:19:36 +0000</pubDate>
		<dc:creator>ruw</dc:creator>
				<category><![CDATA[リリース]]></category>

		<guid isPermaLink="false">http://aims.dna-softwares.com/?p=94</guid>
		<description><![CDATA[AIMSのバージョン1.20を公開します。上のメニューバーのダウンロードページへどうぞ。
現在開発中の&#8221;群弾&#8221;で使用しているバージョンです。先のエントリーにあったMOVER_MOVETO_L以降の [...]]]></description>
			<content:encoded><![CDATA[<p>AIMSのバージョン1.20を公開します。上のメニューバーのダウンロードページへどうぞ。</p>
<p>現在開発中の&#8221;群弾&#8221;で使用しているバージョンです。先のエントリーにあったMOVER_MOVETO_L以降のMOVER定義が使用できるようになっています。MOVERの拡張以外にも色々機能が増えているのですが、追々エントリーとして説明していきます。</p>
]]></content:encoded>
			<wfw:commentRss>http://aims.dna-softwares.com/?feed=rss2&amp;p=94</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>アクターの当たり判定</title>
		<link>http://aims.dna-softwares.com/?p=85</link>
		<comments>http://aims.dna-softwares.com/?p=85#comments</comments>
		<pubDate>Tue, 27 Jul 2010 08:04:19 +0000</pubDate>
		<dc:creator>ruw</dc:creator>
				<category><![CDATA[チュートリアル]]></category>

		<guid isPermaLink="false">http://aims.dna-softwares.com/?p=85</guid>
		<description><![CDATA[アクターの当たり判定を行う場合、前準備として当たり判定を画像に設定する必要があります。

addGraphicHit(グラフィックハンドル, テクスチャのX座標, テクスチャのY座標, 当たり判定の幅, 当たり判定の高さ [...]]]></description>
			<content:encoded><![CDATA[<p>アクターの当たり判定を行う場合、前準備として当たり判定を画像に設定する必要があります。</p>
<ul>
<li>addGraphicHit(グラフィックハンドル, テクスチャのX座標, テクスチャのY座標, 当たり判定の幅, 当たり判定の高さ)</li>
</ul>
<p>この関数で、グラフィックの特定位置に当たり判定に使用する矩形を追加します。当たり判定矩形は最大16個まで設定できます。</p>
<p>当たり判定は「矩形同士が重なっているか？」で判定しています。<br />
重なっているかどうかを取得するには以下の関数を使用します。</p>
<ul>
<li>isHitActor([アクターハンドル],アクターハンドル)</li>
<li>getHitLayer([アクターハンドル],レイヤー番号)</li>
</ul>
<p>isHitActorは指定されたアクター同士が重なっているかどうかをboolean値として返します。<br />
getHitLayerは指定されたアクターに対して「指定レイヤー上で重なっているアクターのハンドル」をLuaのテーブルとして取得します。<br />
複数のアクターを相手に判定を取る場合、isHitActorで1対1の判定を複数取るよりは、getHitLayerでまとめて判定を取った方が高速になります。レイヤーを使ってアクターをうまく分けておくのがコツです。(STGなら自機と敵の弾は別のレイヤーに置くとか)</p>
]]></content:encoded>
			<wfw:commentRss>http://aims.dna-softwares.com/?feed=rss2&amp;p=85</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>createActor &amp; addMover</title>
		<link>http://aims.dna-softwares.com/?p=76</link>
		<comments>http://aims.dna-softwares.com/?p=76#comments</comments>
		<pubDate>Tue, 27 Jul 2010 06:55:47 +0000</pubDate>
		<dc:creator>ruw</dc:creator>
				<category><![CDATA[チュートリアル]]></category>

		<guid isPermaLink="false">http://aims.dna-softwares.com/?p=76</guid>
		<description><![CDATA[AIMSの動作の基本となる関数です。[]内の引数は省略できます。

アクターハンドル = createActor(グラフィックハンドル, 初期X座標, 初期Y座標[, 初期角度, 初期速度], 表示レイヤー番号[, クラ [...]]]></description>
			<content:encoded><![CDATA[<p>AIMSの動作の基本となる関数です。[]内の引数は省略できます。</p>
<ul>
<li>アクターハンドル = createActor(グラフィックハンドル, 初期X座標, 初期Y座標[, 初期角度, 初期速度], 表示レイヤー番号[, クラス名])</li>
<li>addMover(アクターハンドル, 開始時間, 継続時間, 動作命令[, 命令引数1[, 命令引数2[, 命令引数3]]])</li>
<li>clearMover(アクターハンドル)</li>
</ul>
<p>「createActor関数でアクターを作る」→「作ったアクターにaddMover関数で動きを与える」がAIMSにおけるキャラクタ制御の基本です。</p>
<p>addMoverで動作を操作するためには、createActorを実行したときに返ってくるアクターハンドル（number）を保存しておく必要があります。</p>
<p>開始時刻はその動作を開始する時刻(単位フレーム)です。この命令を呼んた直後を0として、指定したフレーム数だけ経過したら動作が始まります。継続時間は動作を続ける時間となります。</p>
<p>addMoverで指定できる動作命令は「<a href="http://spreadsheets.google.com/pub?key=0ArQPvzvtVq65dGdrRVV5R1prMks4WFp0dkR4RHF2LXc&amp;hl=ja&amp;single=true&amp;gid=2&amp;output=html" target="_blank">MOVER定義一覧</a>」のページを参考にしてください。<br />
（現在公開されている1.01ではMOVER_MOVETO_L以降の定義は実装されていません）</p>
<p>clearMover関数は登録されている動作命令（待機中のもの含む）を全て消去します。ただし、既に変更されてしまった値（速度・角度・透明度・カラーなど）は元に戻りません。</p>
<p><a href="http://aims.dna-softwares.com/wp-content/upload/sample3.zip">AIMS addMoverサンプル</a></p>
]]></content:encoded>
			<wfw:commentRss>http://aims.dna-softwares.com/?feed=rss2&amp;p=76</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>キーインプット</title>
		<link>http://aims.dna-softwares.com/?p=68</link>
		<comments>http://aims.dna-softwares.com/?p=68#comments</comments>
		<pubDate>Mon, 26 Jul 2010 19:35:08 +0000</pubDate>
		<dc:creator>ruw</dc:creator>
				<category><![CDATA[チュートリアル]]></category>

		<guid isPermaLink="false">http://aims.dna-softwares.com/?p=68</guid>
		<description><![CDATA[AIMSではキーの入力に以下の関数を使用します。[]内の引数は省略できます。

getJoyPressCount([ゲームパッドID,]キーID)
isJoyPressed([ゲームパッドID,]キーID)

キーIDは [...]]]></description>
			<content:encoded><![CDATA[<p>AIMSではキーの入力に以下の関数を使用します。[]内の引数は省略できます。</p>
<ul>
<li>getJoyPressCount([ゲームパッドID,]キーID)</li>
<li>isJoyPressed([ゲームパッドID,]キーID)</li>
</ul>
<p>キーIDはそれぞれ以下のようなものが定義されています。</p>
<ul>
<li>BUTTON_UP/BUTTON_DOWN/BUTTON_RIGHT/BUTTON_LEFT<br />
キーボード・USBゲームパッドの上下左右キー。</li>
<li>BUTTON_TRIG1～BUTTON_TRIGXX<br />
ゲームパッドのボタン。キーボードでは設定ファイルの記述に準拠します。</li>
</ul>
<p>getJoyPressCountはそのボタンが押されている時間(フレーム数)を、isJoyPressedは押されているかどうかのboolean値(trueかfalse)を、それぞれ返します。あるボタンが1秒間(60フレーム)押しっぱなしになっていたらgetJoyPressCountは60を返すという仕組みです。</p>
<p>サンプルの中で表示位置を移動するのに使っているaddMover関数は別のページで説明します。</p>
<p><a href="http://aims.dna-softwares.com/wp-content/upload/sample2.zip">AIMSキー入力サンプル</a></p>
]]></content:encoded>
			<wfw:commentRss>http://aims.dna-softwares.com/?feed=rss2&amp;p=68</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>画像を表示する</title>
		<link>http://aims.dna-softwares.com/?p=59</link>
		<comments>http://aims.dna-softwares.com/?p=59#comments</comments>
		<pubDate>Mon, 26 Jul 2010 18:47:06 +0000</pubDate>
		<dc:creator>ruw</dc:creator>
				<category><![CDATA[チュートリアル]]></category>

		<guid isPermaLink="false">http://aims.dna-softwares.com/?p=59</guid>
		<description><![CDATA[AIMSでは画像の表示には２段階の手続きが必要です。手続きとは

画像のロード：loadGraphic(AIMS.exeからの相対パス)
画像の表示：createActor(グラフィックハンドル, X座標, Y座標, レ [...]]]></description>
			<content:encoded><![CDATA[<p>AIMSでは画像の表示には２段階の手続きが必要です。手続きとは</p>
<ul>
<li>画像のロード：loadGraphic(AIMS.exeからの相対パス)</li>
<li>画像の表示：createActor(グラフィックハンドル, X座標, Y座標, レイヤー番号)</li>
</ul>
<p>これらの関数を用いて画像を読み込み、表示させます。</p>
<p>また、表示している画像は明示的に開放を行う必要があります。</p>
<ul>
<li>画像の消去：vanish(アクターハンドル)</li>
<li>画像リソースの開放：deleteGraphic(グラフィックハンドル)</li>
</ul>
<p>開放しない場合VGAのメモリに残り続けるため、メモリ不足になる可能性があります。</p>
<p>AIMSでは表示させた画像ひとつひとつを「アクター」と呼びます。<br />
正確には「画像を表示している」のではなく「アクターが画像を表示している」と言うのが正しい表現になります。</p>
<p><a href="http://aims.dna-softwares.com/wp-content/upload/sample1.zip">AIMS 画像表示サンプル</a></p>
]]></content:encoded>
			<wfw:commentRss>http://aims.dna-softwares.com/?feed=rss2&amp;p=59</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIMSの起動と終了</title>
		<link>http://aims.dna-softwares.com/?p=57</link>
		<comments>http://aims.dna-softwares.com/?p=57#comments</comments>
		<pubDate>Mon, 26 Jul 2010 18:26:20 +0000</pubDate>
		<dc:creator>ruw</dc:creator>
				<category><![CDATA[チュートリアル]]></category>

		<guid isPermaLink="false">http://aims.dna-softwares.com/?p=57</guid>
		<description><![CDATA[AIMSのパッケージをダウンロードして解凍すると、protoというフォルダがあります。この中身が最低限のパッケージファイルです。

common.lua
ゲームの制作に必要と思われる関数一式を記述するファイル。
DNA- [...]]]></description>
			<content:encoded><![CDATA[<p>AIMSのパッケージをダウンロードして解凍すると、protoというフォルダがあります。この中身が最低限のパッケージファイルです。</p>
<ul>
<li>common.lua<br />
ゲームの制作に必要と思われる関数一式を記述するファイル。<br />
DNA-Sで制作に使っている関数などが記述されています。</li>
<li>AIMS.lua<br />
AIMSの起動に必要な設定が一式記述されたファイル。<br />
書き換えする必要はほとんどありません。</li>
<li>boot.lua<br />
AIMSが起動して一番最初に読み込むスクリプトファイル。</li>
</ul>
<p>AIMSは起動するとまずboot.luaをオープンします。<br />
そしてLuaの流儀に従い、functionの外で宣言された変数をグローバル変数として組み込みます。<br />
サンプルでははじめに&#8221;prequire(&#8220;common.lua&#8221;);&#8221;と記述されていますが、これでcommon.luaの中に記述された関数などが組み込まれます。<br />
次に素材の各種リソースハンドルを保存するための「G」「S」「A」というテーブルをグローバル変数として宣言しています。</p>
<p>※別にリソースハンドルはどんな名前の変数に保存してもいいんですが、テーブルの中に入れておくと解放が楽だったり、他の変数との衝突が避けられるという理由から、D.N.A. Softwaresとしては上記のテーブルの中に保持することを推奨しています。</p>
<p>それらの動作が終了したら、まず「OnLoad」という関数を実行します。<br />
この「OnLoad」という関数を実行するとbootシーンという最初のシーンを起動します。<br />
（※シーンに付いては後述）</p>
<p>スクリプト内部で「quit」という終了関数が呼ばれるか、Windowsの閉じるボタンが押されると現在実行中のすべてのシーンを強制終了し「OnVanish」という関数を実行しプログラムを終了します。</p>
]]></content:encoded>
			<wfw:commentRss>http://aims.dna-softwares.com/?feed=rss2&amp;p=57</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A.I.M.S. ver.1.01公開</title>
		<link>http://aims.dna-softwares.com/?p=54</link>
		<comments>http://aims.dna-softwares.com/?p=54#comments</comments>
		<pubDate>Fri, 26 Dec 2008 18:50:46 +0000</pubDate>
		<dc:creator>D.N.A.</dc:creator>
				<category><![CDATA[リリース]]></category>

		<guid isPermaLink="false">http://aims.dna-softwares.com/?p=54</guid>
		<description><![CDATA[AIMSのバージョン1.01を公開します。上のメニューバーからダウンロードページへどうぞ。
リリースビルドで不正終了する不具合が見つかりましたので、その点を修正しています。   スクリプト部分についてですが、互換性に関わ [...]]]></description>
			<content:encoded><![CDATA[<p>AIMSのバージョン1.01を公開します。上のメニューバーからダウンロードページへどうぞ。</p>
<p>リリースビルドで不正終了する不具合が見つかりましたので、その点を修正しています。   <br />スクリプト部分についてですが、互換性に関わる仕様変更はありません。1.00で動いていたコードはすべて修正なく動くと思います。</p>
<p>また、一部デバッグ関連のコマンドラインオプションを変更しています。debugOut関数のタイトルバーへの出力がデフォルトでオフになりました。詳細はreadmeをご覧ください。</p>
]]></content:encoded>
			<wfw:commentRss>http://aims.dna-softwares.com/?feed=rss2&amp;p=54</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A.I.M.S. リファレンスマニュアル</title>
		<link>http://aims.dna-softwares.com/?p=51</link>
		<comments>http://aims.dna-softwares.com/?p=51#comments</comments>
		<pubDate>Thu, 02 Oct 2008 13:03:47 +0000</pubDate>
		<dc:creator>D.N.A.</dc:creator>
				<category><![CDATA[おしらせ]]></category>

		<guid isPermaLink="false">http://aims.dna-softwares.com/?p=51</guid>
		<description><![CDATA[AIMSのリファレンスを取り急ぎ作成しました。
「まわるめいどさんをねみぎ」時代に作ったマニュアルを現在の仕様にあわせたもので、AIMSのコアとなる機能については網羅しています。
AIMS のドキュメントページからごらん [...]]]></description>
			<content:encoded><![CDATA[<p>AIMSのリファレンスを取り急ぎ作成しました。<br />
「まわるめいどさんをねみぎ」時代に作ったマニュアルを現在の仕様にあわせたもので、AIMSのコアとなる機能については網羅しています。</p>
<p><a href="http://aims.dna-softwares.com/?page_id=49" target="_blank">AIMS のドキュメント</a>ページからごらんいただけます。</p>
<p>また、SVNの方にも追加しております。docs/の下に追加されますので、SVNを見ておられる方はご利用ください。</p>
]]></content:encoded>
			<wfw:commentRss>http://aims.dna-softwares.com/?feed=rss2&amp;p=51</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>サンプル「幽々子様」</title>
		<link>http://aims.dna-softwares.com/?p=43</link>
		<comments>http://aims.dna-softwares.com/?p=43#comments</comments>
		<pubDate>Thu, 02 Oct 2008 11:04:53 +0000</pubDate>
		<dc:creator>ruw</dc:creator>
				<category><![CDATA[サンプル]]></category>

		<guid isPermaLink="false">http://aims.dna-softwares.com/?p=43</guid>
		<description><![CDATA[東方Projectでおなじみ「幽々子様」がくるくるまわって動くだけのサンプルです。
AIMSサンプル「幽々子様」
このサンプルは

画像のロード
画像の切り出し
画像のアニメーション
入力情報の取得
addMoverの使 [...]]]></description>
			<content:encoded><![CDATA[<p>東方Projectでおなじみ「幽々子様」がくるくるまわって動くだけのサンプルです。<br />
<a href="http://aims.dna-softwares.com/wp-content/upload/01-graphic.zip">AIMSサンプル「幽々子様」</a></p>
<p>このサンプルは</p>
<ul>
<li>画像のロード</li>
<li>画像の切り出し</li>
<li>画像のアニメーション</li>
<li>入力情報の取得</li>
<li>addMoverの使い方</li>
</ul>
<p>について簡単な説明を入れてあります。<br />
起動の際には「proto\AIMS.exe」「proto\AIMS.lua」「proto\common.lua」を解凍した先にコピーしてください。</p>
<p>SVN中では「sample1 Graphic」に同様のファイルがあります。</p>
]]></content:encoded>
			<wfw:commentRss>http://aims.dna-softwares.com/?feed=rss2&amp;p=43</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SUiCA32 改造プレイ</title>
		<link>http://aims.dna-softwares.com/?p=37</link>
		<comments>http://aims.dna-softwares.com/?p=37#comments</comments>
		<pubDate>Wed, 01 Oct 2008 02:59:52 +0000</pubDate>
		<dc:creator>ruw</dc:creator>
				<category><![CDATA[サンプル]]></category>

		<guid isPermaLink="false">http://aims.dna-softwares.com/?p=37</guid>
		<description><![CDATA[【ニコニコ動画】AIMSサンプル「SUiCA32」改造プレイ
SUiCA32は構想2時間制作2日なのです。
]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://www.nicovideo.jp/watch/sm4771345">【ニコニコ動画】AIMSサンプル「SUiCA32」改造プレイ</a></p>
<p>SUiCA32は構想2時間制作2日なのです。</p>
]]></content:encoded>
			<wfw:commentRss>http://aims.dna-softwares.com/?feed=rss2&amp;p=37</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
