Answer Questions
Sarah71 xna game made in xp run on vista?
i made a small pong game and when a friend with vista tried to run it, it didnt work do you have to do something different for games compiled in xp to work on vista sorry if its a "noob" question. Does your friend have the XNA Framework runtimes installed He/she either needs to have XNA GSE installed or the XNA Framework Redist (which just installs the XNA Framework bits on the machine). Paul ...Show All
OutrightLie Out of video memory when I have plenty (128Mb)
I've had several computers fail to create the DirectX device in full screen mode because of an "out of video memory" error. In two cases, the cards have 128Mb, and I'm sure it's not using even close to that much video memory (front buffer + 2 back buffers = 3*1440*900*4 = 14.8Mb (not even close to 128Mb). On one computer, I was able to solve the problem by lowering the DirectX quality settings from the control panel. On the other computer, that didn't solve the problem. I'm sure my program isn't requesting high quality settings (MultiSample = none, MultiSampleQuality = 0). Does anyone have any idea of why this would happen, or what I can do to fix the problem Thank you, Jeremy The debug output ...Show All
JimmyT7360 Fisheye Environment Map 3D Hemisphire
Hi, i have a question about fisheyes. I am thinking of making an application 3D application from a fisheye texture map. I would like to take the image from a camera, with a fisheye lense (a one shot process to get a good field of view). I would then like to reconstruct the fisheye such that it is as if i am behind the camera again and i can look around. So my ideas are, can i map this fisheye to the inside of a hemisphere (which is the same shape as the fisheye lense), place a camera in the middle of the hemisphere and rotate the camera around Would the fisheye texture perspective would be corrected again I have seen fisheye maps converted to cubes, which have then been used to map the environment (such as halflife 1 large backgrounds - t ...Show All
williamlu Shader to Mimic BasicEffect Textures
Just in case I am overlooking the obvious, is there an easy way of getting the textures that are linked to a mesh BasicEffect somehow knows which textures are for which part of the mesh, is this behaviour easy to mimic in a user definded shader I have per pixel lighting with specular/diffuse working great, I just need this last peice of the jigsaw. Any help is much appreciated. You have several options here: - If you import your mesh from a .X file that directly references your custom effect, that effect and all its textures will be automatically pulled through into the runtime, just like we do for BasicEffect. - If you write a custom pipeline processor, you can derive from t ...Show All
RCQwerty Best way to manipulate vertex data between draw calls?
I please bear with me as I am new to this kind of stuff. I want to know the best practice for manipulating vertex data between draw calls, is it just a matter of changing my array of vertices and calling SetData() in the Update() method every frame I am only doing this with a simple quad so I only have 4 vertices to change (or may change) each frame, any one care to help a newb regards Fluxtah cool cheers, spritebatch was the first method I used successfully, however I am not very keen on spritebatch and also it does not put me through any pain to get something done, I would rather suffer the hard way in order to better my understanding. I am actually only using 4*character entries as I wi ...Show All
Alexey Kuk DreamBuildPlay is up!!!
Now go register!! Actual contest details to come the week of Feb 5th ..jeez whoever designed the website should be shot for this oversight Hmm... State location and phone number seem to be USA specific. An oversight, or is the rest of the world excluded I guess NEW JERSEY isn't in the United States, I swear to god it isn't in the list of states... :( More missing states... North Dakota, New Jersey, and Vermont are all missing... No Tennesee either... uphhh....they turned this piece of junk off. M$ please keep pro. Yup, sorry. In fact, it will only allow you t ...Show All
Daikoku XNA Framework / Architecture
The XNA Framework resides in the Microsoft.XNA.Framework namespace. It adopts a layered architecture to provide services. There are four layers defined. From lowest to highest these are: Platform Core Framework Extended Framework Games / Application The lower three layers are implemented by Microsoft and the upper layer (Games/Application) is a placeholder layer. What I mean by that is that the Games/Application layer represents the code that you write as part of your game or 3rd party/community reusable components that you use. Looking in to each layer we can see that they each provide a set of classes that wrap up some set of functionality: Platform This is the lowest level layer and repres ...Show All
ignitionflip KeyEvents?
Is there no functionality for getting KeyDown/Up messages in XNA as well as gamepad button down/up messages If you just get the state of the keyboard once a frame, if the framerate slows the input will become unreliable. You're totally right that some types of fighting game may need input faster than 1/60 of a second. The best way to do this using XInput would be to simply poll the gamepad more often, perhaps from a high priority background thread. This is exactly what all Xbox fighting games do, because the underlying native API and to the best of my knowledge even the hardware too is entirely based on polling! There isn't any event support in the lowest levels of the input reading system, so ...Show All
jdrawmer Rants on XNA 1.0
This is my first reaction when I installed and tried the 1.0 of XNA. To summarize my feeling: it's still 95% for XBox and no nearer to replace the old MDX 1.0. So I decided not to migrate from MDX to XNA though I want to do that very much. I feel like MDX 2 more; amen to MDX 2. The hardest issue for me is the content pipeline, which is very necessary, but the workflow is fixed and it assumes the contents are only built before the program runs. The helper functions wrapping D3DX can only be used with types in the content pipeline. I have to utilize the full content pipeline just for generating something dynamically, of course with significant performance cost. Or I have to write those D3DX utilities my self. Currently I don't have a good id ...Show All
Chris Marts Ann: A "Proper" Text Rendering Component
Hi! I'm just in the process of writing a proper text rendering component for XNA. It fully integrates into the content pipeline and can import any TrueType font during compile time. Just like any other XNA framework content, an .xnb file is generated from the font which can at runtime be loaded by XNA's ContentManager, eg. BitmapFont myFont = this .content.load< BitmapFont >( "Content/Fonts/Arial" ); // ... this . myFont.drawText( new Vector2 (100.0f, 100.0f), "Hello World" , Color .White ); The component is still in development and there will likely be some changes in its interface, but it's already fully usable. If you want to give it a go, you can find the component here: http://www.nuclex.org/fra ...Show All
ADub Direct3D - how to render a simple bitmap ( Draw2D ) transparently ?
Hello all! I'm using Direct3D 9 (windowed) @ C# 2005. I load the bitmap file to my Texture object like that: tB = TextureLoader .FromFile(devD3D, @"b.bmp" ); I tried all kind of combinations with my Sprite object (who's associated to the DevD3D Device object) to render this Texture transparently, with the Draw2D function. Why Because this program is very simple and I don't want to mess around with 3D stuff. So, what am I missing here How can I render it transparently Can I tell what color to be rendered as "transparent" Thanks in advance ! This is pretty well covered in the "Simple2D" sample in the DirectX SDK Don't know why I didn't check this one before.. Took a few minutes ...Show All
Prashant_Rai DreamBuildPlay is up!!!
Now go register!! Actual contest details to come the week of Feb 5th I guess NEW JERSEY isn't in the United States, I swear to god it isn't in the list of states... :( Plese, Someone at Microsoft.... the drembuildplay site, even though the competition should be global, does not allow non-US people to register. I don't live in the U.S., so I can't choose any state, the zipcodes in my country are 6 digits long, and the telephone numbers are not in the US format. Edit: didn't see errolian's post before i posted this. P.S. did I mention I passed from neutral state, to exalted state and then down to low-morale state in about 2 minutes .... does this make me emotionally ...Show All
chanmy8 Open Source Engines Or DirectX?
Do You Prefer To Use Graphics Engine Or Start From Zero With DirectX I haven't been developing very long, but have found DirectX has more power... -But i could just be wasting time... :) Thx For You Great Answer Man. I Decide To Learn Native C++, And Build My Game Using A Game Engine. Thx For Your Help but It Is Much Slow Proccess Good Luck... Like your other question - this depends on what you want to do. A lot of AAA games now use engines (usually million dollar ones) because writing a high performance modern engine is a huge multi year large team job. It usually means you can get your game or prototype up and running much quicker. Many be ...Show All
vidya_084 My 1-week XNA evaluation
Hi! I've been evaluating XNA Game Studio Express for about a week now. Writing this little report to get some thoughts and ideas out of my system. If you just want to download the game I made, here it is: http://www.artplant.no/Johan/XNATest.rar Everything is original and copyright (c) Artplant, except for the sound assets and the sound code, which was ripped from the SpaceWar sample in XNA. Someone please give me a heads-up if that's illegal for some reason, and I'll take it out. You'll need a shader model 2.0 GPU to run the game. Also, you'll need a 360 gamepad or similar. (Don't know if XNA is compatible with other pads yet.) Both of the thumb sticks fire cannons independently when pushed. Enough of that, here's a quic ...Show All
Batistuta Convert PC Game To 360 Game
if anyone knows what kind of changes will need to be made, i would appreciate it. heres my Premise, its set in the year 2020 and i want to make a sort of perfect dark sequel, not perfect dark zero. joanna ends up getting into another fight with another corporation. i havent devised any weapons, or characters yet. please help PLEASE REPLY!!! hey thanks man, some other people had told me the same thing, i just wanted to confirm. \ Thanks Again I've built a couple of XNA-based games so far that have both Windows and XBox versions. I took the following approach: First, I coded the gam ...Show All
