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

Software Development Network >> Game Technologies

Game Technologies

New Question

... TRIDEX VB.NET dimistified Can it be done YES YES YES YES .............
1946 part 1 "no missions"
Play Space Wars with your friends, mapping the keyboard for two players...
Tiled and linear texture memory formats
instancing
Spacewar failed to build... Different processor target
Embedding resources: Is it the answer for screensavers?
Gamekit developming
Stuttering in D3D application
Game Programming is very Hard

Top Answerers

Prabagarane
Ronaldlee Ejalu
TwoHoot
cverdon
titus505
Jarrardi
luca82
Tarak
hijk
JD653687
sitemap
Only Title

Answer Questions

  • skyliner34 The woes of boxed objects (and foreach)

    Here's another post by someone who has learned everything through mistakes, not learning it right in the first place . :) I've been working on some nasty GC issues on Xbox360 for some time now, and through RPM and CLR Profiler I've started to make some sense of things, so I thought I'd let everyone in on my experience so that the next guy (or gal) with these issues can have some info. So here's the story: Remote Performance Monitor showed 240 boxed value types per delta. Having no idea how I was creating boxed objects (or what they are), I ran the CLR profiler--as it would happen, I had 4 foreach calls per frame--for a postprocessing effect. According to CLR Profiler, the foreach calls were creating System.Collections.Generic.List<T> ...Show All

  • Umesh.Gandhi Can I order DirectX 9 sdk on CD?

    Hi, my problem is I have dial up and it takes too long to download 500Mbs, my ISP drops me after 8 hours. Is it available on CD or is there a way to continue the download. Ive tried to continue the download but it starts the file from the beginning. No, it is not available on CD. Please contact your ISP and explain your issue. ...Show All

  • Cezar Felipe "Use of unassigned local variable" error on Xbox360 but not Windows

    Anyone know why the compiler produces an error when the following code is compiled in an Xb0x360 project but not when it is compiled on a Windows project public void GetTileRect( int tileX, int tileY, out Rectangle tileRect) { Rectangle myRect; myRect.X = tileX * tileWidth; myRect.Y = tileY * tileHeight; myRect.Width = tileWidth; myRect.Height = tileHeight; tileRect = myRect; } I get a "Use of unassigned local variable 'myRect'" when assigning it to tileRect. It's not a big deal, I can get around it by simply using "myRect = new Rectangle()". I'm just wondering why it works in one case but not the other. I wonder if, perhaps, Rectang ...Show All

  • Henry Wu C# + Direct3D -> DrawEllipse / FillEllipse ?

    Hi! I have a simple application written in C# VS 2005 that uses Direct3D to draw simple lines. Now I need a function like GDI+ has, DrawEllipse or better for me: FillEllipse. I'm using it for a 2D application actually, so for the lines for example I simply used the Line object of Direct3D. A code or direction would be nice of you. Thank! I really gotta take some math lessons hehe I think I understood the idea thank you, and BTW you could show this to me in any language you want (C++/VB...) I know them all anyway. Thanks ! Thanks a lot Jack for taking the time to reply. My problem now is that I'm not very good at math and those formulas you just gave.. Blew my mind :) Plus - I'm not sure I know how to express it in the ...Show All

  • Wright2020 Is Boo a viable option for Scripting for both PC and XBox360?

    I'm just wondering if anyone has tried getting Boo to work for scripting on the XBox360, or is there some feature that Boo takes advantage of on the PC that isn't available on the console I've been reading that IronPython isn't an option, and LuaInterface wouldn't work either, since P/Invoke doesn't seem to be supported for security reasons. Can anyone shed some light It would be greatly appreciated. Thanks, Kevin The problem isn't P/Invoke, as much as it is the fact that the 360 uses PPC processors, so the x86 DLLs you have aren't going to work. The Xbox 360 security model apparently allows unsafe code, which means that it could allow native code -- the protection of the system uses memory protection, ...Show All

  • cssjm Runtime model loading

    I am trying to make a level editor with XNA. Unfortunately, I've run into a little snag. I need to load a model from a user chosen location, but as far as i know models need to be first loaded into the programming solution before they can be loaded through the content manager. Is there anyway to do this at runtime fora model thats not part of the solution You can load content from resource libraries via the ResourceContentManager. Hi guys, I have got it to compike the xnb file in VB.NET!!!! but right now I cannot get it to load the model, it complains it cannot compile it, this is the hack for msbuild in the vb.net project, quite simple really, compared the csharp project and ...Show All

  • A. Heuts GameTime

    Is there a reason that gameTime.ElapsedRealTime.TotalSeconds and gameTime.ElapsedGameTime.TotalSeconds is never greater than 0.5 This appears to be the case no matter how long I wait between updates during debug. Great, makes sense. Thanks! This is because in the internal workings of the XNA Framework, there's a private internal variable for the maximum elapsed time that can happen between updates. If the ElapsedGameTime or the ElapsedRealTime is greater than 500 milliseconds, then those variables are just set to 500 milliseconds. This is pretty common so that when you are debugging code in your game, when you resume your time based movement hasn't moved the character ...Show All

  • Donaghy How to send any keystroke to DirectInput application?

    I've tried with SendMessage(), keybd_event and SendInput() method of VB on Windows 2000 box but all doesn't work with DirectInput application. Is there any way to send the keystroke to them Pls hints. Thanks you and best regards ...Show All

  • joeydj Is Function Overriding The Only Way?

    When going throught the XNA tutorials, I noticed that functions for drawing and updating are overriden. Is there an event alternative to that Create an event function rather than override XNA's There are some events on Game related to activation but Update and Draw are overrides. We chose this route due to confusion in the early (internal) versions of the framework when both overrides and events existed. People had trouble figuring out when to use an event or override. In the end, because of the confusion of "two ways" to do things, the slight performance advantage of the virtuals, and the fact that you will usually need to override both anyway, we chose virtuals. Feel free to file a bug ...Show All

  • mableu How can i obtain extra information from a File using Content importer?

    How can i obtain extra information from a File using Content importer Now i already have made a content importer for my ownfile format, that is ok because i se the importer to extract the texture Infromation from my file... But the problem Is that i have very valuable information in my file format in addition to the texture infromation, This is the code that i use to import the texture content from my files (jki Files):     /// <summary>     /// Importador de archivos JKI al XNA Content pipeline     /// </summary>     [ ContentImporter ( ".jki" , DisplayName = "Imagen De Multiples Frames JKI" , DefaultProcessor = "Procesador para arc ...Show All

  • Andreas Drake DirectX10 asm

    actually I can't use Vista for make test in DirectX10, can please anyone post here an fx file with vertex,pixel and geometry shader and the relative compilation in asm using fxc10. I need to see it for a project that I've in mind thanks Here we go. The FX file was taken from Tutorial 13. technique10 Render { pass P0 { VertexShader = asm { // // Generated by Microsoft (R) HLSL Shader Compiler // // // Buffer Definitions: // // cbuffer cbChangesEveryFrame // { // // float4x4 World; // Offset: 0 Size: 64 // float4x4 View; // Offset: 64 Size: 64 // float4x4 Projection; // Offset: 128 Size: 64 // float Time; // Offset: 192 Size: 4 // // } // // // Resource Bin ...Show All

  • urz Texture Alpha Channels Problem?

    Hi all, I drew 3D Model(*.x) in my Game. But some alpha channels has problem with display. Below is my problem screen and model texture. Please somebody tell me what is my problem. My Problem Screen: http://hk.geocities.com/brian_tsim/problem.html Best Regards, I would say that it isn't an alpha problem. In my mind its a very common issue when playing with alpha : I think that you're rendering your mesh triangles in un undefined order. This means that a triangle with an transparent pixel color (pixel 1) could be rendered before an opac one (pixel 2) that is behind pixel 1. Pixel 1 writes its depth to the Z buffer, and then pixel 2 is be rejected by the Z test because it is behind. The easiest solution is to break your mesh into ...Show All

  • Andrey Makarov SimpleMesh game component and x2swm

    I've uploaded SimpleMesh game component to use on conjunction with x2swm. Instructions are here: http://astaroth.beatbuggy.net:8080/Images/XNAMagic/SimpleMesh_GameComponent_rm.jpg Download it here: http://astaroth.beatbuggy.net:8080/Downloads/SimpleMesh_GameComponent.zip Instructions: 1) Add the game component to your project. 2) Drag the component onto your game designer. 3) Set the mesh path and mesh name. (i.e media\\ , Dwarf.swm) 4) Put the DrawComponents() call in whichever effect pass you wish. This works for n swm batches. It will continue to work if the texture is missing. Here is the latest x2swm: http://astaroth.beatbuggy.net:8080/Downloads/x2swm_1_0_0_3.zip very nice ...Show All

  • Talyrond Recommendations for physics

    Hi, I know XNA doesn't include physics. Does anyone know of a good C# physics engine If there isn't a C# one around, how about a C++ or Java open source one that can be ported... Thanks, T You might check out this 2D physics engine for XNA: http://www.codeplex.com/FarseerPhysics I don't know all your requirements, but have you considered playing with TorqueX It offers a lot more than just physics, so it might be overkill. Thanks for the tip about TorqueX. I'm having a look at it at the moment. It seems ok, but is quite limited at the moment: no 3D. I still think a port of a good open source physics package would be of benefit to the XNA community. I'll look ...Show All

  • chendil vanan Best way to extract vertex/index data from Model loaded via Content pipeline

    I have a mesh loaded via the content pipeline, and want to extract all the vertex/index data from it to build a physics mesh for collision. However if i try to GetData on the VB (not tried with the IB yet), I get an exception of: "You cannot call GetData on a resource that was created with ResourceUsage.WriteOnly." So is there a way to either clone the data into a non-Write-only VB so i can extract it Or some way of loading the Model in a non-writeonly way N As it turns out the solution was to completely ignoring PositionIndices. I'm only using it for static meshes, could it be indices into the bone structure or something Edit: they don't seem to be indices into the bone structure... ...Show All

123456789101112131415161718

©2008 Software Development Network

powered by phorum