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

Software Development Network >> Game Technologies

Game Technologies

New Question

Using the Cue object generates exception with multiple .Play calls
get pixel available?
Tiling a texture?
ContentLoadException
am i dumb?
Skysphere Demo
xna with managed directinput
Is there a way to get the color of the pixel under the mouse pointer?
Drawing Line with shaders...
error LNK2019: unresolved external symbol _DirectDrawCreateEx@16

Top Answerers

buckenn
Eric Robert
Will Merydith
Charlie Audritsh
Kidsauth
Randy Galliano
Michael Tsai
ONEWORKNGRL
Michael Ruminer
Michael Pritchard
sitemap
Only Title

Answer Questions

  • nbot Problems opening new project

    Hi all, just downloaded XNA beta. I keep getting an error when trying to create a new project. It doesn't matter if I choose empty project, windows game or spacewar, I keep getting this error (translated from the dutch error message): the syntaxis of the filename, foldername or volumename is incorrect. (Exception from HResult: 0x8007007B) Any ideas I checked my folder settings, but they seem to be in order (existing folders...). Kind of a bummer, since I can't do anything until I get this fixed. thnx in advance You're running C# Express under Win XP right Hi, just found the answer to my own question: this is a known problem using C#. Has to do with directorynames containing an am ...Show All

  • worldhello Core 2D game engine, book recommendations?

    Hi all, I am looking for a decent book or two on game development for someone with fair OOP programming experience. The book should give guidance on the the following subjects:  * What to do in the core game loop  * Handling animations (in the core game loop).  * Handling events, or triggered events.  * Something about artificial intelligence --> Path finding.  * Ideally, some tips about multiplayer integration.  * Going about with various exceptions (which makes the game).  * Working with tilemaps.  * Enemies moving on a tilemap + pathfinding.  * All of the above in a OOP approach.  * preferred is the main focus design of above, with code examples. Basically a book which can ...Show All

  • Ziad Adada Creating a simple Box with D3DXCreateBox

    Hi, i have a problem with D3DXCreateBox. I simply want to render a box of size 100, 100 and 1 in a windowed application. So i have the following: void render( ){ //Mesh LPD3DXMESH mesh; pD3DDevice->Clear( 0, 0, flags, D3DCOLOR_XRGB( 255, 255, 255 ), 1.0f, 0 ); pD3DDevice->BeginScene(); D3DXCreateBox(pD3DDevice, 100, 100, 1.0, &mesh, NULL); mesh->DrawSubset(0); pD3DDevice->EndScene(); pD3DDevice->Present( NULL, NULL, NULL, NULL ); //this is ugly but works mesh->Release(); buffer->Release(); } When i call render in the main loop it only clears the scene but does not render the box. while ( 1 ) { // Only render when there are no messages if ( P ...Show All

  • Jim Holloway Please Post First Impressions Here.

    For the working stiff's like myself, could those of you who have successfully downloaded GSE post you first impressions here. Thanks. thx for the answer.. no i just hope for a good docu.. :) Where do these .swm files come from I looked at the structure of them, and they are quite simple. But where do they come from Well, yeah, what'd you expect First impression - Sweet!!! SpaceWar Starter Kit ran perfectly. Very nice! Working on a sample using the Windows Game kit. More to come. It definatly looks like a great framework! I started working on my game using XNA, and so far I haven't run into any problems! Although the naming convetion in the framework is different ...Show All

  • Beetle54 3d multiple model help

    i have 2 models in my game loaded. where one of the models is a gokart and camera follows it from behind. the second model is the track. when i controll the kart the kart moves but the track model stays still. how do i overcome this. this is the code for drawing the track model.(just the track model not the kart) private void DrawModel( Model m) { Matrix [] transforms = new Matrix [m.Bones.Count]; float aspectRatio = graphics.GraphicsDevice.Viewport.Width / graphics.GraphicsDevice.Viewport.Height; m.CopyAbsoluteBoneTransformsTo(transforms); Matrix projection = Matrix .CreatePerspectiveFieldOfView( MathHelper .ToRadians(45.0f), aspectRatio, 1.0f, 10000.0f); Matrix view = Matrix .CreateLookAt( new V ...Show All

  • Marius Onofrei Xbox360 to PC Comparison

    Does anyone have an idea what performance I can expect from the Xbox360, I am writing my game purely for the console because I dont want to have to write a load of code for dealing with different spec machines (throttling the number of creatures, etc) and different types of input. The game I am porting is this (original is in vb.net and MDX) - http://www.entombed.co.uk I have managed to port the models, parrallax occulsion mapping shader and per pixel lighting. But I dont know how the Xbox360 is going to perform. My PC is this spec ( cr@p ish) - Intel P4 2.4 (400 FSB) ATI X800 XT PE 768 MB AGP x4 I am receiving an excellent frame rate from my PC and wondered what I should expect from the console, will it be twice as quick or mo ...Show All

  • TonyVFP other operating systems?

    will XNA ever be available for linux, mac, or other c'mon at least mac! Well, we really don't know very much at the moment. I can redirect you to the site of the Tao Framework that is starting this development. If you are interested you are welcomed to work in it, just sign in . But as a starting new baby technology (actually a baby technology even in Microsoft) we will see. I definitely believe that XGL will be the way to go but... Time will say. www.taoframework.com/Mono.Xna Cheers That would be great, probably we can think of XGL exposed like WPF is Microsoft hasn't said anything about it by now but historically, DirectX has never been deployed for any other OS than Windows. Now Direct ...Show All

  • Paul B - Miami Failed Tutorial

    Anyone know what i did wrong You missed a semicolon and Load should be capitalized. The line should read: myModel = content.Load<Model>("Content\\Models\\p1_wedge"); As for the rest of the errors, I can't see the rest of your code, so I don't know what's wrong. Read up on some C# tutorials or look at sample code; it might help. ...Show All

  • Karen G. Solution for people that can't upgrade directx from 9.0b(or 8.1) to 9.0c {windows xp users}

    This thread is for people in two scenarios: 1) Those that can't upgrade their directx version from 8.1(standard windows xp starting version) 2) and Those that can't upgrade their version from 9.0b to 9.0c. Today is your lucky day! These two solutions largely will work for people who keep trying to upgrade their version of directx and continually get a dialog box appearing, which says, “The components installed are now ready for use.” That being said, these poor unfortunate souls(myself included up until an hour ago), know better, as they check the diagnostic tool and see for themselves the version has not changed and they are stuck in version 8.1 or 9.0b. I spent an accumulative of 6 hours on the phone with Microsoft technical support a ...Show All

  • Elurahu Should shaders be getting disposed on device reset?

    Under MDX 1.1, once a vertex/pixel shader was compiled, the resulting compiled shader was good for the life of the application, and was still valid even after a device reset. However, under XNA, compiled shaders seem to go into an invalid state when the device is reset - attempting to set GraphicsDevice.VertexShader to a shader compiled before the device reset results in an AccessViolationException. Has the requirement on needing to compile shaders after a device reset changed between MDX 1.1 and XNA, or am I looking at a potential XNA bug OK, I will create a minimal example that reproduces the issue and post it as a bug. Thank you for the fast response. phoenix11 w ...Show All

  • piekop N00b Maths question - calculating radian angle for rotation of a sprite based on two points in 2d

    Apologies for my poor mathematics here, but I need to ask the greybeards for some advice: I have two points on a 2d plane, offset so there is one "top-left" and another "bottom-right". I need to join these two points with a straight line by scaling a single dot sprite from one point to the other. If I know the x,y co-ordinates of both spots, I can get the overall length of the scaled sprite, but how do I calculate how far I need to rotate the scaled sprint around one end point to "join" the points together Thanks in advance for any help you can give. P " There are other ways to solve that problem without rotating a dot sprite, but I will assume you have a good reason for ...Show All

  • Anurag Srivastava Woeful XNA GSE Install

    I've uninstalled my XNA GSE Beta 1 and everything but I get that stupid error message whenever the installer gets around to installing the DX Runtime. I never had this error when I installed GSE Beta 1, so why now It finally worked, but I only launched the .msi file through Run. Does that mean you can't just run a Windows Installer file through Explorer, you have to use Run If your still having trouble please follow this guide: Please try running the installer like this: Msiexec /i xnagse_setup.msi /lv installlog.txt In addition to that if you want to grab your %windir%\DirectX.log (%windir% is the root windows directory) And file a ...Show All

  • Ralph1988 TitleLocation writeable on the 360?

    Let's say I run some code like this on the 360: string fullpath = Path.Combine( StorageContainer.TitleLocation, "new_file.dat" ); FileStream fs = File.Open( fullpath, FileMode.Create, FileAccess.Write ); Will this work on the 360 Or is "TItleLocation" read-only Assuming this will work are there any FileMode operations that are off limits in TitleLocation or it's subdirectories If this can be done, then is there any limit to the amount of space that can be written to TitleLocation or it's subdirectories other than the available free space on the 360 HD Thanks - Ryan If you don't get an answer on this in a couple hours, I'm going to try to run some StorageContainer/ ...Show All

  • yvolk Anyone need music/sound design?

    Hi! I'm an experienced musician/audio engineer and avid gamer looking for some projects to help build a portfolio. I'm especially interested in composing context sensitive music with some basic interactivity. I also have a fair bit of programming and scripting experience and knowledge of modern game engines. I specialize in Rock, Electronic, Rap, and Orchestral. Here are a few examples: Orchestral: http://thirdcoil.com/music/wasted_potential.mp3 Orchestral/Action: http://thirdcoil.com/music/biohazard.mp3 Rock/Electronic: http://thirdcoil.com/music/politic.mp3 Electronic/Dark: http://thirdcoil.com/music/avail.mp3 If anyone has a project they think I'd be well suited for, let me know. I'm just looking to get some experience. Thanks! - Joel D ...Show All

  • fel lobo Vibrate the controller for 1 second?

    Hi, I've just starting playing around with XNA for xbox 360 and have a noob question I want to vibrate controller 1 for a single second. I know to set vibration on I can use the code: GamePad .SetVibration( PlayerIndex .One, 1.0f, 1.0f); and to turn it off: GamePad .SetVibration( PlayerIndex .One, 0f, 0f); But how do you set the length of time for it to vibrate I have experience in programming with C++ but have not yet had the chance to fully immerse myself into C#. Thanks And yet another example =). I have a GlobalObjects class that handles items such as this. That way any of my entities can override the shaking and get a more centralized control since there ...Show All

515253545556575859606162636465666768

©2008 Software Development Network

powered by phorum