2Dグラフィック
2Dの描画の基本についての議論するとともに、スプライトの表示のしかたの実例を示します。
2Dグラフィック概要?
スプライトの使用の基本的な部分です。
How to: スプライトを描画する
この文章では、SpriteBatchクラスを用いてスプライトを描画する方法をデモンストレーションします。
How to: スプライトのアニメーション
この文章では、スプライトをアニメーションさせるクラスを作る方法を示します。
How to: マスキングされたテクスチャの作り方
この文章では、マスキングレイヤー(透過色、透明色、抜き色)を持つテクスチャを作る方法を述べます。DirectX Texture Toolを使ってPNGフォーマットから作る方法と、同じくBMPフォーマットから作る方法を示します。DirectX Texture ToolはDirectX SDKに含まれるユーティリティです。
How to: 背景の上にマスクされたスプライトを描画する
この文章では、前景のスプライトが部分的に背景を覆い隠しているときに、SpriteBatchクラスを用いて背景のスプライトと前景のスプライトを描画する方法を述べます。前景のスプライトはHow to: マスキングされたテクスチャの作り方で述べられているようなマスキングの情報を持ちます。
How to: スクロールする背景を作る?
This article demonstrates how to draw a scrolling background sprite using the SpriteBatch class.
How to: スプライトを回転させる?
This article demonstrates how to rotate a sprite around its center.
How to: スプライト・グループを回転させる?
This article demonstrates how to rotate a group of sprites around a single point using a rotation Matrix.
How to: スプライトを拡大縮小させる?
This article demonstrates how to scale a sprite using a uniform scale, non-uniform scale, or a destination rectangle.
How to: スプライトの色合いを変える?
This article demonstrates how to tint a sprite using a Color value.
affillogo.gif