Software Development Network Logo
  • Visual Basic
  • SQL Server
  • .NET Development
  • VS Team System
  • SharePoint Products
  • IE Development
  • Audio and Video
  • Microsoft ISV
  • Smart Devicet
  • Visual Studio
  • Windows Vista
  • Visual FoxPro
  • Visual C++
  • Visual C#
  • Game Technologies

Software Development Network >> Game Technologies

Game Technologies

New Question

.X features supported in XNA?
Custom GameComponent properties greyed out in designer
Managed Direct3D 10
How to monitor microphone input level?
DirectX clearing device problem
Proper use of GameComponent? (yet another post about them)
Windows Deployment?
Thanx
Model is drawed incorrectly
Mesh Subset Collision Detection

Top Answerers

Lorry Craig
VOC
Caruga
Wilk06
Oleg63
GonzaloA
jasonpadgett
Fata1Attack
Michal1979
vik1491
sitemap
Only Title

Answer Questions

  • xyte Texture without shaders

    Is it posible to texture a primative without the use of a shader (Like in managed DirectX) All the tutorials seem to use a effect to accomplish this. I'm asking this becouse I want to keep the system requirement for my program as low as possible. You can use the simple effect that runs a shader behind the scenes No. XNA is a shader based platform, so it is impossible to draw anything without using a shader. ...Show All

  • MatrixCoder IXACTEngine::GetGlobalVariable crushed application

    I have code: // ... IXACTEngine* m_pXACTEngine // ... create m_pXACEngine and so on XACT_RUNTIME_PARAMETERS xactParams; ZeroMemory(&xactParams, sizeof(xactParams)); /* fill xactParams exclude XACT_RUNTIME_PARAMETERS ::globalSettingsBufferSize; // == 0 XACT_RUNTIME_PARAMETERS ::globalSettingsFlags; // == 0 XACT_RUNTIME_PARAMETERS ::globalSettingsAllocAttributes; // == 0 */ hr = m_pXACTEngine->Initialize(&xactParams); if (SUCCEEDED(hr)) { XACTVARIABLEINDEX xactSpeedOfSoundID = m_pXACTEngine->GetGlobalVariableInde("SpeedOfSound"); // now xactSpeedOfSoundID == XACTVARIABLEINDEX_INVALID XACTVARIABLEVALUE nSpeedOfSound = 0; hr = m_pXACTEngine->GetGlobalVariable(xactSpeedOfSoundID, &nSpeedOfSound) ...Show All

  • cssjm Transparent Backgrounds on Sprites?

    How do I display a sprite with transparency for the background GIF files do not work. I can't seem to create a PNG image with a transparent background in Photoshop 5. Yes, this information should be added to the "Your first XNA game" tutorial in the help file. It's even mentioned when adding a sprite you can choose to create a texture with masking but fails to mention that you need to set this AlphaBlend. Thanks a lot for the info! Thank You that was it!! Awesome response! Well, first in your code you need to make sure that in the Draw() procedure when the sprite batch begins to draw that you are passing in the AlphaBl ...Show All

  • shmulik_segal Text in texture with effect

    I am currently making a component for a larger graphical system. It is rendering text into a texture for display on some 3d object. I am currently using drawText, which works just fine, though there is perhaps a better/faster way of doing it My question is about effects. If I want the text to have a blurry outline, i imagined doing it like this render the text to a texture T1, being the render target select T1 as input texture and change to a new texture T2 being the render target Select a pixelshader and then render a transformed and projected quad, with same size as T1 and T2, using T1. The pixelshader shall then output (to T2) the mean of a 9x9 area surrounding the pixel in T1. This gives a blurred text. Next I ...Show All

  • Pavel Nechai Rotate an object

    I need am 2D object to be rotate 90 degrees each time a press down a key. What would be the best to do this. I have try to use TransFormatins of a vector but I can't ge it to work. I know that. I need it to rotate on command when I press a button or a mouse click. I need something better because I will have from 3-20 object doing thing at a time. Some with rotate +/- . There's really nothing better than that. You know how to detect Mouse clicks and keyboard input so when the user press that button. Increase the rotate value for that object or objects that need to be rotate. Then when they are drawn, you use that current rotation value. You really can't get much better ro ...Show All

  • Bill Punch Next Beta (SKD)

    Hi, When the next Beta/Sdk to the XNA will be available It will be as Direct X Sdk (available each 2 months) Which will be the next features to the XNA Tks Nothing has been announced. In fact it is not known if there will be another beta before RTM. See http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=746593&SiteID=1 In addition there has been no announcement about how often XNA will ship so we don't know if they will follow the DirectX model or not. FYI - there is already a connect issue on this if people want to vote https://connect.microsoft.com/feedback/ViewFeedback.aspx FeedbackID=194079&SiteID=226 (need to be logged in first) ...Show All

  • Terence Curd how to define On Mouse Over eventin DirectX

    I wish to create some onmouseover event function, can anyone tell me how to do it in DirectX, i've checked some example from DirectX tutotrial, the addbutton function got on mouse over event, but it's already preset in the library. If I want to set OnMouseOver event in my own code, what should I do. Thanks. I think i'm using DXUT to create my UI Hi kenneth1983, i porpose check your mouse whether over button x, y, x+width, y+height. Best Regards, I didn't see any onMouseOverEvent in the coding, the onMouseOverEvent is from the dxutgui.cpp The onmouseoverevent code below I copied from dxutgui.ccp CDXUTBUTTON Element.TextureColor.States[ DXUT_STATE_NORMAL ] = D3DCOLOR_ARGB(150, 255, 255, 255); ...Show All

  • WayneSpangler Texture Alpha channel problem?

    Hi all, I created mesh.box object with my game. The mesh has a texture. I want to set the mesh alpha channel 80%. How to change a mesh alpha channel for c# Below is my source code. //create mesh object boxMesh = Mesh.Box(renderer.Device, 100,100,100); //========================================== //on paint renderer.Device.SetTexture(0, texture); boxMesh.DrawSubset(0); //============================================ Best regards, Best thing for your purposes is to set the Material’s alpha channel to 80% instead of texture’s. It’s much more efficient as you don’t have to lock any resources. Then, use the propper AlphaBlend mode in DirectX to redirect the AlphaBlending to material’s alpha. Hope this ...Show All

  • leclerc9 Newb question: different textures for different resolutions?

    Hi there, I've made a couple of games in GSE now, and in each case I programmed the game in 800 x 600, which is rather silly given that I have a monitor that supports resolutions all the way up to 2560x1600. I understand that I can get the user's window size and adjust my game to fit it at startup, though I haven't really played with that yet. But what about textures Is the best practice to include one texture for "maximum" resolution and then let Windows scale it down to size depending on the user's window size Or do developers include several copies of the same texture for different resolutions Likewise, I'm wondering how to handle different aspect ratios. To release a game that supports both 4:3 and "widescreen&q ...Show All

  • Henry Wu 3D presentation

    Hi guys, I really want to waw my client and write a window display for a real estate shop using C# and managed DirectX 3D. It will be a presentation running accross 4 screens. I have a basic amount of experience working with meshes and textures, etc (I made a 3D space shooter around a year ago). But, I'm lacking ideas really of how to present pictures and info about apartments and houses... Could anybody possibly inspire me Thanks! Cool tool, but really, the content needs to be dynamic... So I'd need to use models and C#. I was thinking more like, 2 adjacent walls with a number of tiled property adverts. The camera moves from advert to advert in a fluid motion. Each ...Show All

  • Carl Daniel Updating child transforms when transforming a parent

    I've got a question about updating the transforms of child objects in a hierarchy. So far I can get a model loaded up no problem using the code from the Help Docs topic "How to: Render a Model." What I'm trying to do is rotate an object in the hierarchy of my model and then update all of the children underneath that particular object. The end result I'm getting is the object in question rotates, but none of its children do. Here's what I'm using to rotate the object: foreach (ModelMesh mesh in m.Meshes) { foreach (BasicEffect effect in mesh.Effects) { effect.EnableDefaultLighting(); effect.View = view; effect.Projection = projection; if (mesh.Name == "LeftArmBase") ...Show All

  • LokiSD 3D Studio Max

    I am a programmer C#/JAVA/VB and my friend is good a graphic arts. I have never used XNA or tried to make a 3D Game I have now made a story line to a game and I want to make it using C# and XNA but I need help turning a map we made into a usable file in XNA we made our maps and grpahics with 3D Studio Max. I want to make a 3D game and does anyone have any code sniplets for 3d gmaes they made I just haven't seen many games made in XNA ++ C#. If you ant more examples,  check out the XNA goodness already posted on www.codeplex.com But if you want more tutorial based examples for 3D, www.xna101.net has a new 3d tutorial progressing with 3d models, or browse the XNA links of my site. Otherwise you could try searching the 2 XN ...Show All

  • DimSum XACT postmortem from a sound designer

    Hi all, I’m on the tail end of initial implementation of sounds created by the XACT engine and I figured this forum deserved a little postmortem (even though its not dead quite yet) that covered the XACT tool, the process, and the implementation. A quick note about who I am: My name is Rene Coronado and I work for Dallas Audio Post Group. I am an audio engineer and sound designer with a history in television and film, voice production, and long form things like corporate training. I’m not a programmer, level designer, writer, or producer. I am a gamer as well as a fan of film, good tv, and sports. My company was charged with re-doing the sound for a first person shooter MMO type game that has al ...Show All

  • GlenAtMotorola XNA framework for non C#

    One of the great advantages of the .NET framework is that developers can work on the same project in different programming languages. As I'm reading about XNA, it seems that this will not be possible with the XNA framework. Will the only programming language that has access to the XNA framework be C# That's correct the XNA Framework is for Managed Code Development and runs on the Common Language Runtime which prevents a programmer from using unmanaged languages (C++) from using the XNA Framework. Managed C++, now called C++/CLI is something that could work with the XNA Framework. All this said I understand where your coming from Mossa and it's good feedback. vb please, some of us did not go the c# route ...Show All

  • MarkBosley Character Animation

    I am very anxious getting started on character animation with XNA. If I use a model editing and animation software like 3ds max I could set up my key frame animation incl. bone structure in 3ds max, export this out over *.fbx, what is supported by XNA. However, as far as I know there is no support for animation over the content pipeline. Is there anybody out there, knowing how to do it, who could actually show me the way or point in the right direction Help on that important issue is very much appreciated. Is there a resolution to be expected with the next release of XNA waruwaru, I run the XNA requirements checker. Everything seems to be installed, still having the same problem and error. ...Show All

404142434445464748495051525354555657

©2008 Software Development Network

powered by phorum