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

Software Development Network >> Game Technologies

Game Technologies

New Question

XInput or DirectInput?
DrawIndexedPrimitives Problem
Slight Lag in XNA?
Tutorial Site
Space Wars no weapon 4
Anyone to test an Octtree based space game?
Shader states, etc? (HLSL effects not working right)
Not installing the "xnagse setup"
A Managed DirectX9 UserControl on a web application
XBox 360 shader profile

Top Answerers

DaveInCT
Justin-M
Joe Albahari
kinggt4
sandeep437
Bhavin Mistry406063
kiwijason
jzfredricks
itznfb
vbhatia
VSS Data Export Tool
Only Title

Answer Questions

  • Jamie Thomson SpriteBatch and BlendModes (& rendering in the alpha channel)

    When using SpriteBatch it seems to override any RenderState settings for SourceBlend and DestinationBlend. Is there a way to change these settings or is there another way to draw a texture using your own RenderState settings There are two I would like to use : graphics.GraphicsDevice. RenderState.AlphaBlendEnable = true ; graphics.GraphicsDevice .RenderState.SourceBlend = Blend .SourceAlpha; graphics.GraphicsDevice .RenderState.DestinationBlend = Blend .One; and graphics.GraphicsDevice.RenderState.AlphaBlendEnable = true ; graphics.GraphicsDevice .RenderState.SourceBlend = Blend .SourceAlpha; graphics.GraphicsDevice .RenderState.DestinationBlend = Blend . InverseSourceAlpha ; Cheers, Terry ...Show All

  • David Kaiser Pausing and Unpausing

    I know how to pause the game, but when I use the code that was given in the tutorial I won't let me unpause the game. Here is a sample of my code that will help you understand my problem. protected override void Update( GameTime gameTime) { // Allows the default game to exit on Xbox 360 and Windows if ( GamePad .GetState( PlayerIndex .One).Buttons.Back == ButtonState .Pressed) this .Exit(); // TODO: Add your update logic here if (gameState == 1) { UpdateInputs(); } else if (gameState == 2) { CheckPause(); if (pause == false ) { UpdateBall(); UpdatePaddles(); CheckCollisions(); } else { CheckPause(); } } UpdateScore(); base .Update(gameTime); } ...Show All

  • Furqanms One BGM in memory at a time? See if my method makes any sense.

    Take a look and see if this makes sense. I can't seem to stream an audio file from the hard drive, or at least I don't know how. It looks like streaming is designed to be read from a DvD. However, failing that, it looks like when you define a new audio engine and specify the xact file to use, it loads all the wav files into memory. Obviously, this isn't a good idea for multiple large music files. So... what about creating a separate xact file for each bgm, disposing the wavebank when you want a new bgm and creating a new audio engine, wave bank, and sound bank using the xact file of the new bgm you want. Would this achieve the goal of having only one bgm in memory at a time Wow, that's awesome, thank you for explaining. Ok, ...Show All

  • dagfari Making XNA sing in 2D

    I'm new to managed code as far as using it for anything but tools and other applications where speed doesn't matter. I'm playing with XNA and looking to have some fun in 2D. I know this is the beta and all but the performance of using spriteBatch to draw sprites is really lacking. 5000 unlit, perfectly opaque square sprites using the same texture shouldn't run at 5 fps. 1000 sprites runs at just under 30fps, that's without any other game logic going on. Woof. I am looking to squeeze performance out of 2d mode, however I'm thinking that perhaps the best thing to do is just render in 3d mode and use large triangle lists to draw my sprites. Would that be the best course of action, or are there yet lots of tricks to rendering in ...Show All

  • Boris Zakharin I cannot deploy to my XBox 360, have searched.

    I've searched around, and haven't found a solution to this problem that works. Both computer and 360 are on the same subnet, wired to the router. In fact, the XBox 360 works fine as a media center extender for that PC, so I know that to some extent they can communicate across the network. I cannot ping the X360 from the PC (I get timeouts) and I cannot deploy XNA program (the X360 sits at the screen saying it is waiting for connection, and the XNA toolkit says that the deploy failed because it could not reach the XBox). Hi I had exactly the same problem - apparently pinging will always time out, the documentation is incorrect when it says give it a try to make sure it's all working. My solut ...Show All

  • Tom25 Correct version of the XACT

    While trying to build the project with simple sound as described in XNA Help the error XACT could not load the data provided. Make sure you are using the correct version of the XACT tool appeared. I have October SDK installed and no attempt to build sound files with August SDK taken. Have seen some posts with similar problem here but no real solution. Is there any kind of restriction meaning the size or other sound properties I used standard Windows file "chord.wav" for my experiment. It seems to me MS has a weak projects coordination or none for betas at least. October SDK PIX delivers the ability to debug shaders at last, but you must have two computers by the hand with different ...Show All

  • GCB Where is the download?

    It is 12:48 pm here (GMT + 1)... in Nuku'alofa (GMT + 13) it is tomorrow... So where the hell is my download link :-D It's just gone Close of Business 30/08/2006 here in Oz. Please Santa, bring it on!!! It's 4:57 PM here in Adelaide, Australia.. I've been waiting since 2:00 PM for the download and it's still not out! IIRC, Beta 1 of Game Studio Express is coming out tomorrow (Aug 30th)...you're about 19-ish hours too early ;) EvilOneSD wrote: Hmmm... the holy grail is here on my desk. Btw... it's "tomorrow" now... What, you have one too :p It's been "tomorrow" here all day... heck, it's ...Show All

  • chirag.dave Model Position Problem

    I have this code that creates a model at the position of the mouse click but the model never shows up at that position. Maybe someone out there knows why the models seem to be offset. If I click in the top left corner of the screen, the model shows up in the center of the window. Here is the code: #region Using Statements using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Storage; using System.Collections; #endregion namespace Commander { /// <summary> /// This is the main type for your game /// </summary> ...Show All

  • Robert_01 Text on 3D surface

    Hi, I am showing a couple of boxes and need to write a readable text on the side of a box. By "readable" I mean it should not get blurry when you move the camera close to it. Can anyone give me an example of how to accomplish that or point me to an tutorial The Text3D tutorial does not really fit my needs as I do not want to render the font as a real 3D text, something like a "plate on the box" would be perfect. Maybe even a separate rectangle that contains the text so that I can hide it when the camera is too far away. The boxes itself are drawn as triangle lists. And one additional question before I search for my old school books ;) There is a BoxBoundProbe method that I use to check if a mouse click hit ...Show All

  • manukahn InvalidCallException in 3D primitives code attempt

    Hello, Lacking full examples in the docs, I threw together some of the sample code in the How to: Draw 3D Primitives section, probably incorrectly, and am getting an InvalidCallException on the following line: graphics.GraphicsDevice.DrawUserPrimitives<VertexPositionColor>(PrimitiveType.TriangleList, 12, nonIndexedCube); The details of the exception are not helpful. They say "External component has thrown an exception." My code is below, hopefully this forum formats it ok, without smiley faces etc. Any suggestions appreciated. By the way, I am using an ATI Radeon Mobility X600 and had no problems compiling and running the Spacewar demo. - Matteus using System; using System.Collections.Generic; using Microsoft.Xna.Framework ...Show All

  • Jordan111 Does VC#05 Express allow class diagram creation?

    I notice some people post screenshots using class diagrams for XNA projects, but I can never find it in VC#05 Express although I can in Standard. Since I'm being forced to use the full XNA experience on VC#05 Express, class diagrams can really be helpeful. Is there a way to use this feature in Express If not, it would be a great tool for students down the road when they go over class design etc. And it definitely helps out on any task! :) Unfortunately not :( My trick is that since most of my code is contained within class libraries and linked in to the XNA game project, I do all my initial design in VS2005. Since you only need the XNA class library when it contains content pipeline stuff, I can ju ...Show All

  • Ronaldlee Ejalu Applying custom effects to an imported model

    Hi everybody! I'm playing around with my shiny new Beta2, and I'm loving it. :) I've hit a bit of a stumbling block, though: I have a .x model that I've imported, which was pretty elementary.... What I've not been able to do is find the proper methodology for associating a custom, imported effect with the meshes in my model. How exactly do I do that And what if I want different material effects applied to different meshes in the model Thanks, and I appreciate the help! I made a really short tutorial on applying a custom effect to a model, you can check it out if you like: http://xbox360homebrew.com/blogs/kobalt64/archive/2006/11/05/1273.aspx This would be easier if Mo ...Show All

  • god_rr XNA vs Intel 915G

    I was wondering if anyone has had any success with the XNA framework on a pc with the Intel 915G chipset. I have a user reporting an XNA-based program of mine is failing to start up due to it being unable to find a suitable graphics device. Reading around on various forums, I gather the shader support offered by the Intel 915G is somewhat non-standard, which may explain why XNA can't or won't use it. Unfortunately, I have no access to a pc with this chipset, so there's not much I can do in the way of testing. Has anyone got XNA up and running with the 915g, and if so, how Thanks! Hi, My laptop uses the Mobile Intel 915GM/GMS ,910ML Express chipset and I had no problem when creating a 2D game using a ...Show All

  • IBRAHIM ERSOY Upcoming Starter Kits

    From yesterday's webcast (where was everyone ), it was mentioned that a puzzle starter kit would be included in the RTM version and that the XNA Racer starter kit would come with the Creator's Club membership. I didn't get a chance to confirm this. Is this the case Also, are there any plans for other starter kits down the road Joel Martinez wrote: btw, I'm terribly excited about what was shown in the c9 video ... very cool stuff. I was however disappointed to find out that XNA won't work with the 360 wireless adapter. Now I'll have to do some rewiring to support that setup -- not sure if I'll be able to get to that before the end of the year :-( Before doing any rewiring, try it with the wireless adapter first. Whi ...Show All

  • Tommi S. Laukkanen Setting project up to be cross platform

    Hello Any advice on what's the best practice for setting up your game to run on both PC and Xbox Even better if there could be an included example of this. I'd like to develop my game on the PC and only running the 360 version periodically. In the past I've set up seperate builds so I'd have a release\debug versions for PC, PS2 and Xbox1. I've seen posts mentioning creating one solution with two projects in and then adding the source to the other project as a link. I have my project like this but I find I'm having to add any new source files twice, once to the PC version and once to the 360 version. The same goes for any data I decide to add. This doesn't seem the best way of dealing with it so has anybody come acros ...Show All

464748495051525354555657585960616263

©2008 Software Development Network

powered by phorum