<?xml version="1.0" encoding="UTF-8" ?> 
<feed version="0.3" xmlns="http://purl.org/atom/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xml:lang="ja">
<title>永遠の詩</title> 
<link rel="alternate" type="text/html" href="http://thesongremainthesame.blog.so-net.ne.jp/" />
<link rel="service.post" type="application/x.atom+xml" href="http://blog.so-net.ne.jp/_atom/blog/652" title="永遠の詩" />
<link rel="service.feed" type="application/x.atom+xml" href="http://blog.so-net.ne.jp/_atom/blog/652" title="永遠の詩" />
<link rel="service.upload" type="application/x.atom+xml" href="http://blog.so-net.ne.jp/_atom/image/652" title="永遠の詩" />
<link rel="service.categories" type="application/x.atom+xml" href="http://blog.so-net.ne.jp/_atom/blog/652/svc=categories" title="永遠の詩" />
<modified>2009-02-22T14:03:06Z</modified> 
<author>
<name>thesongremainthesame</name> 
</author>
<tagline><![CDATA[-コンピュータ関連ブログ-]]></tagline> 
<id>tag:blog.so-net.ne.jp,2004:thesongremainthesame</id> 
<author>
<name>thesongremainthesame</name> 
</author>
<generator url="http://blog.so-net.ne.jp/" version="1.0">So-net blog</generator> 
<copyright>Copyright (c) 2009, thesongremainthesame </copyright>
<entry>
<title>お気に入りの入門書</title> 
  <link rel="alternate" type="text/html" href="http://thesongremainthesame.blog.so-net.ne.jp/2005-05-12" />
  <link rel="service.edit" type="application/x.atom+xml" href="http://blog.so-net.ne.jp/atom/blog_id=652/entry_id=2850195" title="お気に入りの入門書" />
  <modified>2009-02-22T14:03:06Z</modified> 
  <issued>2005-05-12 21:55:38+09:00</issued> 
  <id>tag:blog.so-net.ne.jp,2009:thesongremainthesame.2850195</id> 
  <summary type="text/plain"> </summary> 
  <dc:subject></dc:subject> 

<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://thesongremainthesame.blog.so-net.ne.jp/2005-05-12">
<![CDATA[
<p class="auto">
ANSI対応<br class="auto"/>
C言語<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%83%97%E3%83%AD%E3%82%B0%E3%83%A9%E3%83%9F%E3%83%B3%E3%82%B0&ic=utf8" class="affiliate-link" target="_blank">プログラミング</a><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%83%AC%E3%83%83%E3%82%B9%E3%83%B3&ic=utf8" class="affiliate-link" target="_blank">レッスン</a>　<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E5%85%A5%E9%96%80&ic=utf8" class="affiliate-link" target="_blank">入門</a>編<br class="auto"/>
結城　浩／著</p>

<p class="auto">
<a href="http://www.amazon.co.jp/exec/obidos/ASIN/4797307579/sonet0f-22/ref%3Dnosim/249-5097862-3417117" target="_blank" class="auto">http://www.amazon.co.jp/exec/obidos/ASIN/4797307579/sonet0f-22/ref%3Dnosim/249-5097862-3417117</a></p>

<p class="auto">
これは良い本だと思いました。かんたんなサンプルソースやそれに付いての説明があり、基本的な事をしっかりと覚えていける構成になっています。関数の引数の扱い、構造体、メモリ、ポインタ、ポインタのポインタ、等今まで今一きちんと理解出来てなかった事も分かりやすく優しく説明されているので非常に助かりました。</p>

<p class="auto">
プログラミング系の入門書って理解出来だすと読んでて面白くってしようがないもんですね。</p>

<a name="more"></a>
]]> 
</content>
</entry>
<entry>
<title>とにかく動き出します</title> 
  <link rel="alternate" type="text/html" href="http://thesongremainthesame.blog.so-net.ne.jp/2005-04-30" />
  <link rel="service.edit" type="application/x.atom+xml" href="http://blog.so-net.ne.jp/atom/blog_id=652/entry_id=2847249" title="とにかく動き出します" />
  <modified>2009-02-22T14:03:06Z</modified> 
  <issued>2005-04-30 11:15:33+09:00</issued> 
  <id>tag:blog.so-net.ne.jp,2009:thesongremainthesame.2847249</id> 
  <summary type="text/plain"> </summary> 
  <dc:subject></dc:subject> 

<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://thesongremainthesame.blog.so-net.ne.jp/2005-04-30">
<![CDATA[
<p class="auto">
今年いっぱいは今の仕事を続け、当ての無い次の職種の為の<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E5%8B%89%E5%BC%B7&ic=utf8" class="affiliate-link" target="_blank">勉強</a>やら有利になる為の<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E8%B3%87%E6%A0%BC&ic=utf8" class="affiliate-link" target="_blank">資格</a>取りやらしなければならないという状況でこの<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%B2%E3%83%BC%E3%83%A0&ic=utf8" class="affiliate-link" target="_blank">ゲーム</a>だけは今年中に作っておきたいなと思い早急に動く事にします。もう汎用<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%A8%E3%83%87%E3%82%A3%E3%82%BF&ic=utf8" class="affiliate-link" target="_blank">エディタ</a>とか言ってらんない。SHIIのエディタを改造してSHIII用のデータを吐き出すようにしました。</p>

<a name="more"></a>
]]> 
</content>
</entry>
<entry>
<title>C言語で Hello World!.</title> 
  <link rel="alternate" type="text/html" href="http://thesongremainthesame.blog.so-net.ne.jp/2005-02-06-1" />
  <link rel="service.edit" type="application/x.atom+xml" href="http://blog.so-net.ne.jp/atom/blog_id=652/entry_id=2830761" title="C言語で Hello World!." />
  <modified>2009-02-22T14:03:06Z</modified> 
  <issued>2005-02-06 01:51:10+09:00</issued> 
  <id>tag:blog.so-net.ne.jp,2009:thesongremainthesame.2830761</id> 
  <summary type="text/plain"> </summary> 
  <dc:subject></dc:subject> 

<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://thesongremainthesame.blog.so-net.ne.jp/2005-02-06-1">
<![CDATA[
<p class="auto">
この際、ソース書きからコンパイル、実行までを<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%BF%E3%83%BC%E3%83%9F%E3%83%8A%E3%83%AB&ic=utf8" class="affiliate-link" target="_blank">ターミナル</a>だけでやってみます。</p>

<p class="auto">
まず、ターミナルを起動。起動して最初の場所はホームフォルダになってます。そこに作業用のディレクトリ（<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80&ic=utf8" class="affiliate-link" target="_blank">フォルダ</a>）を作ります。名前は"DevWork"とでもしておきます。</p>

<p class="auto">
mkdir DevWork</p>

<p class="auto">
これでDevWorkという名前のディレクトリがホームに出来ます。<br class="auto"/>
そしてそのディレクトリ内に移動。</p>

<p class="auto">
cd DevWork</p>

<p class="auto">
<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%A8%E3%83%87%E3%82%A3%E3%82%BF&ic=utf8" class="affiliate-link" target="_blank">エディタ</a>、viを起動します。</p>

<p class="auto">
vi</p>

<p class="auto">
--------------ここからviの操作-------------</p>

<p class="auto">
<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89&ic=utf8" class="affiliate-link" target="_blank">コマンド</a>モードになっているので入力モードに切り替えます。</p>

<p class="auto">
i</p>

<p class="auto">
これで入力モードに入ります。以下のソースを記入。</p>

<p class="auto">
<img src="http://thesongremainthesame.blog.so-net.ne.jp/blog/_images/blog/thesongremainthesame/74154.gif" /></p>

<p class="auto">
ターミナルの文字<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%BB%E3%83%83%E3%83%88&ic=utf8" class="affiliate-link" target="_blank">セット</a>の設定が日本語になっている場合は「\n」の<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%83%90%E3%83%83%E3%82%AF%E3%82%B9&ic=utf8" class="affiliate-link" target="_blank">バックス</a><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%83%A9%E3%83%83%E3%82%B7%E3%83%A5&ic=utf8" class="affiliate-link" target="_blank">ラッシュ</a>は「¥n」となります。意味は同じなので問題ありません。ここではUTF-8の設定だったのでバックスラッシュになっています。</p>

<p class="auto">
[esc]キーを押してコマンドモードに戻ります。</p>

<p class="auto">
<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB&ic=utf8" class="affiliate-link" target="_blank">ファイル</a>を保存します。</p>

<p class="auto">
:wq helloW.c</p>

<p class="auto">
これで「helloW.c」という名前のCソースファイルが保存され、viが終了します。</p>

<p class="auto">
--------------viの操作ここまで-------------</p>

<p class="auto">
ファイルの内容を再確認したい時はcatコマンドを使います。</p>

<p class="auto">
cat helloW.c</p>

<p class="auto">
もし打ち間違いがあれば、再び " vi helloW.c " と、viを立ち上げ修正します。<br class="auto"/>
間違いなければコンパイルします。</p>

<p class="auto">
cc -o helloW helloW.c</p>

<p class="auto">
問題なければ同ディレクトリ内に「helloW」という実行ファイルが出来ます。.cファイルに間違いがあればエラーが表示されるのでまたviで修正します。</p>

<p class="auto">
実行ファイルを走らせてみます。</p>

<p class="auto">
./helloW</p>

<p class="auto">
これでHello World!. と表示されます。<br class="auto"/>
<img src="http://thesongremainthesame.blog.so-net.ne.jp/blog/_images/blog/thesongremainthesame/74160.gif" /></p>

<a name="more"></a>
]]> 
</content>
</entry>
<entry>
<title>テキストエディットの罠 -UTF-8問題-</title> 
  <link rel="alternate" type="text/html" href="http://thesongremainthesame.blog.so-net.ne.jp/2005-02-06" />
  <link rel="service.edit" type="application/x.atom+xml" href="http://blog.so-net.ne.jp/atom/blog_id=652/entry_id=2830746" title="テキストエディットの罠 -UTF-8問題-" />
  <modified>2009-02-22T14:03:06Z</modified> 
  <issued>2005-02-06 00:32:34+09:00</issued> 
  <id>tag:blog.so-net.ne.jp,2009:thesongremainthesame.2830746</id> 
  <summary type="text/plain"> </summary> 
  <dc:subject></dc:subject> 

<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://thesongremainthesame.blog.so-net.ne.jp/2005-02-06">
<![CDATA[
<p class="auto">
前回、<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%BF%E3%83%BC%E3%83%9F%E3%83%8A%E3%83%AB&ic=utf8" class="affiliate-link" target="_blank">ターミナル</a>から見るのに便利だから、UTF-8で保存した方が良いかも、と書いたのですが、もしGUIのメインの<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%A8%E3%83%87%E3%82%A3%E3%82%BF&ic=utf8" class="affiliate-link" target="_blank">エディタ</a>にテキスト<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%A8%E3%83%87%E3%82%A3%E3%83%83%E3%83%88&ic=utf8" class="affiliate-link" target="_blank">エディット</a>を使ってる場合ちょっと問題があったりします。</p>

<p class="auto">
現在テキストエディットには「自分では書き出せるUTF-8<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB&ic=utf8" class="affiliate-link" target="_blank">ファイル</a>。でも自分で読み込めない。」というトホホなバグがあります。</p>

<p class="auto">
でも全く読めないわけではないんです。ファイルを直ダブルクリックで開こうとせずに、ファイルメニューから「開く..」を選択し、その際に出る、ダイアログ内のファイル形式ポップアップでUTF-8を選択して開けば問題なく開きます。でも面倒ですね。</p>

<p class="auto">
フリーウェアの<a href="http://www.mimikaki.net/" target="_blank">mi</a>でさえキチンと開いてくれます。純正アプリとしてこれじゃ駄目でしょ〜。迅速にバグフィックス希望です。</p>

<a name="more"></a>
]]> 
</content>
</entry>
<entry>
<title>ターミナルの設定</title> 
  <link rel="alternate" type="text/html" href="http://thesongremainthesame.blog.so-net.ne.jp/2005-02-05-1" />
  <link rel="service.edit" type="application/x.atom+xml" href="http://blog.so-net.ne.jp/atom/blog_id=652/entry_id=2830653" title="ターミナルの設定" />
  <modified>2009-02-22T14:03:06Z</modified> 
  <issued>2005-02-05 14:31:24+09:00</issued> 
  <id>tag:blog.so-net.ne.jp,2009:thesongremainthesame.2830653</id> 
  <summary type="text/plain"> </summary> 
  <dc:subject></dc:subject> 

<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://thesongremainthesame.blog.so-net.ne.jp/2005-02-05-1">
<![CDATA[
<p class="auto">
<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%B8%E3%83%A3%E3%82%AC%E3%83%BC&ic=utf8" class="affiliate-link" target="_blank">ジャガー</a>(OSX10.2)以降の<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%BF%E3%83%BC%E3%83%9F%E3%83%8A%E3%83%AB&ic=utf8" class="affiliate-link" target="_blank">ターミナル</a>はUTF-8に対応しているので、日本語を含む多言語の表示も可能となっています。通常、デフォルトでUTF-8に設定されているはずです。</p>

<p class="auto">
これは、<br class="auto"/>
ターミナルインスペクタ（Command+i)＞ディスプレイ＞文字セットエンコーディング<br class="auto"/>
で変更出来ます。</p>

<p class="auto">
ターミナルインスペクタ＞エミュレーション＞非ASCII文字を<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%A8%E3%82%B9%E3%82%B1%E3%83%BC%E3%83%97&ic=utf8" class="affiliate-link" target="_blank">エスケープ</a>する<br class="auto"/>
の<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%83%81%E3%82%A7%E3%83%83%E3%82%AF&ic=utf8" class="affiliate-link" target="_blank">チェック</a><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%83%9C%E3%83%83%E3%82%AF%E3%82%B9&ic=utf8" class="affiliate-link" target="_blank">ボックス</a>をONにしておけば、日本語の直接入力が可能になります。</p>

<p class="auto">
現在のディレクトリの<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB&ic=utf8" class="affiliate-link" target="_blank">ファイル</a>等を表示するls<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89&ic=utf8" class="affiliate-link" target="_blank">コマンド</a>ですが、そのままでは日本語<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80&ic=utf8" class="affiliate-link" target="_blank">フォルダ</a>は文字化けしてしまいます。これは、-v<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%AA%E3%83%97%E3%82%B7%E3%83%A7%E3%83%B3&ic=utf8" class="affiliate-link" target="_blank">オプション</a>を付けて実行すると、日本語も正しく表示されます。</p>

<p class="auto">
例）<br class="auto"/>
ls -v</p>

<p class="auto">
catコマンドでテキストの中を見る場合、その書類がUTF-8フォーマットで保存されているのならば、テキスト内の日本語は正確に表示されます。しかし、例えば日本語(S-JIS）で保存されている場合、日本語テキストは文字化けてしまうので、ターミナルインスペクタで合わせて変更しないと読めません。しかも、その設定のままls -vコマンド等でファイル名を表示しても日本語ファイル名はやはり文字化けてしまいます。</p>

<p class="auto">
その度に文字<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%BB%E3%83%83%E3%83%88&ic=utf8" class="affiliate-link" target="_blank">セット</a>を切り替えるのは面倒ですが、これは、MacOSXではファイル名はUTF-8、従来のMacOSに由来する部分はS-JIS、日本語に対応したUNIXに由来する部分は日本語EUC、と、複数の文字コードが混在した仕様になっている為です。</p>

<p class="auto">
日本語書類はできるだけ、UTF-8で保存し、ファイル名は英語を使うのが現状では一番現実的かもしれません。</p>

<a name="more"></a>
]]> 
</content>
</entry>
<entry>
<title>vi-01</title> 
  <link rel="alternate" type="text/html" href="http://thesongremainthesame.blog.so-net.ne.jp/2005-02-05" />
  <link rel="service.edit" type="application/x.atom+xml" href="http://blog.so-net.ne.jp/atom/blog_id=652/entry_id=2830645" title="vi-01" />
  <modified>2009-02-22T14:03:07Z</modified> 
  <issued>2005-02-05 12:41:31+09:00</issued> 
  <id>tag:blog.so-net.ne.jp,2009:thesongremainthesame.2830645</id> 
  <summary type="text/plain"> </summary> 
  <dc:subject></dc:subject> 

<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://thesongremainthesame.blog.so-net.ne.jp/2005-02-05">
<![CDATA[
<p class="auto">
viは、ほぼ全てのUNIXに搭載されている<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%A8%E3%83%87%E3%82%A3%E3%82%BF&ic=utf8" class="affiliate-link" target="_blank">エディタ</a>で、<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0&ic=utf8" class="affiliate-link" target="_blank">システム</a>管理者等が良く使用されています。勿論、UNIXベースであるOSXにも搭載されているので、ちょっと使ってみようと思います。注意すべき点は、標準で<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB&ic=utf8" class="affiliate-link" target="_blank">インストール</a>されているvi(vim)は、multibite無効でコンパイルされている為、日本語は使えません。</p>

<p class="auto">
・　<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%BF%E3%83%BC%E3%83%9F%E3%83%8A%E3%83%AB&ic=utf8" class="affiliate-link" target="_blank">ターミナル</a>を起動し、viと打ち込みリターンキーを押すと、ターミナル内でviが起動する。</p>

<p class="auto">
・　i を入力すると、入力モードに切り替わる。（左下に"-- INSERT --"と表示されます。）</p>

<p class="auto">
・　とりあえず通常のエディタのように文章や文字を書いてみます。</p>

<p class="auto">
・　escキーで<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89&ic=utf8" class="affiliate-link" target="_blank">コマンド</a>モードに戻ります。</p>

<p class="auto">
・　:w hellovi.txt　　[リターンキー]で、現在のディレクトリに"hellovi.txt"というテキストファイルが保存されます。</p>

<p class="auto">
・　:q  [リーターンキー]で、viを終了。</p>

<p class="auto">
とりあえず慣れるまではこんな感じの使い方でいけるようですが、viのコマンドモードは沢山の便利なコマンドが備わっており、それらを使いこなせれば強力な編集ツールとして実力を発揮します。</p>

<p class="auto">
-----</p>

<p class="auto">
ターミナルからの起動時<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%AA%E3%83%97%E3%82%B7%E3%83%A7%E3%83%B3&ic=utf8" class="affiliate-link" target="_blank">オプション</a></p>

<p class="auto">
vi +[数字] filename<br class="auto"/>
"filename"という<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB&ic=utf8" class="affiliate-link" target="_blank">ファイル</a>を読み込み[数字]行目にカーソルを移動させます。<br class="auto"/>
ソースコードの編集に便利。[数字]を省略するとそのファイルの最終行に移動します。<br class="auto"/>
+も省略するとそのファイルの最初の行に移動します。</p>

<p class="auto">
vi +/REGEXP filename<br class="auto"/>
ファイルを開いた後、そのファイル上の最初の正規表現の位置に移動します。</p>

<p class="auto">
vi -R filename<br class="auto"/>
<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=view&ic=utf8" class="affiliate-link" target="_blank">view</a> filename<br class="auto"/>
読み込み専用でファイルを開きます。</p>

<p class="auto">
vi -r filename<br class="auto"/>
前回、viでの作業中にviが<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%AF%E3%83%A9%E3%83%83%E3%82%B7%E3%83%A5&ic=utf8" class="affiliate-link" target="_blank">クラッシュ</a>してしまった場合に内容がviによってpreserveされていれば、その内容を復旧出来ます。</p>

<p class="auto">
vi -c COMMAND filename<br class="auto"/>
ex -c COMMAND filename<br class="auto"/>
起動後、実行可能なコマンドを実行します。</p>

<a name="more"></a>
]]> 
</content>
</entry>
<entry>
<title>Javaの勉強-02</title> 
  <link rel="alternate" type="text/html" href="http://thesongremainthesame.blog.so-net.ne.jp/2005-02-03" />
  <link rel="service.edit" type="application/x.atom+xml" href="http://blog.so-net.ne.jp/atom/blog_id=652/entry_id=2830314" title="Javaの勉強-02" />
  <modified>2009-02-22T14:03:07Z</modified> 
  <issued>2005-02-03 00:11:01+09:00</issued> 
  <id>tag:blog.so-net.ne.jp,2009:thesongremainthesame.2830314</id> 
  <summary type="text/plain"> </summary> 
  <dc:subject></dc:subject> 

<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://thesongremainthesame.blog.so-net.ne.jp/2005-02-03">
<![CDATA[
<p class="auto">
Eclipse<br class="auto"/>
<a href="http://www.eclipse.org/" target="_blank" class="auto">http://www.eclipse.org/</a></p>

<p class="auto">
もともと、GUIアプリ開発で使用する物ではなく、GUIをソースで構築しなければならない。<br class="auto"/>
サーバサイドプログラム中心なら。</p>

<a name="more"></a>
]]> 
</content>
</entry>
<entry>
<title>Javaの勉強-01</title> 
  <link rel="alternate" type="text/html" href="http://thesongremainthesame.blog.so-net.ne.jp/2005-02-01" />
  <link rel="service.edit" type="application/x.atom+xml" href="http://blog.so-net.ne.jp/atom/blog_id=652/entry_id=2830131" title="Javaの勉強-01" />
  <modified>2009-02-22T14:03:07Z</modified> 
  <issued>2005-02-01 23:43:15+09:00</issued> 
  <id>tag:blog.so-net.ne.jp,2009:thesongremainthesame.2830131</id> 
  <summary type="text/plain"> </summary> 
  <dc:subject></dc:subject> 

<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://thesongremainthesame.blog.so-net.ne.jp/2005-02-01">
<![CDATA[
<p class="auto">
<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=Macintosh&ic=utf8" class="affiliate-link" target="_blank">Macintosh</a>(OSX10.3)上で<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=Java&ic=utf8" class="affiliate-link" target="_blank">Java</a>を<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E5%8B%89%E5%BC%B7&ic=utf8" class="affiliate-link" target="_blank">勉強</a>していきます。<br class="auto"/>
今年はJava→Cと学んでいこうと思っています。</p>

<p class="auto">
後々の為にDeveloperToolを<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB&ic=utf8" class="affiliate-link" target="_blank">インストール</a>しておきます。<br class="auto"/>
しかし、基本の動作確認は<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%BF%E3%83%BC%E3%83%9F%E3%83%8A%E3%83%AB&ic=utf8" class="affiliate-link" target="_blank">ターミナル</a>で可能なのでまだ使用はしません。</p>

<p class="auto">
とりあえず"Hello World"と表示するプログラムを試してみます。<br class="auto"/>
コーディングはOSX標準装備のテキスト<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%A8%E3%83%87%E3%82%A3%E3%83%83%E3%83%88&ic=utf8" class="affiliate-link" target="_blank">エディット</a>を使用。<br class="auto"/>
<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB&ic=utf8" class="affiliate-link" target="_blank">ファイル</a>は<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%83%97%E3%83%AC%E3%83%BC%E3%83%B3&ic=utf8" class="affiliate-link" target="_blank">プレーン</a>テキストにしないといけないので、環境設定>新規書類の属性を<br class="auto"/>
"標準テキスト"にしておきます。<br class="auto"/>
また、テキストエディットをプログラムソース書きに頻繁に利用する場合は、<br class="auto"/>
保存<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%AA%E3%83%97%E3%82%B7%E3%83%A7%E3%83%B3&ic=utf8" class="affiliate-link" target="_blank">オプション</a>の「標準テキストファイルに拡張子".txt"を追加する」の<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%83%81%E3%82%A7%E3%83%83%E3%82%AF&ic=utf8" class="affiliate-link" target="_blank">チェック</a>を外しておくと良いです。</p>

<p class="auto">
public class Sayhello {</p>

<p class="auto">
public static void main (String args []) {<br class="auto"/>
System.out.println ("Hello World");<br class="auto"/>
}</p>

<p class="auto">
}</p>

<p class="auto">
これを".java"の拡張子を付けてデスクトップに保存します。エンコーディング形式は"日本語(Mac OS)"のままでもOKなんですが、ソース内で日本語を使って、それをターミナルで文字化けしないように観る為に、UTF-8で保存しておくと便利です。</p>

<p class="auto">
ターミナルを使って、コンパイルした後に実行してみます。<br class="auto"/>
まずcdコマンドでデスクトップに移動します。</p>

<p class="auto">
cd Desktop</p>

<p class="auto">
次にjavacコマンドでコンパイルします。</p>

<p class="auto">
javac Sayhello.java</p>

<p class="auto">
デスクトップ上に"Sayhello.class"というJavaのプログラムファイルが出来ます。<br class="auto"/>
これをjavaコマンドで実行してみます。</p>

<p class="auto">
java Sayhello</p>

<p class="auto">
ターミナル内に"Hello World"と表示されればOK。</p>

<p class="auto">
<img src="http://thesongremainthesame.blog.so-net.ne.jp/blog/_images/blog/thesongremainthesame/66774.jpg" /></p>

<p class="auto">
〜覚え書き〜</p>

<p class="auto">
public class [クラス名]<br class="auto"/>
Javaではクラス名＝ファイル名でなければならない。</p>

<p class="auto">
public static void [メソッド名]<br class="auto"/>
メソッドは"サブルーチン"。<br class="auto"/>
メソッドはそれぞれ役割を持っている。<br class="auto"/>
ここでの"main"メソッドは、クラスが実行されると最初に動作する働きを持つ。このクラスでのメインプログラム。</p>

<p class="auto">
System.out.println ("Hello World");</p>

<p class="auto">
は、とりあえず、テキスト表示はこういう命令を使うもんだと理解しておく事にする（笑）。</p>

<a name="more"></a>
]]> 
</content>
</entry>
<entry>
<title>Popup Menuで何が選択されているかを所得</title> 
  <link rel="alternate" type="text/html" href="http://thesongremainthesame.blog.so-net.ne.jp/2004-12-01-1" />
  <link rel="service.edit" type="application/x.atom+xml" href="http://blog.so-net.ne.jp/atom/blog_id=652/entry_id=2823450" title="Popup Menuで何が選択されているかを所得" />
  <modified>2009-02-22T14:03:07Z</modified> 
  <issued>2004-12-01 22:30:41+09:00</issued> 
  <id>tag:blog.so-net.ne.jp,2009:thesongremainthesame.2823450</id> 
  <summary type="text/plain"> </summary> 
  <dc:subject></dc:subject> 

<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://thesongremainthesame.blog.so-net.ne.jp/2004-12-01-1">
<![CDATA[
<p class="auto">
DIM itemID</p>

<p class="auto">
itemID=BUTTON(_PopW)</p>

<p class="auto">
以上。</p>

<a name="more"></a>
]]> 
</content>
</entry>
<entry>
<title>数値のみの入力しか受け付けなくする。Button上でのマウスカーソルアイコンを変える。</title> 
  <link rel="alternate" type="text/html" href="http://thesongremainthesame.blog.so-net.ne.jp/2004-12-01" />
  <link rel="service.edit" type="application/x.atom+xml" href="http://blog.so-net.ne.jp/atom/blog_id=652/entry_id=2823390" title="数値のみの入力しか受け付けなくする。Button上でのマウスカーソルアイコンを変える。" />
  <modified>2009-02-22T14:03:07Z</modified> 
  <issued>2004-12-01 01:21:28+09:00</issued> 
  <id>tag:blog.so-net.ne.jp,2009:thesongremainthesame.2823390</id> 
  <summary type="text/plain"> </summary> 
  <dc:subject></dc:subject> 

<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://thesongremainthesame.blog.so-net.ne.jp/2004-12-01">
<![CDATA[
<p class="auto">
数値のみの入力しか受け付けないようにする。EditFieldで色々やってみたけれど、今イチ。そこで、FutureBASIC4 CDに入っているサンプルソースで良さそうなものがあった。</p>

<p class="auto">
Examples　＞　** Donations **　＞　Robert P's <a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=Favorite&ic=utf8" class="affiliate-link" target="_blank">Favorite</a> Examples　＞　Text and Edit Fields　＞　Key filter for EditText control</p>

<p class="auto">
早速、実装。いい感じです。しかしこのフィルタ、入力部分の見た目はまるっきり、EditFieldなんですが実はEditFieldではなく文字入力が出来るApperanceButtonを使用しているので、先日実装した「EditField上でマウスカーソルアイコンを変える」が、数値入力部上では動作しなくなりました。そこで、</p>

<p class="auto">
ev = DIALOG(0)<br class="auto"/>
id = DIALOG(ev)</p>

<p class="auto">
SELECT ev</p>

<p class="auto">
〜中略〜</p>

<p class="auto">
　CASE _cursOverNothing<br class="auto"/>
　　CURSOR = _arrowCursor</p>

<p class="auto">
　CASE _cursOverBtn,_cursOverEF<br class="auto"/>
　　SELECT id</p>

<p class="auto">
　　　CASE _Mapx,_Mapy,_Stage,_ProjectNames<br class="auto"/>
　　　　CURSOR = _IBeamCursor</p>

<p class="auto">
　　END SELECT</p>

<p class="auto">
〜中略〜</p>

<p class="auto">
END SELECT</p>

<p class="auto">
こんな感じに変えました。それぞれIDで指定しないとポップアップボタンにまで反応してしまうので。そこで気になったのが、EditFieldのTEXT内容を所得するには<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=EDIT&ic=utf8" class="affiliate-link" target="_blank">EDIT</a>$()を使うというのは知ってましたが、ApperanceButtonのTEXT内容所得ってどうやるのかは分からない。調べてみた所、それらしいやり方が見つかったので、試しに次の関数を追加してテストしてみました。最終的にはTEXTを数値に変えなければならないので、それも兼ねて。</p>

<p class="auto">
LOCAL FN Okay                                                        //OKボタンを押すとこの関数へ</p>

<p class="auto">
 DIM dat<br class="auto"/>
 DIM As STR255 TextString<br class="auto"/>
 TextString = FN ButtonTextString$ (_Mapy)  //文字所得（マップの広さのyを入力する<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%83%95%E3%82%A3%E3%83%BC%E3%83%AB%E3%83%89&ic=utf8" class="affiliate-link" target="_blank">フィールド</a>から）<br class="auto"/>
 dat=VAL(TextString)                                         //文字を数値に<br class="auto"/>
　PRINT dat</p>

<p class="auto">
END FN</p>

<p class="auto">
バッチリです。</p>

<a name="more"></a>
]]> 
</content>
</entry>
<entry>
<title>エディットフィールド上でのマウスカーソルアイコン</title> 
  <link rel="alternate" type="text/html" href="http://thesongremainthesame.blog.so-net.ne.jp/2004-11-30" />
  <link rel="service.edit" type="application/x.atom+xml" href="http://blog.so-net.ne.jp/atom/blog_id=652/entry_id=2823315" title="エディットフィールド上でのマウスカーソルアイコン" />
  <modified>2009-02-22T14:03:07Z</modified> 
  <issued>2004-11-30 01:09:53+09:00</issued> 
  <id>tag:blog.so-net.ne.jp,2009:thesongremainthesame.2823315</id> 
  <summary type="text/plain"> </summary> 
  <dc:subject></dc:subject> 

<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://thesongremainthesame.blog.so-net.ne.jp/2004-11-30">
<![CDATA[
<p class="auto">
<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%A8%E3%83%87%E3%82%A3%E3%83%83%E3%83%88&ic=utf8" class="affiliate-link" target="_blank">エディット</a><a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%83%95%E3%82%A3%E3%83%BC%E3%83%AB%E3%83%89&ic=utf8" class="affiliate-link" target="_blank">フィールド</a>上にマウスカーソルを持っていくと、Iビームカーソルに変わるようにする。<br class="auto"/>
それ以外では、矢印に戻す。</p>

<p class="auto">
ダイアログイベント関数にて</p>

<p class="auto">
SELECT ev</p>

<p class="auto">
〜中略〜</p>

<p class="auto">
　CASE _cursOverNothing<br class="auto"/>
　　CURSOR = _arrowCursor</p>

<p class="auto">
　CASE _cursOverEF<br class="auto"/>
　　CURSOR = _IBeamCursor</p>

<p class="auto">
〜中略〜</p>

<p class="auto">
END SELECT</p>

<p class="auto">
以上。</p>

<a name="more"></a>
]]> 
</content>
</entry>
<entry>
<title>覚え書き</title> 
  <link rel="alternate" type="text/html" href="http://thesongremainthesame.blog.so-net.ne.jp/2004-11-29" />
  <link rel="service.edit" type="application/x.atom+xml" href="http://blog.so-net.ne.jp/atom/blog_id=652/entry_id=2823274" title="覚え書き" />
  <modified>2009-02-22T14:03:07Z</modified> 
  <issued>2004-11-29 01:38:59+09:00</issued> 
  <id>tag:blog.so-net.ne.jp,2009:thesongremainthesame.2823274</id> 
  <summary type="text/plain"> </summary> 
  <dc:subject></dc:subject> 

<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://thesongremainthesame.blog.so-net.ne.jp/2004-11-29">
<![CDATA[
<p class="auto">
オブジェクトサイズの項目を入れ忘れていたので、またもや設定画面の<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%83%87%E3%82%B6%E3%82%A4%E3%83%B3&ic=utf8" class="affiliate-link" target="_blank">デザイン</a>変更しました。Appearanceランタイムで新規プロジェクトを作り、このWindowを作る<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB&ic=utf8" class="affiliate-link" target="_blank">ファイル</a>をInclファイルにして組み込み。リソースも作り、メインソース用のファイルも作り、いよいよMapEditor作成の体裁を整えました。まず日本語化した後、不具合の調査。グループ<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%83%9C%E3%83%83%E3%82%AF%E3%82%B9&ic=utf8" class="affiliate-link" target="_blank">ボックス</a>の中にキャンセル、OKボタンを入れているのですが見た目だけで、ボタンをクリックしても反応しない。グループ化しないといけないと言う事になかなか気付かず、余計な時間を食ってしまいました。</p>

<p class="auto">
SetRect(r, 20, 283, 297, 360)<br class="auto"/>
APPEARANCE BUTTON _GroupBox, _activeBtn, _kControlSupportsEmbedding,,,"Tiny Game Map Editor", @r,_kControlGroupBoxSecondaryTextTitleProc</p>

<p class="auto">
三つ目の定数、「_kControlSupportsEmbedding」でグループ化出来るようにしておき、</p>

<p class="auto">
DEF EmbedButton(_Cansel, _GroupBox)<br class="auto"/>
DEF EmbedButton(_Okay, _GroupBox)</p>

<p class="auto">
これで良し。ついでにグループボックスのタイプもちょっとカッコ良さげなヤツに変更。<br class="auto"/>
（_kControlGroupBoxSecondaryTextTitleProcがそうです。）</p>

<p class="auto">
いや、しかしTWEで外観を作り吐き出したソースコードを見ると<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E5%8B%89%E5%BC%B7&ic=utf8" class="affiliate-link" target="_blank">勉強</a>になります。</p>

<p class="auto">
<img src="http://thesongremainthesame.blog.so-net.ne.jp/blog/_images/blog/thesongremainthesame/2765.jpg" /></p>

<a name="more"></a>
]]> 
</content>
</entry>
<entry>
<title>TWEを使って初期設定ウィンドウを作る。</title> 
  <link rel="alternate" type="text/html" href="http://thesongremainthesame.blog.so-net.ne.jp/2004-11-28" />
  <link rel="service.edit" type="application/x.atom+xml" href="http://blog.so-net.ne.jp/atom/blog_id=652/entry_id=2823261" title="TWEを使って初期設定ウィンドウを作る。" />
  <modified>2009-02-22T14:03:07Z</modified> 
  <issued>2004-11-28 21:44:00+09:00</issued> 
  <id>tag:blog.so-net.ne.jp,2009:thesongremainthesame.2823261</id> 
  <summary type="text/plain"> </summary> 
  <dc:subject></dc:subject> 

<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://thesongremainthesame.blog.so-net.ne.jp/2004-11-28">
<![CDATA[
<p class="auto">
思い立って制作しようとしている汎用<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%B2%E3%83%BC%E3%83%A0&ic=utf8" class="affiliate-link" target="_blank">ゲーム</a>マップ<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%A8%E3%83%87%E3%82%A3%E3%82%BF&ic=utf8" class="affiliate-link" target="_blank">エディタ</a>。コーディングのみでGUIを作るのは面倒なので（これまでのSHやSHIIなんかのマップエディタはそれが原因であんな変なインター<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%83%95%E3%82%A7%E3%82%A4%E3%82%B9&ic=utf8" class="affiliate-link" target="_blank">フェイス</a>になっている）、FutureBASIC4に付属の、The Window <a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=Maker&ic=utf8" class="affiliate-link" target="_blank">Maker</a>（以下、TWE)というFutureBASIC用のインターフェイスビルダーのDEMO版を試しています。だいぶ使い方分かってきました。これは良い。シェアウェアなので登録したいのですが、作者が現在新規のユーザーを受け付けてないのか、サイトを覗いてもTWEの<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%B3%E3%83%BC%E3%83%8A%E3%83%BC&ic=utf8" class="affiliate-link" target="_blank">コーナー</a>を休止しているようです。とりあえず作者にメールを送って、このDEMO版を使えるところまで使ってみようかと思っています。</p>

<p class="auto">
<img src="http://thesongremainthesame.blog.so-net.ne.jp/blog/_images/blog/thesongremainthesame/2581.jpg" /></p>

<p class="auto">
初期設定画面完成。</p>

<a name="more"></a>
]]> 
</content>
</entry>
<entry>
<title>アイデア覚え書き。プロンの移動ピクチャー作成しました。</title> 
  <link rel="alternate" type="text/html" href="http://thesongremainthesame.blog.so-net.ne.jp/2004-11-25" />
  <link rel="service.edit" type="application/x.atom+xml" href="http://blog.so-net.ne.jp/atom/blog_id=652/entry_id=2823059" title="アイデア覚え書き。プロンの移動ピクチャー作成しました。" />
  <modified>2009-02-22T14:03:08Z</modified> 
  <issued>2004-11-25 22:42:41+09:00</issued> 
  <id>tag:blog.so-net.ne.jp,2009:thesongremainthesame.2823059</id> 
  <summary type="text/plain"> </summary> 
  <dc:subject></dc:subject> 

<content type="text/html" mode="escaped" xml:lang="ja" xml:base="http://thesongremainthesame.blog.so-net.ne.jp/2004-11-25">
<![CDATA[
<p class="auto">
<img src="http://thesongremainthesame.blog.so-net.ne.jp/blog/_images/blog/thesongremainthesame/656.jpg" /><br class="auto"/>
そろそろ活動始める事にします。SHシリーズと言えば、今まで過去の作品の<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%A2%E3%83%AC%E3%83%B3%E3%82%B8&ic=utf8" class="affiliate-link" target="_blank">アレンジ</a>でしたが今回は完全な新作にするつもりです。今、考えている<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%B2%E3%83%BC%E3%83%A0&ic=utf8" class="affiliate-link" target="_blank">ゲーム</a>内容は、移動方式はSHIIと同様で、今回は六方向への基本攻撃が出来るようにします。SPACEで上昇、Commandで攻撃。地に足がついてる時は向いている方向に、上昇中は向いている方の斜め上に、下降中は向いている方向の斜め下に攻撃します。デフォルトでの攻撃範囲は短いですが、アイテムを取る事により射程が長くなっていくようにします。この基本攻撃にアイテムを取る事により使う事が出来る特殊攻撃を加えようと思っています。この辺の内容はまだ未定ですが。移動中に<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%83%96%E3%83%AD%E3%83%83%E3%82%AF&ic=utf8" class="affiliate-link" target="_blank">ブロック</a>は通り抜けられないというのは前作と同様ですが、下からは通り抜けられて、上からは踏める床が加わります。TAITOの「バブルボブル」みたいな感じの床です。<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%AD%E3%83%A3%E3%83%A9%E3%82%AF%E3%82%BF%E3%83%BC&ic=utf8" class="affiliate-link" target="_blank">キャラクター</a>のサイズは前作、前前作よりも大きくなります。その分攻撃や避けなどの<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%A2%E3%82%AF%E3%82%B7%E3%83%A7%E3%83%B3&ic=utf8" class="affiliate-link" target="_blank">アクション</a>部分に比重が置かれます。マップはSHIIのマップを縦に積み上げた状態、2倍の広さになります。ゲームウィンドウ自体は前作と同じくらいの大きさにしますが、表示されるのは主人公キャラの周囲で移動する事によりスクロールさせます。これは内部のオフスクリーンでは常にマップ全体で敵キャラや主人公を動作させておいて、ウィンドウに転送するのは主人公を中心とするウィンドウの広さの範囲だけ、という仕様でやってみようと思います。全てのラウンドにおいて宝箱が隠されています。ある条件を満たす事で出現し、その内容はゲームクリアに重要なものだったり、単なる体力回復だったりします。そう、今回は「体力制」です。ゲームとしてのスコアも実装します。</p>

<p class="auto">
と、忘れないようにガーと書き並べましたが（笑）。</p>

<p class="auto">
とにかく今回は、マターリ良いものを作りたいです。3DCGも、ちらっと始めたのでゲーム作りに<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%AC%E3%83%B3%E3%82%AC%E3%83%B3&ic=utf8" class="affiliate-link" target="_blank">ガンガン</a>利用していきます。今日は<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=Shade&ic=utf8" class="affiliate-link" target="_blank">Shade</a>で作っておいたプロン（主人公）の移動アクションピクチャーを作成しました。ポーズ変えたり、<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E3%82%AB%E3%83%A1%E3%83%A9&ic=utf8" class="affiliate-link" target="_blank">カメラ</a>の向き、<a href="http://match.seesaa.jp/afr.pl?hid=25&sid=thesongremainthesame:000101041251&k=%E7%85%A7%E6%98%8E&ic=utf8" class="affiliate-link" target="_blank">照明</a>を調節するだけなので非常に楽でした。これドット絵だったら凄く大変な作業なんだよなぁ。</p>

<a name="more"></a>
]]> 
</content>
</entry>

</feed>

