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

Software Development Network >> Game Technologies

Game Technologies

New Question

xna 3d collision detection
Garbage Collecting
XNA Breakout
Transforming Multiple Objects Glitch...
DirectX9 and Vista Sidebar
Could C# be the future of gaming?
ContentManager questions about device resets
Problems making Transformations Rotations Translations...? Any Help...?
moving camera around the world.. like a 3D shoter first person look
Day 1 - Where you at?

Top Answerers

James2007
DannoCoy
kaizen
briggins5
CruzPedro
JD653687
Houng Fan
GGardiner
Music Mogul
Ted Warring
Haverford Consultants Inc.
Only Title

Answer Questions

  • AlexHaan loading textures on array

    Hi i am making a simple pool game and have my balls in an array (each ball runs through a class to set the properties. i have a Texture2D property to set the texture so i can set the white ball colour and yellow and red ball colour. however i have set up the array and try to draw but it will not accept the array property as a texture it keeps saying it is of null value even though i have set each of the balls here is the code below as you may understand a little more. //ball class for each ball public class balls { public Texture2D tex; public float x; public float y; public Vector2 v = new Vector2 (); public float r = 12.5f; public float m = 10; } //array of ball ...Show All

  • Solrac Otr How to create a custom-shaped sprite and apply a texture to it (2D)

    Is there a way to create a non-rectangular sprite For example, by using VertexPositionNormalTexture Here's an example of what I'm aiming for: http://img148.imageshack.us/img148/4428/exhh0.jpg The example you showed is simply using a transparency map. One way to go about this is to use the DirectX Texture Tool (part of the DirectX SDK) to create the combined texture at design time. In the tool, you would create a new texture of the appropriate size using the A8R8G8B8 format. Then you would open your texture bitmap onto the surface. Finally, you would open your mask bitmap onto the alpha channel of the surface. If you need to do this at runtime instead, then you'll need to set up a pixel shader ...Show All

  • learnerplates Learning to draw in 2D (tutorial)

    We just finished a new tutorial that should help teach the basics of using sprites including rotation and scaling.   http://www.xnaspot.com/Tutorial_Learn2D.aspx   Please let us know what you think. Submit@XNASpot.com   Also we really want to post what people have been working on so if you have any code samples or even just a screen shot of a game you are working on send it in. thnx guys, keep those tutorials coming! God knows I need 'm by the way, how would you create a 2D-background, or a splashscreen Would that be a large fullscreen sprite or is there another way to do that You can use a large sprite, but there are also oth ...Show All

  • Bendermon 2D Texture transparency

    I loaded a 2D Texture from a file, the picture format is bmp for example, it present just a 2D fighter with a blue background, is there some way to display it with a transparent background (indicate that the blue color is transparent), without using a png with alpha Help please, I don't have time to modify all the sprites in photoshop :) Best regards This should work, I just tried it again to make sure it still works in the 1.0 release, I'm using the red_ball.bmp and the code from my blog entry here: http://xna101.spaces.live.com/blog/cns!77EE4BD533D8ECAE!133.entry maybe your magenta is slightly off color If you look at this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx P ...Show All

  • sroughley Creating multiple Contents from a single NodeContent?

    So, after importing a .X file with animation, I have this AnimationContentCollection on some of the NodeContent hierarchy. I can specify my ModelProcessor override to actually find this animation. But then what The output data of the model processor is a MeshContent, which doesn't have an Animation property. I would need to either be able to add a new, second output type from the processor, or attach the animation to the MeshContent. There is the singular "Tag" property, but what if I want to add more than one kind of metadata to the mesh Does the Tag get serialized appropriately Fear not, more samples around this area are on their way just as soon as we get them written :-) That's great. I think it might be even ...Show All

  • EnigMa_AnGeL Solution to Finding Skin Weight Indexes

    DELETED BECAUSE BETTER SOLUTION WAS FOUND Easiest is to PM me on gamedev.net; my handle is hplus0603. For obvious reasons, I don't want to post an e-mail address in a public forum :-) You'll need to register to send a PM, but it's free. Yes! I got skinned  animation working - thanks for all the help people. I know i've probably been quite annoying with how many times i posted.  I've also decided to not give a tutorial for copyright and personal reasons (the artist who is working with me doesn't want to reveal his work, I don't want to get in trouble with microsoft for using tiny.x in my example, there are really ZERO free skinned meshes out there, and I'm pretty sure the XNA fol ...Show All

  • TA123 Framerate jumps once per second

    I recently noticed a strange behaviour of my application: about once a second I got a jump of my framerate. I investigated the problem and ended up with an empty WindowsGame application. I used the PIX Tool to look at the framerates and durations of every frame. And no matter what I tried the behaviour was always clearly noticeable. About once a second the framerate first dropped for one frame and was significantly higher (above average) in the next frame, like it made up for the lost time in the first frame. The problem is less noticable in full screen and when MultiSampling is set to false. It is also less noticable if the RefreshRate is set to 60 Hz. But it is always there. Is there an explanation for this behaviour I noticed it in one ...Show All

  • allenwfc "Chaos" 3d FPS Game Engine (WiP)

    Title: Chaos First Person Shooter Game Engine for XNA Objective: To design and write a first person shooter engine for the XNA that utilizes advanced shaders, shadows, and poly-based collision detection and to meet or exceed the capabilities of the engine used in "Halo" Website: [ here ] Time Frame: 4-5 Months (Expected completion in late April to early May, 2007) Description: The Chaos First Person Shooter Game Engine for the XNA will allow anyone to create high-quality first person shooters that will rival Halo. Chaos will be a library available for both Windows and the XBox 360. The library will include all the basic, and advanced functions of the game, you just need to add in your custom elements and add the content. Chaos will not onl ...Show All

  • R.Tutus Please Help: Could not find a Direct3D device compatible with the current device preferences.

    I have the following card in my laptop and I'm having a similar problem. Mobil Intel 915GM/GMS,910GML Express Chipset Family I add it the lines you wrote and I'm still getting the following error "Could not find a Direct3D device compatible with the current device preferences." Is it that my video card won't work I had use Directx 9 before Thanks Francisco PS: I had to repost this, because I had it add it to old post with many other people, but I never got a response, so maybe it was a different issue, so I decided to post it by itself. IIRC, VMWare emulates some ancient graphics part (S3 Virge or something) so it is unlikely that XNA will work with it. I still get the same error ...Show All

  • nbrege Collision detection - Howto

    Hi all, I'm trying to make two objects collide in GSE, actually in a Pong game - between the bat and the ball. I have motion for both, but no collision, the ball just leaves the stage so to speak. Any help would be appreciated. I have looked in the Help, but to no avail. What about the "ball", do the built in bounding boxes work for other objects, can you put a "box" around a triangle or would it still be a box shape thus not giving you accurate results For collision detection in the game I'm making right now I'm using a simple distance check as opposed to bounding boxes... It's not pixel perfect collision but if all you need is something quick and easy that works prett ...Show All

  • mcgin1591 Reformulated Discontent

    ok sorry, i calmed down a bit. hope that last post gets yanked, actually. in case they do, i'm starting a new and less emotional thread. i hope i wasn't the only one who went through some significant frustrations when just about everything went boom on that first re-compile...here's a more articulate (i hope) expression of my discontent. i understand that things need to change if it's going to be done right. however, there were many things missing that were good (i.e. WindowsGame_Starting/Exiting overridables) that are now gone. in addition, some changes were outright arbitrary. adding the full-screen feature is a good example of what you *want* to do in a second beta -- though it is a basic enough feature that i personall ...Show All

  • rtaiss Cannot get a list of Lobby aware applications (C#)

       Good evening all, I just cannot seem to get a list of Lobby aware applications registered on my system. I know there are two games that are listed on dxdiag's Network tab, and shown as Lobbyable applications. But when I execute: Microsoft.DirectX.DirectPlay.Lobby.Client.GetLocalPrograms() and try to attach to a listbox, nothing happens. The array is empty. Any idea why I have DX9 installed. Is it backward compatibily issue or something I'm missing Regards, Shuhrat DejanP, Thank you for your input. I will try that and will let you know about outcome. Shuhrat Here is main part of launching a game, but when it launches it does not creat ...Show All

  • tsoetant XNA & noob programmer != success?

    I am way confused, In my new issues of both OXM magazine and Game Informer there are articles regaling the use of XNA to build your own 360 games, (albeit in the future) but no harm in building now and transffering to 360 when they open that option up. My question is this, I am fairly new to c++ only, I dl'd c#express, (even though I hae VS 2005 PRO...) and installed XNA and am lost. My confusion stems from both articles saying XNA is designed for ease of use by people without any programming knowledge. It says it is built around a simple interface using largely mouse clicks and drop down menus,(Game Informer, November 2006 issue#163, page 55) but where I have seen many posts here by people directly saying that XNA is a toolkit specifical ...Show All

  • azeezi Mesh movement

    Hi guys, any help on this would be much appreciated! Basically, I've managed to get a mesh hierachy loaded using D3DXLoadMeshHierachyFromX and wondering how to change a particular mesh's x and y coordinates in relation to the mesh as a whole. What we're trying to achieve is movement of a ball object mesh in a 3d world. Basically you update the animation and then set a world matrix to represent its position/orientation in the 3D world. ...Show All

  • chakravarthy_b exporting x and fbx files

    Hi there chaps - I'm fearful that this question has been asked before but lots of searching could not find it. In essence - if I export a model in 3D studio Max (version 7) in both x and fbx format, neither displays using the (excellent - thanks guys) 3D sample code. That's not entirely true - the x file displays but completely white, the texture barely visible. The fbx file has the right texturing but many of the polygons are linked incorrectly, or have wandering vertices. The fbx is in some sort of binary format incidentally. Now, my question after all that intro - what exporters do people recommend for 3dsMax - for either FBX or X files Or is there some very stupid option I'm not turning on (eg - X file exporter's hidden Tipp-Ex all ...Show All

808182838485868788899091929394959697

©2008 Software Development Network

powered by phorum