xna
Drawing textures with variable transparency
I am a moderately experienced C# developer, but I\'m new to XNA and graphics in general. I\'m making a 2D game and I\'m trying to draw a texture that partially transparent. The desired transparency va[详细]
2023-04-08 14:20 分类:问答How to efficiently utilize multiple vertex buffers?
Ok, so I\'ve had a lot of success in creating procedural planet terrain with vertex buffers.The only problem is, the planets I\'m looking at are too big for the XNA HiDef profile\'s buffer limit.Grant[详细]
2023-04-08 04:12 分类:问答What is a more economical way of tiling a texture?
I am developing a tile based 2d game. I have split things up into components such as skybackground, landbackground, town, UI and so on, with each component handling its drawing. before invoking any of[详细]
2023-04-08 03:45 分类:问答C# Default Value at Method - compile error : compile-time constant
private static Vector2 DefaultMulFactors = new Vector2(0.5f, 0.5f); private static Point DefaultShifts = new Point(0,0);[详细]
2023-04-08 01:16 分类:问答Xna ModelBones - How to move them away from eachother?
Hello I know th开发者_StackOverflow中文版at one can get absolute transforms of bones in a model.. But how to move them away (like inflating) ? I think to do so, I need to move them forward to their lo[详细]
2023-04-07 21:09 分类:问答how to transform 4 points to an xna matrix
I want to develop my own AR-Library in C#. My problem is: I have the 4 corner points of my marker and want to show 3D cube开发者_运维百科s on the marker (it\'s a multi-marker lib), but I don\'t know h[详细]
2023-04-07 10:57 分类:问答XNA: NullReferenceException when playing SoundEffect from another class
I\'m both a C# and XNA noob, and I\'m a bit stuck. In my Game1 class, I have added a SoundEffect object. From within this class, I can then play the sound by using [objectname].Play();. E.g.[详细]
2023-04-07 05:46 分类:问答Drag an Image in XNA
I am working on an app in which images are flying on the Scree开发者_如何转开发n. I need to implement:[详细]
2023-04-06 17:42 分类:问答ContentManager in console mode?
Is there a way to setup a ContentManager without using a GraphicsDevice?It\'s a console app.. The problem is I get a \"Reach profi开发者_StackOverflow中文版le\" not supported, is there a way to make[详细]
2023-04-06 17:13 分类:问答Perlin noise for motion?
I\'m successfully using Perlin noise to generate terrain, clouds and a few other nifty things. However, I\'m now trying to animate a group of flying insects (specifically fireflies), and it was sugges[详细]
2023-04-06 13:44 分类:问答