Answer Questions
cisfreak2 invalid mesh reference?
hey.. im trying to finish a directx 3d game assignment for my uni course and came to a problem i apparently cannot solve by myself. i have an arraylist containing players (objects of type Player). each of the players contains his own arraylist of characters (objects of type Character). upon a creation of the character object, specific mesh from .x file is loaded, processed and stored into charMesh variable. the meshloading method goes like this: public static void LoadMesh( D3D.Device device, string filename, string texture, ref Mesh mesh, ref Material[] meshmaterials, ref Texture[] meshtextures, ref float meshradius ) { ExtendedMaterial[] materialarray; if( MainForm.RELEASE == 1 ) mesh = Mesh.FromFile( filename, MeshFlags.Mana ...Show All
TinSoldier GSE RTM on Vista RTM (unsupported)
i know it's not supported ... but has anybody got it to work bought the club account on the 360 and downloaded the app on the 360. installed Express on Vista with no problems and registered. tried an update, but didn't see any service packs. then i installed GSE, which complained about the VS projects, but it still seemed to install. fired up Express and the XBox 360 Starter kit project was there and built fine. went to tools options, and setup the connection to the 360. then i set the 360 to listening mode. but when i try to deploy, it just comes back and says make sure the the 360 is listening. also, turned off the vista firewall but got the same results. any ideas Thanks, casey I had ...Show All
spot XNA with Forms
Is it possible to use XNA graphics into a windows Form That would allow nice tools programming ... Thanks Ok, thanks ... Yes, it's possible. You will want to create a GraphicsDevice object yourself, rather than using our Game and GraphicsComponent types. That way you have full control over where it gets drawn, and can pass in your own window handle when you create the device (which you get from WinForms). ...Show All
Hugo Soares using ALIAS maya 7 in c#
i wanna to develop maya objects in c# and i don't know how it's need library or program to convert the maya extention to be fit with c# i don't know how Do you mean Autodesk Maya thx for the post it was great , now i'm exporting my models to .x file put i don't know how to import the .x in to the c# yes Autodesk maya 7 . maya export the extention .mb (maya binary) and i don't know how to but it in the c#** to make a full control on the maya object's like rotation ,move all that in the c# window application form, is that need,s a maya library but's in the c# or a program to convert the maya extention .mb to any another extention like .dll or what i don't know plz help me in th ...Show All
cjz Sprite fails to draw
I have written a game that is to run in dual screen by using two seperate apps that communicate via Pipes. Generally this works fine and I have no problems, but occasionally one of the screens seems to fail to draw and I just get a grey screen. The game is entirely 2D sprites and DirectX Debug reports no problem and no function calls fail. It is running on a 64MB graphics cards. Does anyone have nay ideas why it might do this and how to resolve the problem or at least catch it It only ever happens about 1% of the time and then only on games that have really large graphics requirements. The game I have seen it on mostly recently had a combined graphical size of about 200MB whilst the g ...Show All
petedashwood XNA framework doesn't work on EM64T
I downloaded XNA Game Studio Express (beta) and installed on machine with Intel EM64T processor. After I compiled and run "spacewar" example, got following error message "Could not load file or assembly 'Microsoft.Xna.Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f48fa5f25d27e8ff' or one of its dependencies. An attempt was made to load a program with an incorrect format." Does Xna Framework should work on x86_64 architecture I'm having the same problem. Not sure whether it's the 64bit processor or the Windows 64bit edition that's causing it though. A solution/workaround from those more versed in this sort of thing than I would be greatly welcome. ^-^ Edit ...Show All
srem Collision of Rotated Sprites
Ok. I realise collision detection has been discussed quite alot, but after doing a fair bit of searching through the forums and the web, I still can't find a solution to my problem. I am working on a arial view car game (remember GTA 1 and 2 ) and I am at the point where I need to handle collisions. Most people seem to be using BoundingBoxes, which would work fine in a few situations, but in my case, drawing an axis aligned box around my rotating car would be far too inacurate. I realise that the boundingbox class does not allow rotation as mentioned in this forum, so I am wondering if anyone is aware of an alternative solution. I could solve the problem by creating a series of rotated square alpha images for my car to use when rotating, ...Show All
Tamim Sadikali Content Pipeline
Hi, I haven't really used the Content Pipeline seriously yet but I've seen the official tutorials on it and understand them. Now, I'm thinking - what if I want to load a certain model/effect or anything else that the Content Pipeline supports - BUT I want to load it dynamically/at run-time, e.g. I have a certain filename that my code wants to use to load content, but I don't know it until runtime. Is there some sort of dynamic way of using what otherwise seems to be a static Content Pipeline Thanks... Speaking of this problem, how does this limit games in XNA You wouldn't be able to load too much at startup, so how could you handle very large games where you are loading and unloading content as you mo ...Show All
thomaskremmel XNA Requirements Checker
Well, I finally decided to write a little utility that checks for the required components of XNA (excluding .Net2.0 because i wrote it using .net 2.0 ) because I've seen just too many threads about the game not working on non-dev pcs. This program lets the user know if they have an outdated graphics card, installs the latest directx using directx webinstall, and installs the xna framework redist 1.0. I bundled it together inside a NSIS installer package because it was the easiest method i knew of. Not the most elegant way, i know. If anyone has a better solution, please let me know. I included the license for both directx and xna, and if i missed any legal issues with redistributing the packages in my own way, please let me know. I ...Show All
Kardi The values used in the attempt to create the GraphicsDevice were invalid.
Is this because my graphic card does not support shader model 2 I didn't even know of this requirement till I saw it on the readme file. Time to change my geforce4 Thanks for the reply Paul, I have a geforce 4 ti4200 on this pc. I get this error in the InitializeComponent method of the sample projects IIRC the Rage 128 is DX7 era hardware. You'll need a card that supports the programmable pipeline (we recommend something that supports at least Shader Model 2.0 or above). You can find reasonably priced SM2.0 cards these days (or check Ebay). I tried that, but I continue to get the same error. I'm just trying to build the basic Windows Game ...Show All
robert12345 Using XNA for PC games?
Hi, I understand that XNA games coded for XBox 360 cannot be sold for the XBox 360 (can only be used by subscribers to the same game developer service). But, can XNA be used to code commercial PC games :p Yes. ...Show All
Jose Francisco Ruiz Gualda How to create a bitmap in compressed mode?
Not sure if this is the right forum to ask.... I need to generate a bitmap file (.bmp) in compressed mode. I have tried MSPaint and photoshop, but just couldn't figure how to produce such bitmap file in compressed mode. Can someone please tell me I promise to reward you. Thanks thanks for the reply. even after the compression, i would still want to keep the file as bitmap. that is to say, i want to create a bitmap (.bmp) with compression mode (somewhere in the header) is non-zero. I don't want PNG or JPG. I have started to write my C# program for this punishing task. I am now stuck at the RLE compression. Do you know where I can find an off-the-shelf API or DLL to help me compress somet ...Show All
Alexey Rokhin my first game problems
Hi everyone :) I have been having some weird issues with this tutorials code. It is mainly in this area here: myTexture = Texture2D .FromFile(graphics.GraphicsDevice, "mytexture.bmp" ); Which is located in here: void LoadResources() { myTexture = Texture2D .FromFile(graphics.GraphicsDevice, "mytexture.bmp" ); spriteBatch = new SpriteBatch (graphics.GraphicsDevice); } Everytime i run the game it gives me this weird error: An unknown error has occured. The result code was -2005529767. Any ideas what it might be Thanks for any replies. I am having a problem with this tutorial as well and I'm at a loss. Here is the specific error message I am getting: Microsof ...Show All
NorCis Any regional restriction about Creators Club membership and XNA Game Launcher
I am an indie developer in Hong Kong. It is so exciting that XNA will be released in 11th Dec, and I decide to join the Creators Club immediately so that I can test my homebrew game on XB360 asap. But I would like to confirm that is it any problem to subscribe and execute the XNA Game Launcher on HK / JP or US XB360 So you're saying that this limitation is NOT a limitation because... It doesn't affect you What about those who have more than one 360 We do exist, and have given you twice the cash or more. You can easily move the disc of the one copy you buy between the consoles, although it can only run on one console at a time. Something similar should be the case wit ...Show All
JK302 can i use visual studio .net professional?
Can i use visual studio .net 2005 professional with xna or do i have to use xna game studio express. and if its possible to use vs professional would it still be better to use the game studio sorry if this question has been asked, i did a search and nothing came up. thanks for any help You might still be able to use the Starter Kits with Pro, but you'd have to set the project up manually (pull the files out of the starter kit zip, etc). I'm sure someone will give it a try Wednesday. AFAIK, not using Game Studio Express. You'd have to use the Pro version for that. You can add the XNA Framework assemblies to a Visual Studio 2005 project and build Windows based games this way. What you will lo ...Show All
