xna
Method for high quality output in XNA 4.0
I\'m using this example project\'s XNA 4.0 form control in an application I\'m writing: http://creators.xna.com/en-US/sample/winforms_series1[详细]
2023-04-05 12:28 分类:问答How to detect that sound has ended in the XNA MediaPlayer?
I know how to use MediaPlayer.Play(song); to start playing some song/effec开发者_JS百科t. But how to detect that song/effect ended playing?You may want to try implementing these two events:[详细]
2023-04-05 11:10 分类:问答XNA C# Creating a Heads Up Display
I was wondering how to approach creating a HUD. I currently have health, mana, and experience bar drawn to the screen at set coordinates. Downside of this is that when the camera pans the bars stay at[详细]
2023-04-05 10:26 分类:问答Pixel Perfect Collision Is Causing Inaccurate Collision With Maze And PacMan
I am creating a PacMan clone just for fun and I am using the pixel perfect collision algorithm to detect when PacMan collides with the maze and the dots (which has not been implemented in the game yet[详细]
2023-04-05 09:31 分类:问答XNA 3D Graphics - Meaning of my code?
I want to draw model into screen. Here is my code: protected override void Draw(GameTime gameTime) { GraphicsDevice.Clear(Color.CornflowerBlue);[详细]
2023-04-05 04:50 分类:问答Windows Phone emulator is not supported on this computer because of GPU
It says that my开发者_如何学运维 computer does not support the XNA applications, but I want to debug an usual application (even if I launch the emulator stand-alone, it says it too). And when I\'m pre[详细]
2023-04-05 02:41 分类:问答XNA GraphicsDevice cannot be called from other classes
everyone!I\'m developing a platformer in XNA/C# and I\'m running into problems wi开发者_开发百科th GraphicsDevices.I\'ve heard that XNA requires GraphicsDevices in a lot of methods, but it can only be[详细]
2023-04-05 01:16 分类:问答Computing collisions of a rectangle with path lines
I\'ve been looking for samples and tutorials, but I can\'t find anything specific. I am making a 2D XNA C# Game and I want to detect the final position of the player when it reaches one or more path[详细]
2023-04-04 19:58 分类:问答Detecting where the ball hit the bounding box? XNA
just got started with XNA and thi开发者_如何学Pythons example would help out a lot! I´ve done a simple test where i got some terrain and a ball, when the ball hits the terrain it stops. This i do by[详细]
2023-04-04 18:05 分类:问答Can you force a method to be called inside a class constructor, else throw compile error?
I have a class, Player, which inherit开发者_如何学运维s from AnimatedSprite. AnimatedSprite has a protected abstract method, loadAnimations, which Player must override to load the actual animations (s[详细]
2023-04-04 15:18 分类:问答