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

Software Development Network >> Game Technologies

Game Technologies

New Question

Xbox 360 Official Dev Kit vs. "the XNA thing"
Creating a basic Terrain
Right handed media files
Bad Lines Appear with Sprite.Draw with Redist. but not with SDK
Cannot debug content pipeline
Memory Leak Blues (PlayCue)
InvalidCallException in 3D primitives code attempt
2D sprite transparency
Installation with Visual C # 2005
Should R16F format work for Texture2D?

Top Answerers

ElliotHC
Ziad Adada
Marco Minerva
craemer
Thomas S. Andersen
Daniel_laksjdhfg
Edward Kong
sd_dracula
Bodylojohn
Steve Graber
sitemap
Only Title

Answer Questions

  • Mats Aubell Scaling Asteroid from Space Wars starter kit

    Hi all, Currently I'm trying to scale the asteroids from the Spacewars starter kit into larger sizes. Being a noob, I'm not sure why the asteroid is appearing "corrupted" for a lack of better words. Here is a screen: http://i71.photobucket.com/albums/i143/batchdavis/badasteroids.jpg Notice the asteroids look not correct. Any help would be greatly appreciated. Here is the code I use to draw them inside of the draw function: [code] Matrix [] transformsa = new Matrix [ this .asteroidModel.Bones.Count]; asteroidModel.CopyAbsoluteBoneTransformsTo(transformsa); //Draw Asteroids for ( int i = 0; i < asteroidCount; i++) { foreach ( ModelMesh mesh in asteroidModel.Meshes) { //This is where the ...Show All

  • drew_p Spacewar not working correctly

    Hi, I've downloaded all the necessary components and was playing around with the Spacewar starter kit. I can launch the game but it seems like it's missing a lot of the objects. For example when I start the game I can hear the ship moving around, but I can's see it. Only the jets are visible. Also the background is not visible. The only thing that I can see is the score, the time and a couple graphics in the corners of the screen. The rest is black. Doesn't matter if I start the game in retro mode or not. Am I missing something Thanks. In other words a GeForce2 card is DirectX8, therefore NOT compatible. :( That could be it. I have an older graphics card, actually a Ge ...Show All

  • Bill Gates II InvalidCueException

    Wow, I'm full of problems today. public static Cue Play(Sounds sound) { Cue value = soundbank.GetCue(cueNames[(int)sound]); value.Play(); return value; } This simple method takes in a Sounds enumeration, which I made based on the XNA framework starter kit. The enum basically is the string[] index for the proper sound in the soundbank. I could just as easily (and have) replaced the cueNames reference with an actual sound name ("laser") in this case. The problem is, whenever my program hits the bolded line up there, it crashes, throwing an InvalidCueException at me. This exception is very sparse: "External component has thrown an exception." There is no inner exception. That's pretty much all it ...Show All

  • mosaic Move 3D Object on Screen

    Try to use mouse to move the object on screen. Such as the "PAN" action for 3d application. I converted screen coordinate to world coordinate. But result is wrong. Wish to get help. Thanks. Could anyone help I still haven't got solution yet. Thanks. I appreciate if you could give detailed info. Examples will be great. Thanks. "It doesn't work - please help" is saldy not enough information to go on. There are lots of samples for 'picking' out there in native, managed, DirectX and OpenGL - have you tried to work through those Thanks. It's great help. I am using C# and similar method you mentioned. Here is my code: Movement is the class which has the properties of mouse drag s ...Show All

  • imed-deborah Code-Geeks

    Hi guys, I'd like to introduce you guys to a couple new sites being started for the development community. CodeGeeksWiki - MediaWiki 1.8 based programming wiki for all languages. Currently has XNA content, but we're looking for more editors for other languages. CodeGeeks Community - Community Server 2.1 based site that has free blogging and forums. Please check us out and contribute to the knowledge and learning of others! Tutorials are very welcome in any language on both of these sites! ...Show All

  • andras99 Rendering to a Texture?

    I tried to do a search but kept getting an error message. I was wondering if anyone had an example on how to render to a texture under XNA. Thx Hi, I was getting the same problem. I found the issue was trying to use non power of 2 texture sizes. If I used a power of 2 size for the dimensions of the texture (e.g. 128, 256, 512, etc), it compiled fine. The width and height dimensions can be different, just make sure they are a power of 2. I hope this helps. Sorry, I should have included this in my previous post. It will throw the exception anytime the ResourceUsage is set to RenderTarget. I tried fiddling with the texture dimensions, levels and ResourcePool ...Show All

  • Ian Smith Could C# be the future of gaming?

    Since XNA is using C#, and is is a more intuitive language than C++, is it possible that in the future that C# will dominate, espessially in AAA titles. Could XNA be ushering a new way of programming in the main stream With the ability to use unsafe code in C#, I expect performance to not be an issue in any game other than cutting edge stuff. There will probably always be those that will prefer C++ over anything else, but I can see a move by smaller companies to C#, for the increased speed of development if nothing else. Hi there, I don't know if this is the right forum for this but I was reading this thread and had a question. I haven't done hobby PC game programming or C/C++ coding since the early 90s. I started to g ...Show All

  • vb_ff C# and how it works with XNA

    Howdy guys and gals, I just downloaded the Visual Studio 2005 and the XNA thingy. Can't recall which one. I've never done anykind of C programming before. I'm wondering if say I found a tutorial or book on how to use C# for games. Would the examples work in the XNA program Thanks for any feedback. Walsher, please note Jim's tagline If a response to your question is helpful please mark it as such! If Fluxtah, Jims and or my post have helped then please use the "Mark as Answer" feature, you are also able to mark some or all as answers if they have helped. Just a friendly note for these forums Darkside Excellent, will definitely check out that link, thanks. ...Show All

  • nikjai Loading Multiple objects from one FBX mesh causes translation/rotation problem

    I've been trying to create a whole scene in 3DSMAX and then import the scene in one FBX file with the content pipeline. Say my seen includes only two objects a cube and a pyramid placed on of the cube. Now when I load the objects with the content pipeline the triangles position has been moved to an initial position of (0,0,0) which is no-longer on top of the cube, but is now placed w/in the cube. Now I know I could perform a boolean join in 3DS Max on the 2 objects and then they would load into the content pipeline properly... but then I would lose the ability to operate on each object independently... I could also load each object seperately and then move and rotate the object as needed.... but this method really isn't feasible for scenes ...Show All

  • Tom Phillips Cursor Support

    It seems that the SetCursorProperties method and its related methods have been removed from the GraphicsDevice class.  I can't seem to find an implementation of the hardware cursor anywhere else. Do I have to draw my own cursor now I really would prefer to use the hardware cursor, as it doesn't lag like a sprite-based cursor and also keeps the user's desktop cursor settings. Any suggestions Edit: I just noticed that Texture2D no longer has a GetSurfaceLevel method either. It has a LevelCount property but apparently no way to access the surface levels. Jon Watte wrote: According to the FAQ that comes with the 1.0 release: My mouse cursor is not visible. How can I make it visi ...Show All

  • NewDeveloper83291 Need to learn c# for xna!

    Hello everyone, Just a quick question. I'm really excited about xna and running code on my 360. I'm currently working as a c++ programmer and I'd consider myself at an intermediate level, after finishing my degree and a year in industry. I'm currently teaching myself directX 9 and I want to get started on xna but unfortunately I have no knowledge of c#. I've extensive experience with java from college but I consider c++ to be my native language. Anyway to bring my slightly drink fueled rambling to an end, I've learned the only way to get to grips on a programming language is through small projects. In college we never fully implemented a windows GUI, they taught us swing on linux and I've played a bit with swt in eclipse. So for me it seem ...Show All

  • Jassim Rahma Art/Sound assets

    First off, I'm really excited about XNA/etc. If I ever meet the guy/gal who came up with this idea I would love to buy them a beer. I'm a programmer with professional experience. I feel like I'll be comfortable with XNA development once I've got my hands on it. My main concern is game assets. I'm no artist, nor am I a sound engineer. Here are my questions: How much art/sound content is expected to be available for programmers like me Will there be a variety of content For example, I want to make a fantasy RPG and some other guy wants to make a space themed FPS. Will we both have access to the assets we need Will art and sound types be able to upload their own content for other developers to use ...Show All

  • Benny Chang Another Bug???

    Hello:)) i have one question: i need run few game objects for example Game1 and next Game2 .... Game3 for example: static void Main( string [] args) { using (Game1 game = new Game1 ()) { game.Run(); } and next game object: using (Game2 game = new Game2 ()) { game.Run(); } when i make Exit() from Game1 program stop on Game1 object and do not run Game2 but when i press "cross" on Game1 window then program go to Game2 normally ,but how to make this programmatically Best Regards Cezaro Just wondering why you need multiple game objects exit() terminates the app. Try using Dispose() on the game object instead. ...Show All

  • gundamgoth Absolute and relative mouse movement

    Usually when dealing with mouse input you want the data from the mouse in two forms, one is absolute that you might use to draw a cursor or know which part of the window/screen a user has clicked on, and the other is relative where you are only interested in how much the mouse has moved. Currently, the MouseState only seems to report the mouse movement in the absolute form. This means anyone using the mouse to control, for example, a first person camera would find their movement limited by the size of their window/screen. I have tried playing around with the Mouse.IsCaptured property but it doesn't seem to make much difference, quite possibly because I don't know how to use it. Am I correct in thinking that getting relative mouse input dat ...Show All

  • eskimosound LoaderLock was detected

    Hi, I have installed DirectX 9 SDK (October 2005) and Visual Studio 2005 RC1. When I try using directx classes for capture audio, I have a problem. The code i have wrote is: Dim d As DirectSound.Device Dim ds As DirectSound.CaptureDevicesCollection ds = New CaptureDevicesCollection For Each d In ds           Me .ListBox1.Items.Add(d.ToString) Next When I run the application I get error when creating new instance of CaptureDevicesCollection. The error is : LoaderLock is detected. The MDA message is: LoaderLock was detected Message: DLL 'C:\WINDOWS\assembly\GAC\Microsoft.DirectX\1.0.2902.0__31bf3856ad364e35\Microsoft.DirectX.dll' is attempting managed execution inside OS Loade ...Show All

888990919293949596979899012345

©2008 Software Development Network

powered by phorum