Answer Questions
Prabagarane Step by Step Cue volume sample request
Hi, I just can't figure how to set the volume of a given Cue instance. I want one specific instance of a sound (ex: player 1 laser volume@50% , player 2 laser volume@80% ). I saw only one post giving a very light explanation, which was: a) you should create a cue "Volume" variable in XACT (that I can do) b) link that variable to the sound Volume ( how ) c) set the volume programmatically. I suppose SetVariable("Volume",0.5) will do it once XACT is properly set up. Thanks Freds72 I am trying to create this one. 1. I created cue variable named "Volume" 2. Attached it to RPC. 3. Attached sound to RCP. 4. Trying to set value: this ._aEngine = ...Show All
Alvin Kuiper XNA meets Physical Simulations
Hi, anyone know about using a system for physical simulation in games with xna I found the XPA project on codeplex, but there is only a uncomplete tutorial. I searched for alternatives and found and very old and not up-to-date project called ode.net (an ode wrapper). As WaruWaru said, the Farseer physics engine is a nice option if you're looking to do 2D simulations. Since it's written specifically for XNA it will run on Windows or Xbox 360. You can find some videos of it in action here: http://www.gameprojects.com/project id=e4d0681b58 Sorry for delay... When you look at the SDK from Ageia Novodex, you'll find informations about Novodex and XBox360. Here is an article which is about xbox 360 an ...Show All
smurf347 When I run the programe ,there is a exception !please help me
when i run the First XNA Game ,there is a Exception ! I didn't know why can someone help me error like this this.graphics = new Microsoft.Xna.Framework.Components.GraphicsComponent(); this.GameComponents.Add(this.graphics); it said that The values used in the attempt to create the GraphicsDevice were invalid. THAT'S where you add that line of code I've added it twice & now I do exactly what you did & it works w/o the upgraded card....Oh my thank you sir! Thank you! *runs off like a maniac* Do I still need a better graphics card or no Hmm I write the code in the Game1.Designer.cs ,because the line of there has a exception now my Game1.Designer. ...Show All
Kinlan How do I manually uninstall old XNA framework?
I was messing around with my registry (trying to delete old items from the Add/Remove Programs list) and I seem to have removed the "Remove" button for the XNA framework. How can I manually uninstall the old framework so I can install the new one Also, do I need Game Studio Express or just the XNA framework Thanks, John If you want to do 360 games, you have to use GSE. If all you previously installed were the (beta) XNA framework runtimes, you can uninstall those manually by going to c:\windows\assembly, finding the Microsoft.Xna.XXX assemblies and choosing "Uinstall" from the menu that appears by right clicking on them. ...Show All
John Hennesey Basic Effect and Alpha blending
Just wondering if anyone knows how to make this do anything Setting effect.Alpha has no effect, but i fugure i'm probably missing something..... I am bascially tryin g to set an object to be 90% transparent when it is in front of the camera between the camera and the controllable character. Any ideas Cheers Btw, for a future version of the simple shader I would suggest some techniques, like "Opaque", "Alpha", etc. and have the renderstates in the pass declaration. So not much work on the application side besides setting the technique... You need to set some renderstates to tell the card to enable blending: graphicsDevice.RenderState.AlphaBlendEnable = true; graphicsDevice.RenderStat ...Show All
6stringer9 XACT Audio / Minor Rant
<minor-rant> Can you please, *please* consider supporting a more low level way to play sounds than XACT. The Microsoft Cross Platform Audio Creation Tool (XACT) is a pain to use. I mean seriously how many devs do you have budget for to maintain this so called "IDE" It might be okay for professional game studios but I don't think it's that simple for the XNA GS crowd. Then again having looked in the XACT forum it doesn't look like a lot of professional studios are using it either. So then you have to ask why are we having it forced on us since this audio content creation tool has so far fallen on deaf ears ;). Perhaps it's a secret plot to get the XACT folk to make it better in future perhaps (hmm bite my tongue) A ...Show All
TheRolle Buttermilk Game Engine and LGPL
I'd like for Buttermilk to have the following features in its license - Free to use and redistribute. Free to publish commercial games on Windows. Free to publish free or commercial games on the XBox360 (XBLA, etc). Basically no restrictions except don't pass my code off as something you made :) Will LGPL do this I hear it's looser than GPL. The looser the better, methinks. You can deploy compiled assemblies to the Xbox 360. If you want to avoid distributing source you can easily move all your code into a seperate assembly and just have a game project with something like the program.cs file that references your compiled assembly. Cheers, Leaf. Seeing as your terms are so simple can't you just write up your ...Show All
progames25 Simple BreakOut Demo (Source included)
Well there it is, my first ever C# and XNA program I hope it'll help some of you. Download BreakOutDemo.zip v0.31 Thank you MS for that wonderful gift that is the XNA. The issue has been resolved. Thank you for bringing it to my attention. I also added new glyphs for the ABXY and Start buttons, enjoy! awesome game man! :) Am I the only one having an problem running it It is looking for BreakOutDemo_TemporaryKey.pfx I got impatient and re-installed 7zip (all your fault!). Nice game, and thanks for including the source - it'll be good to see how you did things :) It is really good to see games comming out of the wood work... but just a favor, can you please make the posts c ...Show All
Keyth Help with Help
When I open the help contents, and goto Visual C# Express Edition I don't see an XNA category, just MSDN, DirectX and Help on Help. How do I get this to appear, as I want to go through the starting tutorial. Thanks for the update! What install did you do - complete, minimal I cannot say why, but it appears that the help system needs to be merged again with Visual Studio. If you repair XNA Game Studio Express, it should run the merge process to return the help files to the table of contents. Could you try this for me If you go to your "Add or Remove Programs" screen and select "Change" next to "Microsoft XNA Game Studio Express", t ...Show All
Tdah Trouble with D3DXVec3Unproject()
I've been having trouble using the D3DXVec3Unproject function. I want to be able to move my mouse on the screen and have an object move to that location. I tried using this function but it doesn't seem to work. Could someone point me in the right direction as I can't find examples of this function in use anywhere!. It does actually work. I went through a lot of hassle getting Project() to work myself. I found that if you are using properties of the Device directly in the function, it doesn't work, but if you do Matrix world = Device.Transform.World and using the variable world in the function call, it worked. Wierd I know. Thanks for that. I ended up setting up ...Show All
miker55 Is there a similar call in XNA to SetTransform in DX?
Is there a similar call in XNA to SetTransform in DX Or is the fixed function pipeline totally deprecated and you're expected to use a shader for this functionality I couldn't find reference this to anywhere in the docs. Thanks, Stephen Yes, there is no fixed function pipeline support in XNA because Xbox 360 does not even have a fixed function pipeline. So it's all shaders now. This migration guide between Managed DX 1.1 and XNA will get you an idea about what's being removed: http://msdn.microsoft.com/directx/xna/migration/ There is not, nor will be, any fixed function support in the XNA Framework. Our shader based equivalent of SetTransform is to ...Show All
PLMK minimum requirements
Hey im new to this forum and i was wondering what will the minimum system requirements be. My computer's a bit out dated and I'm thinking about updating soon but not until after Vista is realesed most likely. It'll be good enough as it looks like it support DX9 and 2.0 shaders. Thx for info. I have only GF 3 Ti. But I still can't play stickman. I would imagine the basic requiremnts would be the same or very close to (other than grpahics cards) C# Express. you may find, as with all such things its your programs that take up the extra resources - textures, music, sounds, sprites and images etc (storage) There are three level ...Show All
Billlong XACT cannot play wave file
In the Wave Bank,I select a wave file and click it by mouse right button. It does not play the wave file and appear some error message as below: Connection to the auditioning server has been lost. My wave file is called engine_2.wav comes from the directory of "MySpacewarWin1\Content\Audio\Waves\Ships". The MySpacewarWin1 is the project(SpaceWar windows starter kit) created by the XNA wizard. Did you start the XACT Auditioning Utility first [moved to xna forum] Did you launch the Audio Console Application ...Show All
SupaDevil Low FPS problem
Hi, I'm making a terrain editor usinv MDX. The terrain is basically a mesh consisting of rectangles (2 triangles) per subset. The problem is that when I make a terrain larger than 20X20 (so 800 triangles and 400 subsets) my fps falls to about 15-20. Removing textures doesn't help. Here is the simple bit of code for terrain drawing: public void Draw() { for (int i = 0; i < TerrainMesh.GetAttributeTable().Length; ++i) { device.SetTexture(0, Textures ); device.Material = Materials ; TerrainMesh.DrawSubset(i); } } I also get the same bad FPS if I exclude these lines from my PresentParameters settings: PP.AutoDepthStencilFormat = DepthFormat.D16; PP.EnableAutoDepthStencil = true; I would to hear ...Show All
RostaB Controlling Aspect Ratio
So I was playing around with my XNA Control (1) for windows forms last night and got some sprites rendering based on some UI input (ie. press the "Add Sprite" button, file dialog comes up, and you pick a texture to add). I've got the control in a split container in the right pane. When I stretch the window, the sprites stretch right along with the window. The ideal behavior would be that stretching the window would simply give you more screen real estate. I'm imagining the way to figure this out will also apply to dealing with 4:3 vs 16:9 aspect ratios (2). Just need a few pointers on how to properly handle this :-) Thanks! (1)http://codecube.net/item.asp cc_itemid=314&searchstring=xna%20control (2)http://forums.microsoft ...Show All
