Xna Page update date : Sunday, December 29, 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 Display alphanumeric characters Display an arbitrary character string (alphanumeric) on the screen Friday, November 29, 2024 Breaking a string Causes a line break in the middle of the string to be displayed Friday, December 27, 2024 Specify the position where the text is drawn Specifies the position of the characters to be displayed Friday, December 27, 2024 Change the color of text Display the color of the text to be displayed in any color Saturday, December 28, 2024 More about font styles Describes the details of the sprite font file and the characters displayed Saturday, November 30, 2024 Rotate text Rotate the text to display it Saturday, December 28, 2024 Rotate text by specifying the rotation axis Rotating by specifying the position of the rotation axis Friday, December 27, 2024 Scale text Scales the text Saturday, December 28, 2024 Draw text in context Use the depth value of the layer to specify the context of the text Friday, December 27, 2024 Add a shadow to text Add shadows to the text to make it look three-dimensional Saturday, December 28, 2024 Add a border to text Display the text with a frame Saturday, November 30, 2024 Display semi-transparent text Make the text appear semi-transparent Saturday, December 28, 2024 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 Rotate the sprite by specifying the axis of rotation The position of the sprite's rotation axis is specified and rotated Thursday, December 26, 2024 Zooming in and out of sprites Scales the text Thursday, December 26, 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 a sprite by cutting out a partial image from a texture Draw only a part of the created texture Friday, December 27, 2024 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 Get the folder path of the executable file (2.0) Get the folder path of the executable file Thursday, November 28, 2024 Get the path of the storage container (2.0) Retrieves the storage container path of the selected storage device Friday, November 29, 2024 Data Retention (2.0) Save the data as a file on the device of your choice Friday, November 29, 2024 Loading data (2.0) Save the data as a file on the device of your choice Friday, November 29, 2024 Check if the file is there (2.0) Verify that the specified file exists Wednesday, November 27, 2024 Creating, duplicating, deleting, moving, and renaming files (2.0) Perform various operations such as "Create", "Duplicate", "Delete", and "Move" on the file Thursday, November 28, 2024 Enumerate a list of files in a specified directory (2.0) Enumerates a list of files in the specified directory Wednesday, November 27, 2024 Find out how much space your storage device has (2.0) Retrieves the total area size and free space size of the specified storage device Wednesday, November 27, 2024 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 Using XNA in WPF Applications (3.0) Describes how to use the XNA Framework in a WPF application Sunday, December 29, 2024 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
Display alphanumeric characters Display an arbitrary character string (alphanumeric) on the screen Friday, November 29, 2024
Breaking a string Causes a line break in the middle of the string to be displayed Friday, December 27, 2024
Specify the position where the text is drawn Specifies the position of the characters to be displayed Friday, December 27, 2024
Change the color of text Display the color of the text to be displayed in any color Saturday, December 28, 2024
More about font styles Describes the details of the sprite font file and the characters displayed Saturday, November 30, 2024
Rotate text by specifying the rotation axis Rotating by specifying the position of the rotation axis Friday, December 27, 2024
Draw text in context Use the depth value of the layer to specify the context of the text Friday, December 27, 2024
Add a shadow to text Add shadows to the text to make it look three-dimensional Saturday, December 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
Rotate the sprite by specifying the axis of rotation The position of the sprite's rotation axis is specified and rotated Thursday, December 26, 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 a sprite by cutting out a partial image from a texture Draw only a part of the created texture Friday, December 27, 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
Get the folder path of the executable file (2.0) Get the folder path of the executable file Thursday, November 28, 2024
Get the path of the storage container (2.0) Retrieves the storage container path of the selected storage device Friday, November 29, 2024
Creating, duplicating, deleting, moving, and renaming files (2.0) Perform various operations such as "Create", "Duplicate", "Delete", and "Move" on the file Thursday, November 28, 2024
Enumerate a list of files in a specified directory (2.0) Enumerates a list of files in the specified directory Wednesday, November 27, 2024
Find out how much space your storage device has (2.0) Retrieves the total area size and free space size of the specified storage device Wednesday, November 27, 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
Using XNA in WPF Applications (3.0) Describes how to use the XNA Framework in a WPF application Sunday, December 29, 2024