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

Software Development Network >> Game Technologies

Game Technologies

New Question

)
Multiple XNA Questions
Numeric performance on 360
Collision detection - Howto
Do render targets have to be the same size as the back buffer?
Grouping units like in a RTS game
HLSL shader debugging in PIX
When is the content pipeline coming?
GameComponent.Draw()... why?
"Use of unassigned local variable" error on Xbox360 but not Windows

Top Answerers

b6s
Mohsen Kokabi
Jeff Weber
sparkdog
satya31237
JoeR1
enric vives
Rassol
xavito
JesseD70
sitemap
Only Title

Answer Questions

  • Lorry Craig get screen resolution & FullScreen

    How do I get screen resolution of the computer Because my program will be shared between many computers, I want the program to find the resolution of the computer on wich it is running. By example, on my computer at home, the program will return the value 1024 and the value 768 in order to make 1024 X 768. On my laptop, I will get 1920 and 1200. I want to get the width and the height separately, in two variables. With those values, I will be able to set automatically on each computer the window size as I want it. To resume, I am looking for something like this: width = computer.ScreenResolution.width; height = computer.ScreenResolution.height; Also... If I ever decide to start the game in FullScreen (Make the wind ...Show All

  • netpicker9 Keeping game graphics the same size over different resolutions

    I implemented a virtual pixel system in Buttermilk to try and keep all the graphics of a game the same size no matter what the preferred back buffer resolution was. Unfortunately, due to accuracy problems with SpriteBatch.Draw's int-based coordinate parameters, cracks keep appearing between my tiles, and tiles sizes shrink / grow depending on how the float coordinate value of the tile translates to the int-based coordinate parameters. I've tried all different kinds of Math routines (Floor on the pos, Ceiling on the Size, Round on everything, etc etc etc) but nothing work as well as it needs to. So, I'm probably going to completely abandon the virtual pixel system. It's just not working at all. But, I still need some way to keep game ...Show All

  • Binu Jeesman Questionable Design?

    Granted, I'm only a hobbiest, but it seems that many of the samples in this beta just have some very poor design regarding encapsulation. Is it no longer one of the pillars of good OO that an objects data is private and exposed through accessors I'm not sure with "many of the samples", but I _definitely_ concur with this sentiment when it comes to the Spacewar example. Spacewar doesn't even seem like much of a "port." When opening up the Spacewar example, you will notice that there are ZERO GameComponents in the entire application. Now, a game that is being true to "the XNA way", I'd imagine, would certainly have more than _zero_ GameComponents. It's unfortunate since I'd ...Show All

  • Arsal Usman Project Error

    Whenever i try and open the SpaceWar for windows file i keep getting this error, im new here, so i hope i put this in the right section: Could not load type 'Microsoft.Xna.Framework.Content.ContentSerializerCollectionItemNameAttribute' from assembly 'Microsoft.Xna.Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f48fa5f25d27e8ff". im using Beta 2 and have the latest Direct X and XNA Framework Hi You should refresh (remove and add) reference to Microsoft.Xna.Framework (and maybe all other Xna libraries, too.) Hope this help. Yours Markku well it wont even let me open a project Ou... And what happend if you t ...Show All

  • Sergey Sorokin LockRect on Direct3D Mobile Fails with INVALIDCALL error

    Is it possible to do a LockRect on a texture in Direct3D Mobile I keep getting an D3DMERR_INVALIDCALL. I tried it with one of MS's samples like this: // Load the texture map resource (banana.bmp) if ( FAILED( D3DMXCreateTextureFromResourceEx( g_pd3dmDevice, GetModuleHandle(NULL), MAKEINTRESOURCE(IDB_BANANA), D3DMX_DEFAULT, D3DMX_DEFAULT, 1, 0, D3DMFMT_UNKNOWN, texpool, D3DMX_FILTER_POINT, D3DMX_FILTER_POINT, 0, NULL, NULL, &g_pTexture ) ) ){ return E_FAIL;} D3DMLOCKED_RECT d3dlr; HRESULT result; result = g_pTexture->LockRect( 0, &d3dlr, 0, 0 ); This last function fails. Am I doing something wrong Thanks Whats the value of “texpool” Normally you can ...Show All

  • Richard Maher General strategy question about XNA

    What is MSFT's strategy with GSE I mean, is it a stripped-down version of GS Pro meant to spark interest in GS Pro Is it actually going the core of GS Pro, and the hobbyist/student community is acting as both first adopters and beta (or even alpha) testers of the product Is it a way for MSFT to foster some kind of indie/small game shop Xbox360 game development (The latter would seem to be slightly odd: the actual dev kits, I gather, are not a minor expense, in addition to what I'm assuming are certification and any other testing expenses; I would think that releasing an alternate path for Xbox game development might cannibalize an existing revenue stream...) It would seem to me to be just simpler to wait for GS Pro to come out, and l ...Show All

  • Victor Hadianto Simple BreakOut Demo (Source included)

    Well there it is, my first ever C# and XNA program I hope it'll help some of you. Download BreakOutDemo.zip v0.31 Thank you MS for that wonderful gift that is the XNA. It is really good to see games comming out of the wood work... but just a favor, can you please make the posts comments if you are not asking a question. Also if you do ask a question and get a correct answer please make the post as answered. Remember that all of the Questions and answers get added up and all count towards the stats for the forums. It would be nice to get the XNA Groups a high answer rate. The issue has been resolved. Thank you for bringing it to my attention. I also added new glyphs for the ABXY and Start buttons, enjoy! ...Show All

  • sydes141 Camera woes

    Hi all. I'm having trouble with my camera class. All is well (walking, elevating, strafing) until I pitch up a bit and start yawing. What happens is, as I'm yawing, the camera seems to be rolling in the direction of the yaw on its own. This only happens when I have my camera type set to FPS, where I'm trying to limit to yawing on the world Y axis. The FREE type works as intended and yaws on it's own local Y (Up) axis. Any ideas Before: http://img435.imageshack.us/img435/2787/ss1ja1.jpg After pitching about 35 degrees up and then yawing to the left several times around: http://img282.imageshack.us/img282/4946/ss2aq7.jpg I pasted my Yaw, Pitch, and BuildView methods below. Yaw public void Yaw( float angle, ...Show All

  • ShyamD When will the Content Pipeline be released?

    Can any XNA insider tell me the date the content pipeline released or when will the next version XNA GSE be released Don't forget to vote for this to have it at the top of the priority list if it's not already there. https://connect.microsoft.com/feedback/ViewFeedback.aspx FeedbackID=194079&SiteID=226 Danny Tuppeny wrote: I just don't see them doing another beta between now and christmas, and given the integration with GSE, I'm not sure they could easily release it standalone :( The release is expected Holiday'06. He just simply said they have no dates on anything before that. Considering this beta has some holes, and is missing a LOT of cont ...Show All

  • smiffos Error 1920 - failed to install DX sdk

    "Error 1920.Service DirectX Debug Service (DXDebug) failed to start. Verify that you have sufficient privileges to start system services." When attempting install of the Direct X sdk - this question has been asked on this forum before but the solution presented did not work for me - Info - I'm using a games development PC, which has a ton of old software on it. I reinstalled Microsoft Visual C# 2005 express edition. No luck, same error on sdk. On my machine is something called Microsoft Visual Studio .NET Enterprise Architect 2003 - so I tried reinstalling / repairing that and after a while it asked me for a disk for a resource. I have no disks to go with this software - do I even need this Enterprise Architect software on ...Show All

  • ByteRider Collision questions

    Hello. I'm currently trying to make a plane game. I'm working with the space divison right now, I was thinking of dividing all the triangles into cubes in an array. I have looked a long time for an equation to check collision between a cube and a triangle but the stuff I have found used very advanced mathematics to describe it. I've heard that cube and triangle collision could be accomplished with quite simple linear algreba I havn't read so much math due to my age but I know linear algreba quite good. My second problem should be quite easy, It's about how to check if a single point collides with a triangle. I think this can be done easily by using the bayCentric function but I just can't figure out how. I wonder if anyone could explain t ...Show All

  • Nandagopal Best Practices

    I'm a big fan of FxCop and best practices when developing .NET applications and any API's. Are there any documented best practices when using the XNA Framework Are there any plans to add an FxCop module for XNA Cheers, Steve Dunn. There is nothing official right now. I would, of course, recommend reading and applying the .NET Design Guidelines when developing APIs. We are currently looking at how do we illustrate some common design patterns used in games today and how they apply to the XNA Framework to help those that aren't familiar with them. We've also discussed FxCop extensions to assist in XNA Framework development, but nothing concrete just yet. I think "No" is the answer to ...Show All

  • pst_grant Games

    Can I create games using Visual Basic 2005 I had a couple of samples in English but I will not continue working in that web page. You can still download them from www.juegosvb.com (it is in Spanish dough) and as a preview of what you can accomplish with Visual Basic.Net Express, you can follow up with the creation of (Nimbus), An XFile modeler currently under development. Hope this helps you. Have you looked at the Hotlabs page on MDXInfo.com on making games The hotlabs are based in South Africa and cover different aspects of coding complete games. We have succesfully remade a clone of Tetris, Arkanoid and we will soon be remaking other classics. The sampl ...Show All

  • jfbaro PC project -> 360 (including Game Library)

    Hello, I just wrote a little puzzle game (Windos Game Project) and now I want to build the 360 version of it, but I have a little problem (probably PEBKAC *g*) I wrote a content-processor for instanced rendering (overriding ModelProcessor) and implemented a new ContentItem called 'Font'. It reads the *.fnt files from AngelCode Bitmapfont Converter. Because I want to reuse this, I put it into a "Windows Game Library" and everything works fine.. Now, if I try to put my custom content stuff into a XBox 360 Game Lib, the build process told me, that there exists no "TargetPlatform" enum - which is needed for the serialization methods. After thinking about it, I realize, that I wouldn't make sense that th ...Show All

  • Matcon DreamBuildPlay is up!!!

    Now go register!!   Actual contest details to come the week of Feb 5th I'm not speaking for Microsoft, but if you want to enter you can always enter a US State and Zip code and phone number for now until they get that addressed. I'm assuming that you can edit your information later once that's been corrected. Again, I don't speak for Microsoft on that, that's just what I would do in your shoes. I guess NEW JERSEY isn't in the United States, I swear to god it isn't in the list of states... :( Yup, sorry. In fact, it will only allow you to enter if your name is XNA Rockstar. Sorry to be the bearer of bad news guys uphhh....they turned this piec ...Show All

99012345678910111213141516

©2008 Software Development Network

powered by phorum