Answer Questions
Charlie Calvert MSFT XNA Templates in VS2005 Pro?
Has anyone tried using VS2005 Pro for XNA Games I know you need C# Express installed, but if you copy the templates to the VS2005 folders and reference the DLLs, will it work Today I discovered that my MSDN subscription (bought for me by the company I work for) allows me to use VS2005 Pro at home. I don't really do any development other than playing with XNA, so I was just wondering if it was worthwhile installing it or not I confess I'm baffled why MS are insisting that XNA studio should only work with VS Express - I keep seeing all sorts of vague comments about extensions etc. As far as I know both VS pro and VS express have virtually the same plug-in model, there must be some other (real) reason ...Show All
viveque Textures don't show up when using Basiceffect
Hi, I'm just trying to create a couple of walls and apply a texture to them. Unfortunately, when running the program the walls just come out as a grey sort of colour (depending on the texture, the shade of grey seems to change). I'm assuming there's something obvious I'm missing, so I'm hoping someone can help me out. Here's snippets of code handling the basiceffect: //In loadgraphicscontent: Texture2D wallTexture = content.Load<Texture2D>("Content\\Textures\\em2"); theWalls = new Walls(wallTexture); wallEffect = new BasicEffect(graphics.GraphicsDevice, null); //wallEffect.DiffuseColor = theWalls.TheColor.ToVector3(); wallEffect.TextureEnabled = true; wallEffect.Texture = theWalls.WallTexture; w ...Show All
JasonG271009 MDX 2 Time Bomb
Almost all MDX2 Ctors are calling the bombing code below: public static unsafe void CheckTimeBomb () { DateTime time1 = new DateTime ( 0x7d6 , 10 , 5 ); if ( DateTime . Compare ( DateTime . Today , time1 ) >= 0 ) { MessageBoxW ( null , & _C@_1PI@LKOFODJP@ $AAT $AAh $AAi $AAs $AA 5 $AAp $AAr $AAe $AA 9 $AAr $AAe $AAl $AAe $AAa $AAs $AAe $AA 5 $AAv $AAe $AAr $AAs $AAi $AAo $AAn $AA 5 $AAo $AAf $AA 5 $AAD $AAi $AAr $AAe@ , & _C@_1DE@JJLLKEIK@ $AAM $AAi $AAc $AAr $AAo $AAs $AAo $AAf $AAt $AA 5 $AAM $AAa $AAn $AAa $AAg $AAe $AAd $AA 5 $AAD $AAi $AAr $AAe $AAc $AAt $AAX $AA $AA@ , 0x2000 ); throw new TimeBombException ( "This pre-release version of DirectX has expired, please upgrade to the latest version f ...Show All
kennm 360 Boat game with source
Hello I was playing about again the last 4 days and come up with a little boat game for the 360. The source code is very untidy but there might be something of use in there for some people. It was written for use on the 360, it might work ok for the PC. You can have 1 to 4 players and it uses some ai for the others. There's only 1 track at the moment - I may get around to fixing it all up into a proper game if there's enough interest or if an artist wants to help out. It plays a different sound effect when you cross the line and beat your own best score. My best lap is 8.07 (no down to a 7.96) seconds. Best to use a 360 pad but here's some keys if you feel the need. Q and E change the number of players ...Show All
Jonathan Chambers DirectX10 asm
actually I can't use Vista for make test in DirectX10, can please anyone post here an fx file with vertex,pixel and geometry shader and the relative compilation in asm using fxc10. I need to see it for a project that I've in mind thanks Here we go. The FX file was taken from Tutorial 13. technique10 Render { pass P0 { VertexShader = asm { // // Generated by Microsoft (R) HLSL Shader Compiler // // // Buffer Definitions: // // cbuffer cbChangesEveryFrame // { // // float4x4 World; // Offset: 0 Size: 64 // float4x4 View; // Offset: 64 Size: 64 // float4x4 Projection; // Offset: 128 Size: 64 // float Time; // Offset: 192 Size: 4 // // } // // // Resource Bin ...Show All
bryanedds 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 I develop serious games/simulations at my job and we use C++ exclusively, and any loss of performance would put us below our minimum requirements for framerate, etc. However, I plan on downloading the new XNA software and learning C#. Since hardware can make up for some performance loss in the future, and for some smaller applications it would be great to reduce dev time and the number of lines of code when performance is not as important. At some point the total cost of developing an application is offset by the per ...Show All
BD_Elektrona Hosting an XNA Game in a WPF Application
I was wondering if it possible to host an XNA Game within a WPF Application. I played around with the idea a couple months ago, hoping to use the same method one would use to host a Windows.Forms application within a WPF application, but I was unsuccessful. Does anyone know of a straightforward way to do this, if it is indeed possible I realize there are 'airspace' issues that would prevent me from creating a WPF interface that would overlay the XNA content, but I can live with that. I'm developing a 2D turn-based strategy game, and at some point I would like to add a 3D tactical combat system. I'd love to do this with XNA. Cheers, Mike There are some issues regarding airspace, in that a pixel must ...Show All
Smit Easy Tile Sets
I made this easy TileSet Class, for those who want to create 2D games and they want to store their graphics in one file. I also included a sample tileset. TileSet.cs <--- Link Here tileset.png <--- Link Here The black borders are to that you know where to draw (the black borders are included, so you can draw over them), You will need to make a tileset image with the correct multiple dimension of the tile height and width, for example, if you tileheight and tilewidth is 32, then if you want to make the tile set have 32 tiles in the x direction and 16 tiles in the Y direction, then the tileset image has to have height and width of 32*32 and 32*16 respectively. To use the example tileset: TileSet tileSet ...Show All
Leon Mayne IDirect3DSurface9 Question
Is there a way to get at the raw surface bits (yuv or rgb) from a pointer to a IDirect3DSurface9 pointer. I need to copy the raw surface data to a yuv/rgb file. Thanks The way to access the raw data stored in a surface is to use LockRect and UnlockRect. Depending on how you have created the surface you cannot use LockRect on it. In this case you have to create an additional surface in the system memory pool. To transfer the content from the original surface to this additional surface you normally use GetRenderTargetData. I am working on the VMR9Allocator example in the DirectShow Samples. Basically I need to copy the lpPresInfo->lpSurf surface in the CAllocator::PresentHelper functi ...Show All
lori1171963 Creator's club payment problem
Hello, I have a problem with adding my credit card as a payment option I guess it's because I live in country that's unsuported by XBox. I've heard that I can call to support so they can add my card themself I tried that but after talking with the bot I am being disconnected. 3 tries cost to me about $10 :(. Then I've tried to write e-mail to XBox360 support but they told me that I need to call in support... So the question... Is there some way to become Creator's Club member by living in unsuported country Somewhere I saw that I can... But how Thanks Falsifying information is probably the last thing you want to be doing. If it's possible to support users in "unsupported" locations (which really doesn't make sen ...Show All
dustinto YouTube videos: Strictly 2D, strictly old skool
All I've posted a few demo vids to YouTube. I've been working on an old skool 2D shooter, modelled after a game called Ikaruga. Mine is called Ikaragua. Geddit ! Anyway, I've been working on the engine mostly but have built enough to demonstrate the game idea. Basically, it's a 2D shooter with several twists: bonuses are increased by shooting enemies in chains of the same colour. 3 enemies of the same colour = 1 chain so you could shoot 3 black, 6 white, 9 black etc to build a 6 (18/3) chain. if you shoot an enemy of the same colour as your ship, that enemy will 'burst' and fire missiles of the same colour straight at you. shooting an enemy of the opposite colour to your ship doubles the effe ...Show All
Cefa68000 No Programming Tutorials?
I'm not sure if this question has been presented before, but I am not a programmer, not even close. I can't program, I'm not a number-cruncher, I'd die if I had to program all day. I just can't make sense of this stuff. So, I ask: Are there tutorials that can help you make a game without programming I doubt this and the best thing I can try to do is just copy & paste code while implementing my own files & hope it all works *rolls eyes* This, or I am looking for a reliable person who likes to program. I looked at the Torque thing & opened up XNA to use it & I keep getting a game.Run error...I have no clue how to fix this ofcourse. Yeah, if you ...Show All
BenSisson Invoking MSBuild programmatically at runtime (editor model building and loading)
I have decided to work on a editor. For this, I have been researching on how to invoke MSBuild at runtime programmatically. I read that we can use the MSBuild API. I was wondering if anyone has managed to do this Any help is appreciated. A method I have so far is to create a .proj file each time according to the asset I am trying to build, and then call the MSBuild as an external process like this: System.Diagnostics.Process.Start("C:\\WINDOWS\\Microsoft.NET\\Framework\\v2.0.50727\\MSBuild.exe test.proj"); I believe there is a better way though. This doesn't even work for me anyway. The problem is exactly as the error message says, there is no matching assembly. This is probably because Shawn ...Show All
Steve98796 Vista allows What versions of DirectX?
(split from http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1221168 to make a new question) It is interesting that you say that because I am testing a VB6 app that was working fine on XP and below but now fails on Vista when it tries to create a DirectX8 object, specifically Set oDX = new DirectX8 throws Error 429, ActiveX failed to create component. Running in XP SP2 compatibility mode does not work either. I would be really grateful if anyone has any ideas on this. I also tried running the latest DX9 redistributable because I heard that was providing backward compatibility, but to no avail. Thanks. I am awaiting a reply from the DirectX team - their response tim ...Show All
Dave Jenkins MultiSampling
PresentParameters presentParams = new PresentParameters(); presentParams.Windowed = true; device = new Microsoft.DirectX.Direct3D.Device (0, Microsoft.DirectX.Direct3D.DeviceType.Hardware, this, CreateFlags.SoftwareVertexProcessing, presentParams); this is how I create device.... How to enable Multi sampling With this line : presentParams.MultiSample = MultiSampleType.TwoSamples; constructor of device is throwing InvalidCallException........ HELP ...Show All
