Xna Page update date : Thursday, October 31, 2024 Page creation date : Tuesday, February 23, 2021 XNA programming tips are available. You can create multiplat platform games for Windows and Xbox 360. In-page links At first Settings Basic knowledge Window System Content pipeline Character Keyboard Mouse Gamepad Sprite (2D) Primitives (3D) 3D model Coordinate transformation Collision determination Mathematics Sound Storage Effect Game components Wpf At first What is XNA? XNA is discussed. Thursday, March 7, 2024 Prepare your development environment (4.0 β) Describes the development environment required for game development using XNA. Sunday, March 10, 2024 Install the Windows Phone Developer Tools Install the Windows Phone Developer Tools to install the Windows Phone development environment and XNA Game Studio. Monday, March 18, 2024 Install Visual Studio This section describes the process from downloading to installing Visual C# 2005 Express Edition, the development environment required for XNA development. Tuesday, March 19, 2024 Install XNA Game Studio This section describes the process from downloading to installing XNA Game Studio Express, the development environment required for XNA development. Tuesday, April 30, 2024 Install the Japanese Language Pack Install the Windows Phone Developer Tools to install the Windows Phone development environment and XNA Game Studio. Monday, April 1, 2024 Set up Xbox 360 (4.0 β) Learn how to set up your Xbox360 to develop games for the Xbox360 on XNA. Tuesday, May 28, 2024 Connect Windows to Xbox360 (4.0 β) Enables you to connect your Windows and Xbox 360 environments using XNA Game Studio 2.0 and XNA Game Studio Connect. Wednesday, May 29, 2024 Creating a Game Project for Windows Create a project for your game for Windows in XNA. Tuesday, May 28, 2024 Create a project for your game for Xbox 360 (4.0 β) Create a project for your game for Xbox360 in XNA. Tuesday, May 28, 2024 Creating a project for a game for Windows Phone Create a project for your game for Windows Phone in XNA. Tuesday, May 28, 2024 Distributing games for Windows Learn how to distribute your game for Windows. Tuesday, April 30, 2024 Distributing games for Xbox360 (4.0 β) Learn how to distribute your Xbox 360 game. Tuesday, April 30, 2024 About the Starter Kit (3.0) Describes the starter kit that ships with XNA Game Studio Express. Thursday, May 2, 2024 Get help Describes how to use XNA Help. Tuesday, May 28, 2024 Set up Zune (Support up to 3.0) Describes how to set up Zune to develop games for Zune in XNA Wednesday, May 29, 2024 Set up a connection with Zune (Support up to 3.0) Set up Visual Studio to connect to Zune Wednesday, May 29, 2024 Create a project for Zune (Support up to 3.0) Create a project for your game for Zune in XNA. Wednesday, May 29, 2024 Distributing games for Zune (Support up to 3.0) Learn how to distribute your Zune game. Tuesday, April 30, 2024 Settings Rename a file Change the name of the file registered in the project Thursday, August 29, 2024 Changing the executable icon of the game for Windows Change the icon of the executable file used by the game for Windows and the icon of the game window Thursday, August 29, 2024 Change thumbnail image for Xbox360 and Zune (3.0) Change the thumbnail picture that appears in Xbox 360 and Zune games Sunday, September 1, 2024 Setting the title of the work and the name of the copyright holder (3.0) Change the icon of the executable file used by the game for Windows and the icon of the game window Monday, September 30, 2024 Basic knowledge About Coordinate Transformation of 3D Models This section describes the coordinate transformation of a 3D model. Wednesday, August 28, 2024 Window Show a window Displays a window to show the actual game screen Tuesday, October 29, 2024 Rename the title of the window Change the text in the window's title bar. Wednesday, October 30, 2024 Allow users to change window size Allows users to resize the window arbitrarily. Tuesday, October 29, 2024 Change screen resolution Launch the game on any screen resolution. Tuesday, October 29, 2024 System Changing the background color Filling the background color with black when clearing the screen Thursday, August 29, 2024 Force the game to quit Force the game to quit Friday, August 30, 2024 Boot into full-screen mode Causes a line break in the middle of the string to be displayed Saturday, August 31, 2024 Switch between window mode and full screen Switch between window mode and full-screen mode Saturday, August 31, 2024 Change the number of data updates per second The time interval at which the Update method is called controls the number of times the Update method is called in one second Friday, August 30, 2024 Find out which shader model versions are available (Support up to 3.0) Checking the supported shader model version and video card in the environment in which the program is running Friday, August 30, 2024 Content pipeline Loading Resources (Contents) Describes how to import resources such as image files and model files. Wednesday, February 28, 2024 Specify the initial directory for content Sets the root directory for loading content. Wednesday, February 28, 2024 Load content with any asset name I change the asset name of the file I added to the project and import it. Wednesday, February 28, 2024 Character 英数字を表示させる 画面上に任意の文字列(英数字)を表示させます Monday, August 3, 2020 文字列を改行させる 表示する文字列を途中で改行させます Monday, August 3, 2020 文字を描画する位置を指定 表示する文字の位置を指定します Monday, August 3, 2020 文字の色を変える 表示する文字の色を任意の色で表示させます Monday, August 3, 2020 フォントスタイルの詳細 スプライトフォントファイルと表示される文字の詳細を説明します Monday, August 3, 2020 文字を回転させる テキストを回転させて表示します Monday, August 3, 2020 回転軸を指定して文字を回転させる 回転軸の位置を指定して回転させています Monday, August 3, 2020 文字を拡大縮小させる テキストを拡大縮小させて表示します Monday, August 3, 2020 前後関係を指定して文字を描画する レイヤーの深度値を使用してテキストの前後関係を指定します Monday, August 3, 2020 文字に影を付ける 文字に影をつけて立体的に見えるようにします Monday, August 3, 2020 文字に枠を付ける 文字に枠をつけて表示させます Monday, August 3, 2020 半透明の文字を表示する テキストを半透明で表示させます Monday, August 3, 2020 Keyboard Retrieving the state of a key press on the specified keyboard Checks if a key is pressed on the keyboard specified Saturday, June 1, 2024 Recognize the moment you press a key on the keyboard Allows you to detect the moment you press a key on your keyboard Wednesday, May 29, 2024 Get a list of keyboard keys that are pressed The keys on the keyboard that are pressed are enumerated and displayed on the screen Tuesday, August 27, 2024 Mouse Display the mouse pointer on a window Make sure that the mouse pointer appears on the window Wednesday, August 28, 2024 Get the state of the mouse Gets the current state of the mouse Thursday, August 29, 2024 Recognize the moment you press the mouse button Allows you to detect the moment when you press the left mouse button Thursday, August 29, 2024 Set the mouse pointer to an arbitrary position Set the mouse pointer position to the desired location Thursday, August 29, 2024 Gamepad ゲームパッドの状態を取得する ゲームパッドである Xbox360 コントローラーの入力状態を取得します Tuesday, March 5, 2024 ゲームパッドを振動させる コントローラーを振動させます Tuesday, March 5, 2024 ゲームパッドが本体と接続されているかを調べる Xbox 360 コントローラーが Xbox 360 本体と接続されているかを調べます Tuesday, March 5, 2024 複数のゲームパッドを検出する 複数の Xbox 360 コントローラーが接続されているときに、その入力状態を取得します Tuesday, March 5, 2024 Sprite (2D) Make the sprite appear Load the texture (image) and display it on the screen Wednesday, October 30, 2024 Specify where the sprite is displayed Specifies the position of the sprite Thursday, October 31, 2024 Change the color of the sprite Change the color in which the sprite is displayed Wednesday, October 30, 2024 Rotate the sprite Rotate the sprite Thursday, October 31, 2024 回転軸を指定してスプライトを回転させる スプライトの回転軸の位置を指定して回転させています Monday, August 3, 2020 スプライトを拡大縮小表示する テキストを拡大縮小させて表示します Monday, August 3, 2020 Using Layer Parameters to Create Sprite Context Use the layer's depth value to specify the sprite's context Wednesday, October 30, 2024 テクスチャーから部分的に画像を切り出してスプライトを描画する 作成したテクスチャーから一部分だけを切り出して描画します Monday, August 3, 2020 Draw transparent and semi-transparent sprites Draw a semi-transparent texture. Wednesday, October 30, 2024 Primitives (3D) Displaying triangular polygons Displaying triangular polygons in 3D space Saturday, September 28, 2024 Specify the face of the polygon to be drawn This section explains the surface of a polygon Sunday, September 29, 2024 Draw a trigonal polygon using a vertex buffer Utilize the vertex buffer to draw polygons at high speed Monday, September 30, 2024 Line display Displaying line primitives Friday, September 27, 2024 Displaying contiguous polygons Displaying contiguous polygons Sunday, September 29, 2024 Displaying rectangular polygons Displaying rectangular polygons. Rectangular polygons are also commonly used in 2D and 3D Sunday, September 29, 2024 Displaying Boxes Using Index Buffers I use a lot of polygons to create a box. In doing so, an index buffer is used to reduce the amount of data in the vertex data Sunday, September 29, 2024 Draw the XYZ axis A line is drawn on the XYZ axis to make it easier to understand the positional relationship Monday, September 30, 2024 Applying a texture to a polygon I'm drawing by attaching a texture to a polygon Sunday, September 29, 2024 Use lights to draw polygons Lights (light sources) are used to shade polygons Friday, September 27, 2024 Indication of points (Support up to 3.0) Displaying point primitives Friday, September 27, 2024 3D model Load the X file and view the model The model data is read from the X file (.x) and displayed Wednesday, August 28, 2024 Load the FBX file and view the model The model data is read from the FBX file (.fbx) and displayed Wednesday, August 28, 2024 Coordinate transformation ビュー座標変換 ビュー座標変換のパラメータを操作しています Monday, August 3, 2020 射影座標変換 ビュー座標変換のパラメータを操作しています Monday, August 3, 2020 モデルの移動 並行移動座標変換を行いモデルを移動させます Monday, August 3, 2020 モデルの回転 回転座標変換を行いモデルを回転させます Monday, August 3, 2020 モデルの拡大縮小 スケール座標変換を行いモデルのスケールを変化させます Monday, August 3, 2020 マトリックスの掛け合わせ 移動、回転、スケールを掛け合わせてマトリックスを生成し、モデルを操作しています Monday, August 3, 2020 3次元座標からスクリーンへの座標変換 3D空間の座標からスクリーン上の座標に変換し、モデルの位置に名前を表示するようにしています Monday, August 3, 2020 スクリーン上の位置からモデルを選択 マウスカーソルの位置にあるモデルを選択できるようにしています Monday, August 3, 2020 Collision determination Ball-to-ball collision judgment A sphere that encompasses each model is used to make a hit judgment. In this sample, collision detection is performed for two sphere models Wednesday, February 28, 2024 Mathematics Radian and Degree Describes the Radian and Degree used to represent angles Wednesday, August 28, 2024 Sound Create a file to play a sound in XNA (3.0) Use the Microsoft Cross-Platform Audio Creation Tool (XACT) to create a file for playing sound in XNA Monday, October 28, 2024 Playing Sounds (3.0) Loads and plays a sound file created in XACT Monday, October 28, 2024 Play, pause, and stop by queue (3.0) Use cues to play, pause, and stop sounds Monday, October 28, 2024 Change the volume of the sound (3.0) Change the volume of the sound Sunday, October 27, 2024 Storage 実行ファイルのフォルダパスを取得する (2.0) 実行ファイルのフォルダパスを取得する Monday, August 3, 2020 ストレージコンテナのパスを取得する (2.0) 選択したストレージデバイスのストレージコンテナパスを取得します Monday, August 3, 2020 データの保存 (2.0) 選択したデバイスにファイルとしてデータを保存します Monday, August 3, 2020 データの読み込み (2.0) 選択したデバイスにファイルとしてデータを保存します Monday, August 3, 2020 ファイルがあるか確認する (2.0) 指定したファイルが存在するか確認します Monday, August 3, 2020 ファイルの作成・複製・削除・移動・リネーム (2.0) ファイルに対して「作成」「複製」「削除」「移動」などの各種操作を行います Monday, August 3, 2020 指定したディレクトリ内のファイルの一覧を列挙する (2.0) 指定したディレクトリ内のファイルの一覧を列挙します Monday, August 3, 2020 保存デバイスの容量を調べる (2.0) 指定した保存デバイスの全領域サイズ、空き容量のサイズを取得します Monday, August 3, 2020 Effect BasicEffect Materials Manipulate the parameters related to the material part of the BasicEffect to see how the model looks Monday, March 4, 2024 BasicEffect Lights Manipulate the parameters related to the light portion of the BasicEffect to see how the model appears Thursday, February 29, 2024 BasicEffect Fog Manipulate the parameters related to the material part of the BasicEffect to see how the model looks Wednesday, February 28, 2024 Game components GameComponent 2007/ 2/ 3 の日記です。XNA のコンポーネントについて説明しています。 Tuesday, March 5, 2024 DrawableGameComponent 2007/ 2/12 の日記です。XNA の描画用コンポーネント DrawableGameComponent について説明しています。 Tuesday, March 5, 2024 Wpf WPF アプリケーションで XNA を使用する (3.0) WPF アプリケーションで XNA Framework を使用する方法について説明しています Monday, August 3, 2020 WPF ウインドウ上に直接 XNA のビューを表示する (3.0) WPF ウインドウに直接 XNA でレンダリングする方法について説明しています Monday, August 3, 2020
Prepare your development environment (4.0 β) Describes the development environment required for game development using XNA. Sunday, March 10, 2024
Install the Windows Phone Developer Tools Install the Windows Phone Developer Tools to install the Windows Phone development environment and XNA Game Studio. Monday, March 18, 2024
Install Visual Studio This section describes the process from downloading to installing Visual C# 2005 Express Edition, the development environment required for XNA development. Tuesday, March 19, 2024
Install XNA Game Studio This section describes the process from downloading to installing XNA Game Studio Express, the development environment required for XNA development. Tuesday, April 30, 2024
Install the Japanese Language Pack Install the Windows Phone Developer Tools to install the Windows Phone development environment and XNA Game Studio. Monday, April 1, 2024
Set up Xbox 360 (4.0 β) Learn how to set up your Xbox360 to develop games for the Xbox360 on XNA. Tuesday, May 28, 2024
Connect Windows to Xbox360 (4.0 β) Enables you to connect your Windows and Xbox 360 environments using XNA Game Studio 2.0 and XNA Game Studio Connect. Wednesday, May 29, 2024
Creating a Game Project for Windows Create a project for your game for Windows in XNA. Tuesday, May 28, 2024
Create a project for your game for Xbox 360 (4.0 β) Create a project for your game for Xbox360 in XNA. Tuesday, May 28, 2024
Creating a project for a game for Windows Phone Create a project for your game for Windows Phone in XNA. Tuesday, May 28, 2024
Distributing games for Windows Learn how to distribute your game for Windows. Tuesday, April 30, 2024
Distributing games for Xbox360 (4.0 β) Learn how to distribute your Xbox 360 game. Tuesday, April 30, 2024
About the Starter Kit (3.0) Describes the starter kit that ships with XNA Game Studio Express. Thursday, May 2, 2024
Set up Zune (Support up to 3.0) Describes how to set up Zune to develop games for Zune in XNA Wednesday, May 29, 2024
Set up a connection with Zune (Support up to 3.0) Set up Visual Studio to connect to Zune Wednesday, May 29, 2024
Create a project for Zune (Support up to 3.0) Create a project for your game for Zune in XNA. Wednesday, May 29, 2024
Distributing games for Zune (Support up to 3.0) Learn how to distribute your Zune game. Tuesday, April 30, 2024
Changing the executable icon of the game for Windows Change the icon of the executable file used by the game for Windows and the icon of the game window Thursday, August 29, 2024
Change thumbnail image for Xbox360 and Zune (3.0) Change the thumbnail picture that appears in Xbox 360 and Zune games Sunday, September 1, 2024
Setting the title of the work and the name of the copyright holder (3.0) Change the icon of the executable file used by the game for Windows and the icon of the game window Monday, September 30, 2024
About Coordinate Transformation of 3D Models This section describes the coordinate transformation of a 3D model. Wednesday, August 28, 2024
Rename the title of the window Change the text in the window's title bar. Wednesday, October 30, 2024
Allow users to change window size Allows users to resize the window arbitrarily. Tuesday, October 29, 2024
Changing the background color Filling the background color with black when clearing the screen Thursday, August 29, 2024
Boot into full-screen mode Causes a line break in the middle of the string to be displayed Saturday, August 31, 2024
Switch between window mode and full screen Switch between window mode and full-screen mode Saturday, August 31, 2024
Change the number of data updates per second The time interval at which the Update method is called controls the number of times the Update method is called in one second Friday, August 30, 2024
Find out which shader model versions are available (Support up to 3.0) Checking the supported shader model version and video card in the environment in which the program is running Friday, August 30, 2024
Loading Resources (Contents) Describes how to import resources such as image files and model files. Wednesday, February 28, 2024
Specify the initial directory for content Sets the root directory for loading content. Wednesday, February 28, 2024
Load content with any asset name I change the asset name of the file I added to the project and import it. Wednesday, February 28, 2024
Retrieving the state of a key press on the specified keyboard Checks if a key is pressed on the keyboard specified Saturday, June 1, 2024
Recognize the moment you press a key on the keyboard Allows you to detect the moment you press a key on your keyboard Wednesday, May 29, 2024
Get a list of keyboard keys that are pressed The keys on the keyboard that are pressed are enumerated and displayed on the screen Tuesday, August 27, 2024
Display the mouse pointer on a window Make sure that the mouse pointer appears on the window Wednesday, August 28, 2024
Recognize the moment you press the mouse button Allows you to detect the moment when you press the left mouse button Thursday, August 29, 2024
Set the mouse pointer to an arbitrary position Set the mouse pointer position to the desired location Thursday, August 29, 2024
Make the sprite appear Load the texture (image) and display it on the screen Wednesday, October 30, 2024
Specify where the sprite is displayed Specifies the position of the sprite Thursday, October 31, 2024
Change the color of the sprite Change the color in which the sprite is displayed Wednesday, October 30, 2024
Using Layer Parameters to Create Sprite Context Use the layer's depth value to specify the sprite's context Wednesday, October 30, 2024
Draw transparent and semi-transparent sprites Draw a semi-transparent texture. Wednesday, October 30, 2024
Displaying triangular polygons Displaying triangular polygons in 3D space Saturday, September 28, 2024
Specify the face of the polygon to be drawn This section explains the surface of a polygon Sunday, September 29, 2024
Draw a trigonal polygon using a vertex buffer Utilize the vertex buffer to draw polygons at high speed Monday, September 30, 2024
Displaying rectangular polygons Displaying rectangular polygons. Rectangular polygons are also commonly used in 2D and 3D Sunday, September 29, 2024
Displaying Boxes Using Index Buffers I use a lot of polygons to create a box. In doing so, an index buffer is used to reduce the amount of data in the vertex data Sunday, September 29, 2024
Draw the XYZ axis A line is drawn on the XYZ axis to make it easier to understand the positional relationship Monday, September 30, 2024
Applying a texture to a polygon I'm drawing by attaching a texture to a polygon Sunday, September 29, 2024
Use lights to draw polygons Lights (light sources) are used to shade polygons Friday, September 27, 2024
Load the X file and view the model The model data is read from the X file (.x) and displayed Wednesday, August 28, 2024
Load the FBX file and view the model The model data is read from the FBX file (.fbx) and displayed Wednesday, August 28, 2024
Ball-to-ball collision judgment A sphere that encompasses each model is used to make a hit judgment. In this sample, collision detection is performed for two sphere models Wednesday, February 28, 2024
Radian and Degree Describes the Radian and Degree used to represent angles Wednesday, August 28, 2024
Create a file to play a sound in XNA (3.0) Use the Microsoft Cross-Platform Audio Creation Tool (XACT) to create a file for playing sound in XNA Monday, October 28, 2024
Play, pause, and stop by queue (3.0) Use cues to play, pause, and stop sounds Monday, October 28, 2024
BasicEffect Materials Manipulate the parameters related to the material part of the BasicEffect to see how the model looks Monday, March 4, 2024
BasicEffect Lights Manipulate the parameters related to the light portion of the BasicEffect to see how the model appears Thursday, February 29, 2024
BasicEffect Fog Manipulate the parameters related to the material part of the BasicEffect to see how the model looks Wednesday, February 28, 2024
DrawableGameComponent 2007/ 2/12 の日記です。XNA の描画用コンポーネント DrawableGameComponent について説明しています。 Tuesday, March 5, 2024