<?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>いちばんやさしいゲームの作り方 &#187; 手順</title>
	<atom:link href="http://www.game-create.com/archives/tag/%e6%89%8b%e9%a0%86/feed" rel="self" type="application/rss+xml" />
	<link>http://www.game-create.com</link>
	<description>文系の人でも、数理学がわからない人でもゲームプログラミングをマスターできるブログ</description>
	<lastBuildDate>Tue, 08 Jun 2010 01:28:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ファイルに保存されている画像を画面に表示する際の基本</title>
		<link>http://www.game-create.com/archives/317</link>
		<comments>http://www.game-create.com/archives/317#comments</comments>
		<pubDate>Sat, 05 Apr 2008 16:23:38 +0000</pubDate>
		<dc:creator>Byerkut</dc:creator>
				<category><![CDATA[ゲームプログラミング]]></category>
		<category><![CDATA[手順]]></category>
		<category><![CDATA[画像]]></category>

		<guid isPermaLink="false">http://www.game-create.com/?p=317</guid>
		<description><![CDATA[ファイルに保存されている画像を画面に表示する際の基本となる手順があります。これは、どの技術でゲームを作る場合でもおおむね共通性があります。

ゲームで使うキャラクターや背景の画像は、たいていの場合ファイルに保存されている [...]]]></description>
			<content:encoded><![CDATA[<p>ファイルに保存されている画像を画面に表示する際の基本となる手順があります。これは、どの技術でゲームを作る場合でもおおむね共通性があります。</p>
<p><span id="more-317"></span></p>
<p>ゲームで使うキャラクターや背景の画像は、たいていの場合ファイルに保存されているわけですが、ファイルに保存されている画像を画面に表示する際には、次のステップを踏みます。</p>
<ul>
<li>ファイルからメモリへ読み込む</li>
<li>メモリからオフスクリーンサーフェスへ転送する</li>
<li>オフスクリーンサーフェスをプライマリサーフェスへ転送する</li>
</ul>
<p>プライマリサーフェスとは、プレイヤーが実際に目にするゲーム画面のことです。たとえば Windows でゲームを作る場合はウィンドウがこれに相当します。一方のオフスクリーンサーフェスとは、プレイヤーからは見えないもうひとつのゲーム画面を意味します。なぜ、ゲーム画面がふたつもあるのかというと、ゲーム画面のチラつきを抑えるためです。「どうせプレイヤーが見るのはプライマリサーフェスだけなんだから、直接ここにキャラクターを描いていこうぜ」などと設計してしまうと、描いている途中の絵がプレイヤーに見えてしまい、これがチラつきの原因になります。これを回避するために、まずはオフスクリーンサーフェスにゲーム画面を構築し、描き終わったらプライマリサーフェスへ転送するという手法をとります。</p>
<p>ここで重要なのは、ファイルに保存されている画像を直接オフスクリーンサーフェスへ転送するのではなく、一度メモリへため込んで、そこから転送するという点です。これは、ファイルから画像を転送するよりも、メモリから画像を転送した方が遙かに処理が軽いからです。ゲーム画面は１秒間に数十回更新されますので、なるべく描画にかかるコストは抑えた方が良いというわけです。もし、毎回ファイルから画像を転送していたりするとコマ落ちが発生してしまいます。</p>
<p>ちなみに、ここで「転送」という言葉を多用していますが、ここで言う「転送」とは「画像ファイルから読み込んだ絵を描画するためにデータをコピーすること」を意味します。画像ファイル→「読み込み」→メモリ→「転送」→オフスクリーンサーフェス→「転送」→プライマリサーフェスという関係になります。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.game-create.com/archives/317/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual C++ 2008 Express Edition でプロジェクトを新規作成する手順</title>
		<link>http://www.game-create.com/archives/270</link>
		<comments>http://www.game-create.com/archives/270#comments</comments>
		<pubDate>Sun, 24 Feb 2008 04:27:27 +0000</pubDate>
		<dc:creator>Byerkut</dc:creator>
				<category><![CDATA[ゲームプログラミング]]></category>
		<category><![CDATA[VC++ 2008 EE]]></category>
		<category><![CDATA[プロジェクト]]></category>
		<category><![CDATA[手順]]></category>

		<guid isPermaLink="false">http://www.game-create.com/?p=270</guid>
		<description><![CDATA[Visual C++ 2008 Express Edition で新規のプロジェクトを作成する方法です。


Visual C++ 2008 Express Edition のプロジェクト作成方法

Visual C++ [...]]]></description>
			<content:encoded><![CDATA[<p>Visual C++ 2008 Express Edition で新規のプロジェクトを作成する方法です。</p>
<p><span id="more-270"></span></p>
<ul>
<li><a href="http://www.game-create.com/wp-content/uploads/manuals/articles/instructions/VC2008EE_NewPrjct/vc2008ee_newprjct_viewlet_swf.html">Visual C++ 2008 Express Edition のプロジェクト作成方法</a></li>
</ul>
<p>Visual C++ 2005 Express Edition の時と違い、「コンソールアプリケーション」は選択しません。かわりに「 Win32 プロジェクト」を選択します。実は 2005 の時は設定ファイルを編集して無理矢理 Win32 アプリケーションを作っていました。今回紹介する 2008 のやり方が正しい作り方ですので覚えてください。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.game-create.com/archives/270/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual C++ 2008 Express Edition をインストールする手順</title>
		<link>http://www.game-create.com/archives/235</link>
		<comments>http://www.game-create.com/archives/235#comments</comments>
		<pubDate>Fri, 25 Jan 2008 12:34:03 +0000</pubDate>
		<dc:creator>Byerkut</dc:creator>
				<category><![CDATA[ゲームプログラミング]]></category>
		<category><![CDATA[VC++ 2008 EE]]></category>
		<category><![CDATA[手順]]></category>

		<guid isPermaLink="false">http://www.game-create.com/?p=235</guid>
		<description><![CDATA[Visual C++ 2008 Express Edition は Visual C++ 2008 の機能を個人向け＆ホビーユース向け＆評価向けに簡略化した統合開発環境です。
Visual C++ 2008 Expres [...]]]></description>
			<content:encoded><![CDATA[<p>Visual C++ 2008 Express Edition は Visual C++ 2008 の機能を個人向け＆ホビーユース向け＆評価向けに簡略化した統合開発環境です。</p>
<p>Visual C++ 2008 Express Edition には次のようなメリットがあります。</p>
<ul>
<li>無償で利用ができる</li>
<li>試用期限がない（いつまでも使える）</li>
<li>開発したアプリケーションの商用利用ができる</li>
<li>最適化コンパイラが付属している</li>
</ul>
<p>つまり個人ゲーム開発にはもってこいというわけです。</p>
<p>以下、インストールの手順です。</p>
<p><span id="more-235"></span></p>
<ul>
<li>Windows Update を無効にする</li>
<li><a href="http://www.game-create.com/wp-content/uploads/manuals/articles/instructions/VC2008EE_Download/vc2008ee_download_viewlet_swf.html">Visual C++ 2008 Express Edition をダウンロードする</a></li>
<li>ダウンロードした vcsetup.exe を実行する</li>
<li><a href="http://www.game-create.com/wp-content/uploads/manuals/articles/instructions/VC2008EE_Install/vc2008ee_install_viewlet_swf.html">Visual C++ 2008 Express Edition をインストールする</a></li>
<li>Windows Update を有効にする</li>
<li>重要な更新がなくなるまで Windows Update を繰り返す</li>
</ul>
<p>インストールの際にエラーが出てしまう場合は次の点を確認してください。</p>
<ul>
<li>Windows Update は確実に無効になっているか？</li>
<li>MS Office 2007 がインストールされている場合は MSOCache ディレクトリが存在しているか？</li>
<li>IIS がインストールされていないか？（インストールされている場合は一度アンインストールする）</li>
</ul>
<p>Visual C++ 2008 Express Edition には Win32API を使うためにヘッダやライブラリが付属しておりますので Microsoft Windows SDK は不要です。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.game-create.com/archives/235/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Vista で BitLocker をオンにするためのセットアップ手順</title>
		<link>http://www.game-create.com/archives/48</link>
		<comments>http://www.game-create.com/archives/48#comments</comments>
		<pubDate>Thu, 23 Aug 2007 10:48:28 +0000</pubDate>
		<dc:creator>Byerkut</dc:creator>
				<category><![CDATA[コンピュータ]]></category>
		<category><![CDATA[BitLocker]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[手順]]></category>

		<guid isPermaLink="false">http://www.game-create.com/?p=48</guid>
		<description><![CDATA[Windows Vista で BitLocker をオンにするためのセットアップ手順です。

Microsoft の公式サイトからの転載ですが、いつページがなくなるか心配だったので載せることにしました。

Window [...]]]></description>
			<content:encoded><![CDATA[<p>Windows Vista で BitLocker をオンにするためのセットアップ手順です。</p>
<p><span id="more-48"></span></p>
<p>Microsoft の公式サイトからの転載ですが、いつページがなくなるか心配だったので載せることにしました。</p>
<ol>
<li>Windows Vista 製品 DVD からコンピュータを起動します。</li>
<li>最初の [Windows のインストール] 画面で、インストール言語、時刻と通貨の形式、およびキーボード レイアウトを選択し、[次へ] をクリックします。</li>
<li>次の [Windows のインストール] 画面で、左下にある [システム回復オプション] をクリックします。</li>
<li>[システム回復オプション] ダイアログ ボックスでキーボード レイアウトを選択し、[次へ] をクリックします。</li>
<li>次に [システム回復オプション] ダイアログ ボックスで、オペレーティング システムを選択していないことを確認します。この操作を行うには、[オペレーティング システム] ボックスの空白部分 (すべてのエントリの下) をクリックします。 [次へ] をクリックします。</li>
<li>[システム回復オプション] ダイアログ ボックスで、[コマンド プロンプト] をクリックします。</li>
<li>Diskpart を使用してオペレーティング システム ボリューム用のパーティションを作成します。 コマンド プロンプトで「diskpart」と入力し、Enter キーを押します。</li>
<li>「select disk 0」と入力します。</li>
<li>「clean」と入力し、既存のパーティション テーブルを消去します。</li>
<li>「create partition primary size=1500」と入力し、作成中のパーティションをプライマリパーティションに設定します。</li>
<li>「assign letter=S」と入力し、このパーティションのドライブ文字として S を割り当てます。</li>
<li>「active」と入力し、新しいパーティションをアクティブ パーティションに設定します。</li>
<li>「create partition primary」と入力し、作成中のパーティションをプライマリ パーティションに設定します。</li>
<li>「assign letter=C」と入力し、このパーティションのドライブ文字として C を割り当てます。</li>
<li>「exit」と入力し、Diskpart を終了します。</li>
<li>「chkdsk /f c:」と入力し、C ボリュームが元の状態のままかどうか確認します。 /f フラグを使用すると、エラー修正に関する質問の答えに自動的に &#8220;Yes&#8221; が選択されます。</li>
<li>「chkdsk /f s:」と入力し、S ボリュームが元の状態のままかどうか確認します。</li>
<li>「format c: /y /q /fs:NTFS」と入力し、 C ボリュームをフォーマットします。</li>
<li>「format s: /y /q /fs:NTFS」と入力し、 S ボリュームをフォーマットします。</li>
<li>「exit」と入力し、コマンド プロンプトを終了します。</li>
<li>[システム回復オプション] ウィンドウで、右上にある閉じるボタンを使用して (または Alt + F4 キーを押して) ウィンドウを閉じ、メインのインストール画面に戻ります ([シャットダウン] または [再起動] をクリックしないでください)。</li>
<li>[インストール] をクリックして Windows Vista のインストール プロセスを続行します。 Windows Vista をボリューム C (オペレーティング システム ボリューム) にインストールします。</li>
</ol>
<p>ちなみにプライマリパーティションをアクティブにすると、そのドライブにあるブートローダーからシステムが起動します。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.game-create.com/archives/48/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Windows SDK の設定項目に不備を発見！</title>
		<link>http://www.game-create.com/archives/43</link>
		<comments>http://www.game-create.com/archives/43#comments</comments>
		<pubDate>Tue, 21 Aug 2007 08:30:46 +0000</pubDate>
		<dc:creator>Byerkut</dc:creator>
				<category><![CDATA[ゲームプログラミング]]></category>
		<category><![CDATA[Windows SDK]]></category>
		<category><![CDATA[手順]]></category>

		<guid isPermaLink="false">http://www.game-create.com/?p=43</guid>
		<description><![CDATA[リンクする項目に winmm.lib が足りませんでした。公式情報なのに…

C:\Program Files\Microsoft Visual Studio 8\VC\VCProjectDefaults\corewin [...]]]></description>
			<content:encoded><![CDATA[<p>リンクする項目に winmm.lib が足りませんでした。公式情報なのに…</p>
<p><span id="more-43"></span></p>
<p>C:\Program Files\Microsoft Visual Studio 8\VC\VCProjectDefaults\corewin_express.vsprops の８行目付近。</p>
<div class="hl-surround" ><div class="hl-main"><pre><span class="hl-default">AdditionalDependencies=&quot;kernel32.lib user32.lib
                        gdi32.lib winspool.lib
                        comdlg32.lib advapi32.lib
                        shell32.lib ole32.lib
                        oleaut32.lib uuid.lib
                        winmm.lib&quot;</span></pre></div></div>
<p>一番最後に winmm.lib を追加してください。</p>
<p>過去の記事は修正済みです。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.game-create.com/archives/43/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual C++ 2005 Express Edition でプロジェクトを新規作成する手順</title>
		<link>http://www.game-create.com/archives/19</link>
		<comments>http://www.game-create.com/archives/19#comments</comments>
		<pubDate>Thu, 02 Aug 2007 04:24:54 +0000</pubDate>
		<dc:creator>Byerkut</dc:creator>
				<category><![CDATA[ゲームプログラミング]]></category>
		<category><![CDATA[VC++ 2005 EE]]></category>
		<category><![CDATA[手順]]></category>

		<guid isPermaLink="false">http://www.game-create.com/?p=19</guid>
		<description><![CDATA[Visual C++ 2005 Express Edition で新規のプロジェクトを作成する方法です。


Visual C++ 2005 Express Edition のプロジェクト作成方法

新規作成の際、 Wi [...]]]></description>
			<content:encoded><![CDATA[<p>Visual C++ 2005 Express Edition で新規のプロジェクトを作成する方法です。</p>
<p><span id="more-19"></span></p>
<ul>
<li><a href="http://www.game-create.com/wp-content/uploads/manuals/articles/instructions/VC2005EE_NewPrjct/vc2005ee_newprjct_viewlet_swf.html">Visual C++ 2005 Express Edition のプロジェクト作成方法</a></li>
</ul>
<p>新規作成の際、 Windows アプリケーションを作る場合でも、まず「 Win32 コンソールアプリケーション」を選択する必要がある点に注意です。その後のウィザードで「 Windows アプリケーション」を選択します。</p>
<p>なお、この方法で Windows アプリケーションを作る場合は <a href="http://www.game-create.com/archives/13">Microsoft Windows SDK</a> をインストールする必要があります。</p>
<h4>重大な正誤情報</h4>
<p>ムービーの最後の画面に間違いがありました。</p>
<p>ムービーの最後に「この画面が出れば完了です」とあり、背後にソースファイルやヘッダファイルがいくつか追加されている画面が表示されますが、本来は<strong>ファイルが何もない状態が正解</strong>です。</p>
<p>ファイルが追加されている状態ではサンプルソースをコンパイルできませんのでご注意ください。</p>
<p>ご迷惑をおかけいたしまして申し訳ありません。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.game-create.com/archives/19/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Windows SDK をインストールする手順</title>
		<link>http://www.game-create.com/archives/13</link>
		<comments>http://www.game-create.com/archives/13#comments</comments>
		<pubDate>Fri, 27 Jul 2007 11:15:38 +0000</pubDate>
		<dc:creator>Byerkut</dc:creator>
				<category><![CDATA[ゲームプログラミング]]></category>
		<category><![CDATA[Windows SDK]]></category>
		<category><![CDATA[手順]]></category>

		<guid isPermaLink="false">http://www.game-create.com/?p=13</guid>
		<description><![CDATA[Microsoft Windows SDK （旧称 Windows Platform SDK ）は Windows アプリケーションを開発するためのヘッダーファイルやライブラリの集合です。

以下、インストール手順です。 [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft Windows SDK （旧称 Windows Platform SDK ）は Windows アプリケーションを開発するためのヘッダーファイルやライブラリの集合です。</p>
<p><span id="more-13"></span></p>
<p>以下、インストール手順です。</p>
<ol id="procedure">
<li><a href="http://www.game-create.com/wp-content/uploads/manuals/articles/instructions/Win32API_Download/win32api_download_viewlet_swf.html">Microsoft Windows SDK をダウンロードする</a></li>
<li>ダウンロードしたファイルを CD-R 等のメディアに焼く</li>
<li>焼いたメディアから setup.exe を起動して <a href="http://www.game-create.com/wp-content/uploads/manuals/articles/instructions/Win32API_Install/win32api_install_viewlet_swf.html">Microsoft Windows SDK をインストールする</a></li>
<li>「スタートメニュー」→「すべてのプログラム」→「 Microsoft Windows SDK 」→「 Visual Studio Registration （Visual Studio の統合）」→「Windows SDK 」の中にある「 Visual Studio 2005 の統合」を<strong>「管理者として実行」</strong>する（※）</li>
<li><a href="#edit_file_1">corewin_express.vsprops ファイルを編集する</a></li>
<li><a href="#edit_file_2">AppSettings.htm ファイルを編集する</a></li>
</ol>
<p>※「管理者として実行」は右クリックで出てくるメニューから選びます。</p>
<p>以上です。</p>
<h4 id="edit_file_1">corewin_express.vsprops ファイルを編集する</h4>
<p>C:\Program Files\Microsoft Visual Studio 8\VC\VCProjectDefaults\corewin_express.vsprops の８行目付近。</p>
<p>編集前</p>
<div class="hl-surround" style="height:16.8px;"><div class="hl-main"><pre><span class="hl-default">AdditionalDependencies=&quot;kernel32.lib&quot;</span></pre></div></div>
<p>編集後</p>
<div class="hl-surround" ><div class="hl-main"><pre><span class="hl-default">AdditionalDependencies=&quot;kernel32.lib user32.lib
                        gdi32.lib winspool.lib
                        comdlg32.lib advapi32.lib
                        shell32.lib ole32.lib
                        oleaut32.lib uuid.lib
                        winmm.lib&quot;</span></pre></div></div>
<p><a href="#procedure">手順に戻る</a></p>
<h4 id="edit_file_2">AppSettings.htm ファイルを編集する</h4>
<p>C:\Program Files\Microsoft Visual Studio 8\VC\VCWizards\AppWiz\Generic\Application\html\1041\AppSettings.htm の486 行目付近。</p>
<p>編集前</p>
<div class="hl-surround" ><div class="hl-main"><pre><span class="hl-identifier">WIN_APP</span><span class="hl-default">.</span><span class="hl-identifier">disabled</span><span class="hl-default"> = </span><span class="hl-reserved">true</span><span class="hl-default">;
</span><span class="hl-identifier">WIN_APP_LABEL</span><span class="hl-default">.</span><span class="hl-identifier">disabled</span><span class="hl-default"> = </span><span class="hl-reserved">true</span><span class="hl-default">;
</span><span class="hl-identifier">DLL_APP</span><span class="hl-default">.</span><span class="hl-identifier">disabled</span><span class="hl-default"> = </span><span class="hl-reserved">true</span><span class="hl-default">;
</span><span class="hl-identifier">DLL_APP_LABEL</span><span class="hl-default">.</span><span class="hl-identifier">disabled</span><span class="hl-default"> = </span><span class="hl-reserved">true</span><span class="hl-default">;</span></pre></div></div>
<p>編集後</p>
<div class="hl-surround" ><div class="hl-main"><pre><span class="hl-comment">// WIN_APP.disabled = true;
// WIN_APP_LABEL.disabled = true;
// DLL_APP.disabled = true;
// DLL_APP_LABEL.disabled = true;</span></pre></div></div>
<p><a href="#procedure">手順に戻る</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.game-create.com/archives/13/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Visual C++ 2005 Express Edition をインストールする手順</title>
		<link>http://www.game-create.com/archives/12</link>
		<comments>http://www.game-create.com/archives/12#comments</comments>
		<pubDate>Fri, 27 Jul 2007 11:15:31 +0000</pubDate>
		<dc:creator>Byerkut</dc:creator>
				<category><![CDATA[ゲームプログラミング]]></category>
		<category><![CDATA[VC++ 2005 EE]]></category>
		<category><![CDATA[手順]]></category>

		<guid isPermaLink="false">http://www.game-create.com/?p=12</guid>
		<description><![CDATA[Visual C++ 2005 Express Edition は Visual C++ 2005 の機能を個人向け＆ホビーユース向け＆評価向けに簡略化した統合開発環境です。

Visual C++ 2005 Expre [...]]]></description>
			<content:encoded><![CDATA[<p>Visual C++ 2005 Express Edition は Visual C++ 2005 の機能を個人向け＆ホビーユース向け＆評価向けに簡略化した統合開発環境です。</p>
<p><span id="more-12"></span></p>
<p>Visual C++ 2005 Express Edition には次のようなメリットがあります。</p>
<ul>
<li>無償で利用ができる</li>
<li>試用期限がない（いつまでも使える）</li>
<li>開発したアプリケーションの商用利用ができる</li>
<li>最適化コンパイラが付属している</li>
</ul>
<p>つまり個人ゲーム開発にはもってこいというわけです。</p>
<p>以下、インストールの手順です。</p>
<ol>
<li><a href="http://www.game-create.com/wp-content/uploads/manuals/articles/instructions/VC2005EE_Download/vc2005ee_download_viewlet_swf.html">Visual C++ 2005 Express Edition をダウンロードする</a></li>
<li>ダウンロードした vcsetup.exe を実行する</li>
<li><a href="http://www.game-create.com/wp-content/uploads/manuals/articles/instructions/VC2005EE_Install/vc2005ee_install_viewlet_swf.html">Visual C++ 2005 Express Edition をインストールする</a></li>
<li>重要な更新がなくなるまで Windows Update を繰り返す</li>
</ol>
<p>次は <a href="http://www.game-create.com/archives/13">Microsoft Windows SDK のインストール手順</a>です。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.game-create.com/archives/12/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

