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

Software Development Network >> Game Technologies

Game Technologies

New Question

How to add alpha to the glow using Microsofts DX SDK Glow.fx
Keyboard and XBox 360.
XACT Audio / Minor Rant
Where to upload demos?
Help What do I need to download so I can connect to my 360 for XNA?
Requirements for XNA express?
Microsoft.Xna.Framework.Components.NoSuitableGraphicsDeviceException was unhandled
Model not showing up in game
Where do I get the Framework?
ContentLoadException and Game Library project types

Top Answerers

d2army
Xcel
jiao
Anon.
Manaxter
arikve
Tommix99
djklocek
Mike Norman
MPeter
eXist
Only Title

Answer Questions

  • carlp22 Creating projectiles, need help with list.

    I am trying to make projectiles that my object can shoot, but am having trouble adding new projectiles to my List<projectile> object. My projectile code (so far) looks like this: public class projectile { float rotation; float rotationAlpha; Vector3 position; Vector3 velocity; float life = 0f; public void Update() { position += velocity * 1000f; life += .1f; } public projectile(Vector3 position, Vector3 velocity, float rotation, float rotationAlpha) { this.position = position; this.velocity = velocity; this.rotation = rotation; this.rotationAlpha = rotationAlpha; this.life = 0f; } public void Create(Vector3 position, Vector3 velocity, float ...Show All

  • Kinlan Beta2 - Texture2D.GetData

    Hi, How can I get to the texture data, I see a function called GetData which looks like it does the job but it requires the texture to not be managed. How can I load a texture with the right parameters to allow GetData to return valid data. Thanks. What I want to be able to do: Texture2D image = content.Load<Texture2D>(filename); uint[] bits = new uint[image.Width * image.Height]; image.GetData<uint>(bits); Thanks, I've got it working now. I thought I needed a lock or something but it works OK. That's because Dxt1 textures aren't arrays of Color structures! In Dxt1 format, every block of 4x4 pixels is encoded into 8 bytes, so you need to pass in a byt ...Show All

  • bella01 Laptop Computer Requirements - Simple DirectX games

    Compiler: Visual Studio.NET 2002 Hi All, I want to buy a new laptop computer to program basic DirectX games. I have only ever bought desktops before and am a bit suprised by the lower technology of the laptops (especially the motherboard). My present desktop is a 2.6GHz with a 256 MB Graphics card. (I need a laptop, as it is becoming more impractical for me to be in front of my desktop when I am able to do any programming.) I am programming simple(ish) DirectX games. The game I am working on is chess. I am using full Direct3D including textures. Obviously the AI is quite heavy. Sounds are basic. Due to the AI requirements I believe I need a minimum of a 2GHz motherboard. However this puts a bit of strain on the cost so I might ...Show All

  • ccote New to game development

    Hello I'm new to game development and I already downloaded Visual C# 2005 express edition and XNA Game Studio Express. Well what I'm trying to say is I want to start off with an easy game like pong and work my way up and I havn't had any luck on finding any websites that have tutorials on how to make a game like pong. I would appreciate it if someone could give me a website or a few websites that could get me started. Thanks http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=77027 http://www.gamedev.net/reference/start_here/ http://blogs.msdn.com/danielfe/archive/2006/05/16/599054.aspx - these are GDI games but they will be very easy to convert to XNA and that would be a good learnign excersize. ...Show All

  • sandeep437 How do I load a 3d mesh (.x file)?

    How do I load a .x mesh into my scene The space game seems to use its own format (which it names .swm), and there's nothing in the help. I've been scanning through through the classes in the Framework namespace, but I can't see anything obvious! Is .x the recommended format for objects like this (If not, I change my question to be about the recommended format :D) If anyone knows anywhere that has some nice .x meshes I can play with, that'd be cool too. The only one I have lying around is a chair, and that's going to look a bit funny running around my game :D Oh, bummer :( So the "old" method, that would've been used in the Managed DirectX stuff won't work I don't mind using the meshes ...Show All

  • bhavu NoSuitableGraphicsDeviceException was unhandled

    Let me just say at the outset that I know nothing about C# (yet) and am trialing the XNA beta to try and get into it. I do know VB and some C, however. Once I had everything installed, I tried a few example programs including the Spacewar project, but I cannot run any of them. They build fine, but I can't run the .exe, and it crashes and asks if I want to send a report to MS. If I "Start Debugging" instead, I get the error "NoSuitableGraphicsDeviceException was unhandled" on the "this.GameComponents.Add(this.graphics);" line. I have no idea where to even start. Is it my install My PC My hardware The program I'm trying to run Once I know the environment is actually working, I can begin the learning! ...Show All

  • Jamie Gordon RocketCommanderXNA Mouse Issue

    I've successfully compiled the RocketCommanderXNA. However, when I run it I cannot click on any menu items. My mouse is moving around the screen but nothing I do allows it to work. I've looked at the source and it looks as if there are hot keys, but those do not work either. Also, whenever I attempt to debug and step through the code, it pukes on a renderTarget line and I can't debug in that fashion. Anyone have any idea whats going on and can point me in the proper direction Thanks! Well, the "click" logic is handled inside the RenderButton methods of the RocketCommanderGame class. // Play click sound if button was just clicked bool ret = (Input.MouseLeftButtonJustPressed || ...Show All

  • khawaja Need Help With A load of stuff

    I need code straight code for XNAGSE 1.0 becuase i am working on xwing flight and i need sone stuff like, Anti-Alising x6 not x2 Motion Blur A tutorial on Lens effect if you can help please reply and NO I AM NOT A N00B nevermind i got it to work without crashing but now how do i activate the blur because it looks the same Here's some stuff on Lens Effect: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1112676&SiteID=1 Motion blur: http://chronos.x10hosting.com/article/20/motion-blur-sample-hlsl ...Show All

  • Jim Perry Setting a model position with a vertex position?

    Hi, I`ll get straight to my question. What`s a good way of setting a models position with a vertex position from another model I`ve only recently started with c# and am struggling a little with the syntax. With python it would have just been a case of, roughly something like: modelA.setPosition(modelB.getMesh().getVertex[1].getPosition()) Thanks in advance. -Daz. You can't generally get the position of vertices, because their position depends on the execution of the vertex shader. What you typically want to do is to create "attachment point" bones/frames/nodes, which you can look up using the Bones collection on the Model. You can then use the transform of that bone as th ...Show All

  • waruwaru Registering user GameComponent with GameServices

    I'm finishing up work on porting some of my libraries as XNA GameComponents and I'd like to register some features with Game.GameServices . I've tried looking at the IGraphicsDeviceService definiton but came up short. Does the GraphicsDevice actually implement this or is it a separate object the GraphicsDevice privately creates and registers Can someone provide me with an example on how to do this I'd like to see creating the Service Interface and/or object When to call GameServiceContainer.AddService Any events I should create/use Thanks I used Reflector, to see how the GraphicsComponent did this and what I found out was that: if your new GameComponent implements an interf ...Show All

  • vish2007 A tool to help with Sprite Animations: Sprite Strip Composer

    Hi: I have been working on a game written in the XNA Framework. The game has many sprite animations. After researching how other do this in the community I adopted the approach of loading a "Sprite Strip" (PNG) consisting of a row of frames. If there are many frames and the sprite is large, I split them up onto multiple rows. One of the laborious tasks was creating such 'Sprite Strips' from a sequence of PNGs. I have created a very basic Windows Application named Sprite Strip Composer to solve this time consuming problem. Download: Sprite Strip Composer Instructions: Browse to a folder containing your PNG files. Select the files you want included in the strip. Make sure the animation looks correct by looking at the Animated ...Show All

  • TheViewMaster Checking if a sound is already playing

    Hi, how do you check to see if a sound is already playing If you have your Cue object for the sound. Then you just do the following. if (mCue.IsPlaying == true) { } I should probably add how to create a cue object just to be more complete. place this toward the top of your class Cue mCue = null; then wherever you initialize your sounds do this mCue = mSoundBank.GetCue("MySound"); ...Show All

  • soconne Post Processing

    Hello Can anyone direct me to some post-processing tutorials I want to try to throw some effects on a 2-D game I'm working on. Thanks! Is it possible for you to post a sample of your shaders I'm in the same situation as you. This is a great collection of links at Ziggyware. The most effects are to be used with 3D but if you are good at programming I think you could convert them too 2D. Take a look at Rambling of a hazy mind. He creates a invert Pixelshader using the SpriteBatch. Cheers Alfons http://www.ziggyware.com/forum/viewforum.php forum_id=24 http://www.thehazymind.com/archives/2006/12/tutprial_8_post.htm Sure; here's the motion blur one, called Blast. ...Show All

  • davidtcf Xbox Live Arcade "Standards" ???

    Does anyone have any information about the required "standards" for an Xbox Live Arcade game For example, most arcade games I've downloaded appear to have the following 6 standard menu options for their splash screens (in order)... 1. Single Player 2. Multiplayer 3. Leaderboards 4. Achievements 5. Help and Options 6. Return to Arcade (For trial versions, there is also a 7th option, Unlock Full Version, or something similar. Also, I'm assuming Multiplayer is optional; non-multiplayer games obviously don't need it.) What other requirements are there Where can I find more information about this Thanks! Robin, that's pretty cool :-) thanks for putting it together. I actually had an item in Co ...Show All

  • yagimay What a drag...

    On the games I've made in XNA, there seems to be some slowdown drag time when the processor is doing something else for a second. This usually happens at the worst possible time and my 360 controller can only take so many throws into the wall. I know that professionally created games do a good job of keeping things on an even keel (unless you're defragging your hard drive or something)... How have the rest of you managed to get around the slowdown ticks Does it have something to do with the XNA thing that keeps everything at 60fps I haven't delved into that area yet.. That sounds very much like what you see with a GC2. Spacewar doesn't have any media that is loaded during run. However the MS guys to ...Show All

798081828384858687888990919293949596

©2008 Software Development Network

powered by phorum