Answer Questions
xw XNA project hard freezes XBOX360
A game I have been developing works perfectly fine on windows, however, causes my xbox to hard freeze (all controls stop responding and the device can only be shut off from the power button on the xbox itself), which in turn detaches the debugger. This seems to happen after an arbitrary amount of time, and thus leads me to perhaps memory issues. I haven't been able to find anyone else with a similar problem, but if anyone has experienced similar problems, I'd be interested in knowing how you went about debugging and or solving this issue because I'm having lots of difficulty isolating the problem to any one block of code. At any rate, it seems odd that my managed code (no shaders either) would cause the entire xbox to freeze considering it ...Show All
sql server2000 How to implement Skybox?
Can anyone give me a quick and dirty lesson in building and displaying a skybox I already have all 6 faces of the skybox pre-rendered; I just need to know how to attach the faces and display the skybox. PS -- for those interested, here are some articles on rendering skyboxes using Bryce... http://www.iinit.com/tutorial.cfm category=2&source=1&tutorial=1 http://www.terathon.com/wiki/index.php title=Making_a_Skybox_Using_Bryce After further research and thought experiments, I think I have the answer. What is a skybox It's simply a cube (or sphere) that's large enough to give the impression of distance AND follows the camera (or whatever the camera is attached to)! Every time you chan ...Show All
Michael Bird C# - Managed DirectX - Secondary Monitor
Hi, I posted this question in the C# forms forum area a couple of days ago, and I thought perhaps this was a more relevant forum for the question. I am creating a program which uses the secondary attached monitor. The program successfully creates a Direct3D enabled window which runs fullscreen on the secondary adapter (using an adapter id of 1). This does in fact work smoothly and how I would have expected. However, there is a serous flaw which I cannot resolve. If something is clicked on the primary monitor (anything at all), the Direct3D enabled window on the secondary devices is minimized immediately (and naturally the DeviceLostException occurs due to the window being minimized). Somehow I need to stop the program from auto ...Show All
rako77 Game Programming is very Hard
I've been reading DirectX sdk tutorials and MDX tutorials and things like that, and it seems VERY VERY VERY hard. Will this new XNA studio and the documentation simplify this All these vectors and whatnot is very complicated and I'm having trouble understanding seemingly basic concepts in game programming in 3d. Many people look down on game programmers but they don’t know that games are one of the most difficult things to program. It funny that when I am working on my resume or talking to a recruiter about a job I feel embarrassed when I talk about any games I have programmed. So yes game programming is not for everyone like they say on TV, give programming a try and if its not for you there are many more things you can d ...Show All
StumblingInTheDark Help XNA
this forgives the wrong English is not my language But we go there I read regarding the XNA if it inside functions of the VS2005 where I compels my application to twirl in Xbox, PS3 and PC I lowered the XNA “March 2006” to put I I did not see in it one the Class of the Directx for games I function thus I I develop with the DirectX I can develop in the Vb.NET with XNA Thanks What about people that want to learn how to use XNA , you know, beginner or starter developer that want to learn how to make games. There Will be a Express Edition of XNA like Visual Studio Express Edtition For learn. yes there is going to be an express edition, A new forums has opened on this site ab ...Show All
Marzullo Drawing into the ZBuffer
I wish to "clear draw" a perimitive into the ZBuffer. What I mean is, I want to draw the geometry of a mesh or perimitive into the ZBuffer, where in each place a pixel should be drawen, the ZBuffer value in that place will be set to 1. How can I accomplish this Thanks. Did you mean post transformed POSITIONT is an already transformed vertex. However, how do I set or clear the ZBuffer value in the pixel shader By the way, I didnt get an alert for your reply and I didnt mark it as answered and it was marked as answered. You have an idea why I didn't understand that you were speaking about rendering a mirror. Be carreful, nothing can not be shared ...Show All
NoEgo can i make3d games in xna
Hello everybody i was wondering if i can make 3d games like warcraft or counter-strike and something like that tnx in advance for your answers Of course you can, but you'll have to work hard. Sure, you can try my 3D XNA tutorial ;) ...Show All
Nele Multithreading an XNA game
Can anyone give me a start I've read and seen all about multithreading (presentations from Gamerfest, Gamasutra, looked at code from C#). But nothing really soaks in till you try it yourself and rewatch/reread everything. What I want to know is how to do it with XNA What do I thread and how do I thread it To test it out I wanted to build 2 programs, one single threaded and one multithreaded. Then I would run timing and FPS tests to see how significantly better I could make the multithreaded version could be. I was thinking something simple like 100 (or tons more) bouncing balls of varying colors. I am currently dedicating myself to learning mulithreading to a level of understanding where I could use it to thread a 3d RPG. Any help is ap ...Show All
ICW Warm Up Contest Is Up
Just letting everyone know that DreamBuildPlay's first warmup contest is live. Oh, I'm happy this finally started. In truth, this will be hard to do, but I'll put my other game on hiatus for now, and try to make something cool for the warm-up phase. Good luck everyone! I have not look the code of Spacewars. But I think this rules are acceptable. And also good for people that are not good in art work because they can reuse the assets in Spacewars With this limitation, it also becomes a great challenge on how to be different from others. spacewar mod not really what I was expecting, but the prizes are pretty sweet. If I had more time, I'd give it ...Show All
i3baid Orthographic Perspective/Drawing in 2D
This should be simple, but I'm having trouble getting it to work. I sort of understand matrices. I understand them enough to use projection matrices and I have before, but for some reason I'm unable to get the right orthographic projection. All I want is an orthographic projection matrix that uses the same coordinates as the viewport so that placing a point at (0,0,0) is the top left and (screenWidth, screenHeight, 0) is the bottom right. I've tried two different ones (both orthographic matrix creation methods), but neither yielded proper results. b.effect.View = Matrix.CreateLookAt( new Vector3(   ...Show All
h1 XNA on Windows XP Embedded
Is XNA supported on XP embedded If not will it be in the near future Is there any plans for a new embedded operating system, such as Vista Embedded, that will support xna Nope, and nope. We currently support only Windows XP SP2, and the Xbox 360 OS. Official Windows Vista support is coming soon. Anything else that we may support in the future cannot be accurately characterized as "soon." I do not believe we are currently considering Windows Embedded. If you have some specific scenarios that you'd like us to address, please submit them to the Connect web site so that others may vote on it and we can consider the impact of supporting that scenario. - ...Show All
Sabbadin Quick SpriteBatch Question
I was looking over the Pong tutorial and notices that in the draw method, each sprite was manually drawn to the screen. I am attempting to create a test game were units can be created on the fly and there may be dozens of sprites on the screen at once. Does this mean that I will have to manually call the spritebatch method for each sprite Jake Yes, one call per sprite. As the name of the class say it will try to batch your draws together for better performance. If you want to help it by this job you should store your different sprites together in one texture and select the right part as parameter to the draw call. ...Show All
Doogshnooglis Transparent particles
I'm new in MDX I've created a simple particle system in my game, i've used txeture with alpha channel an 2-polygon structure to draw it on. But I can't find a way to make all particle transparent (like in other games, particles disappear smoothly). Help me please! Private Sub DrawParticles() Dim k As Byte Dim v(5) As CustomVertex.PositionColoredTextured Dim l As Long device.RenderState.SourceBlend = Direct3D.Blend.SourceAlpha device.RenderState.DestinationBlend = Direct3D.Blend.InvSourceAlpha device.RenderState.AlphaBlendEnable = True v(0) = New CustomVertex.PositionTextured(New Vector3(0, 0, 0), 64, 0, 0) v(1) = New CustomVertex.PositionTextured(New Vector3(2, 0, 0), 64, 1, 0) v(2) = New CustomVert ...Show All
Marty Levine Content Pipeline vs. XNABuild/ARM
Just out of curiosity ... what is the relationship between the XNABuild/ARM stuff and the content pipeline in GSE Seems like there's a bit of overlap with the two -- at the very least with the incremental content build stuff. :) Yes, there's quite a bit of overlap, both in terms of the problem space (incremental build, tracking relationships between meshes and textures and so on) and the underlying technologies such as MSBuild. Not really surprising considering that a lot of the same people worked on both systems! The big difference is in the amount of policy imposed by the solution. XNABuild and ARM are policy-free. They can slot into pretty much any existing system, and be used with any workflow you could possibly ima ...Show All
harmony_76 Plane constructor values question
Hello all. When creating a new plane object (for collision detection) I am curious as to the values used for the Plane(x,y,z,d) constructor. If for instance I wanted a plane located at 0,0,0 and is pointing straight up (+Y ), what would the correct values be for the constructor The d component I ASSUME(probably wrong) is the distance from world 0,0,0. If say the plane is rotated 90 degrees on the Z axis so that it runs up and down the world Y axis, what does that constructor look like I'm just not sure what the values should be specified in. World units, radians, degrees There isn't much of an explanation in the documentation and I'm sure this is probably trivial knowledge to most of you but I could use a little nudge in the right direc ...Show All
