Answer Questions
Valur Einarsson My XNA Game 'iFACTOR'
Believe it or not, this time it's not a question :) I appreciate all the help I've been getting on this forum and I'd like to share some media of my first game. The media was taken from a Windows build but the game is designed for Xbox360. http://www.vector2games.com/ Thanks, Dave I used FRAPS and mixed it using Windows Movie Maker . To capture the video, I compiled a Windows version of the game (I have an Xbox360 controller that works in Windows) Hey Dave, nice game! I've uploaded your video to YouTube and wrote a short review . Cheers, -- Tony @dagfari Thanks for the quick response, mate. I'll give it a try. Cheers. There is an interactive tutorial in the game :) It's exclusively for Xbox360 though. I'm ...Show All
comspy DirectInput what is the deal with this?
I have been trying to get my program to accept input from the keyboard. After switching my compiler and my resources to the current microsoft offered stuff (Visual C++ express edition, Directx 9x SDK, and documentation for both).I keep running accross problems with implementing DirectInput as my component for keyboard interface. Should I keep trying to use DirectInput If so can anyone answer what I am doing wrong then here. HRESULT hr; LPDIRECTINPUT8 myput; LPDIRECTINPUTDEVICE8 ruendc; void dxsetup() { hr = DirectInput8Create(blog, DIRECTINPUT_VERSION, IID_IDirectInput8, ( void **)&myput, NULL); } My error message says this: Linking... Main.obj : error LNK2019: unresolved external symbol _IID_ ...Show All
David Ing BoundingBox for Models
Hi, I'm very much used to using Geometry.ComputeBoundingBox() from MDX 1.1 and am wondering where the equivalent in XNA is. My problem at the moment is that my models are having their centres placed at Y coordinate 0, so half is above ground and half is below ground. My solution has always been to compute the bounding box and simply raise the mesh by the amount that the min vertex is below the ground. (So minVertex.Y = 0). The BoundingBox has a constructor that takes a List of Vector3s, but this would presumably mean iterating over every ModelMesh in a Model, reading out the Vertex data from the VertexBuffer and extracting the x,y,z values for each vertex... this seems rather long winded I've seen a lot of people talking about ...Show All
JAul Can someone reliable give me the relase time of XNA GSE in GMT?
Hi guys, Just wanna know from someone reliable or someone that can tell me if it'll be relased at midnight, or if I don't bother sitting through the night for it. Its just to save me waiting till early moning 30th August, and finding it ain't up until say America reaches midnight. thanks again, Jonathan So just for clerification, the download isn't scheduled to be released at midnight Pacific time right Thanks Jim, never came across that mate. Thanks again XNA gse beta won't run on Vista :( Anyway.. damn.. i've read now thats I must download&install VC# Express and DXsdk first! :( ( http://letskilldave.com/Default.aspx ) Well if its anytime bef ...Show All
tampa_dba Some questions before I start learning XNA
Hey forum peoples Im graduating soon from university and am hoping to get into game programming/design. Ive had telephone interviews with a couple of companys along with some CV assessments, and the gist of what they've been saying seems to be that I've got the skills, got the enthuisiasm, but don't have the experience (very few demos) and I was thinking of learning XNA to create some more professional code. Some questions though... Im not sure how this sounds, but how similar is XNA to flash/Actionscript Ive designed games for it before, and im fairly sure I can program my future game idea in flash, but how hard would it be to transfer it over How easy is it to design 3D models can it be done as part of the IDE or does it h ...Show All
turkeytickler Help With Vista Instalation
When ever I try installing Microsoft XNA Game Studio Express It stops installing when it says "Registering project templates". This is what it looks like: http://i13.photobucket.com/albums/a275/keeepout/Untitled.jpg I am on Windows Vista RC2. I have allready installed Microsoft Visual C# 2005 Express Edition but the XNA part wont install. Their website says it should work with Vista but it doesnt for me. Can please someone help me nevermind, I got it to work. Thanks everyone! how do i run the setup from the command prompt after I started the command prompt as admin what do i type You first have to run the windows comm ...Show All
Lisurc XNA c# 2D tutorials
Hi there, I have been looking for beginners c# 2D tutorials but having some difficulty. I have heard the tutorial ping pong is pretty useful and trying to find that and tetris. Can anybody help and point out other good 2D tutorials to use Thanks in advance Remember, Google is your friend. http://learnxna.com/default.aspx That's on the 2nd page of Google results. Also, http://xbox360homebrew.com/content/XNATutorialMasterList.aspx ...Show All
Xythe Collision Detection in 2D Games
Hi, So far I have figured out how to get object moving on the screen. I have also figured out how to detect colissions at the edges of the screen. However, I am having trouble figuring out how to detect the collision between two objects. Say for example, two bouncing balls in a 2D game. How can I detect the collision of this two objects I imagine it has something to do with sine and cosine Thanks, Oblivion. Yeah Ziggy, what's up with that! I still haven't converted the couple of pieces I did, so I can't really talk. This helped me soooooo much, thanks for the info. I was trying to use a bounding box with sprites and had all sorts of problems going through the documentation and trying ...Show All
laurag DirectX 10 Wiki
Hi All, A group of us are starting a directx 10 wiki page so that it can act as a better reference with better examples. Please help build this wiki. Its located at http://www.dxten.com Thanks All. I've signed up as I'd like to contribute, you need a page on how to do this, eg. create a new tutorial or article. You're absoloutly right, I'll add more info to the Help section very soon... Thanks alot. KapitalX ...Show All
puffzotty Is there a bug in DrawIndexedPrimitives using a rendertarget?
Hi, sorry for my english, but I have a problem on drawing indexed primitives into a rendertarget. Maybe you can help me. My drawing pipeline does look like this: First I'm drawing the scene into a rendertarget (a simple texture set as a rendertarget): - set the rendertarget to m_renderTarget.surface - set the vertexbuffer of the scene - set the first texture - set the first indexbuffer - draw by calling drawindexedprimitives - set the second texture - set the second indexbuffer - draw by calling drawindexedprimitives - and so on... Then I'm drawing a quad onto the screen which simple renders the texture mentioned above: - set the rendertarget to the backbuffer of the d3d device - set the texture to m_renderTarget.texture - render a quad to ...Show All
CSB_FL Problems with: Detecting if a user clicked on a 3D object
I'm rather new at working in 3d at this level but not exactly new to C# and definitely not new to 3D models... but I usually work with a tool such as Blender, 3DS or Maya. I have my simple mesh object and it displays just fine. When I use the sample code as a guide, I find that I need to make my own Bounding Box... and I understand the process in theory but applying it to the code is giving me fits. **************** Issue1: Using a Bounding Box with the dimentions of triangleBB in the sample causes this: Nullable < float > result = pickRay . Intersects(triangleBB); // Returns NaN regardless of where clicked. That's my shorthand... pasted code with what it results in after the comment.... Question... so why ...Show All
Dietz Debugging w/ XACT in a proj
Hey guys, Had a question regarding XACT in the April SDK. I noticed there is a multitude of threads being utilized with XACT during debugging, and I believe the context switching is making it timely to step through code line for line. The problem I'm having is I find it hard to debug since every step in the code takes about 10 or 12 seconds to pocess. Is there a way to make debugging in an XAct program smooth without adding critical sections all over the place Using Visual Studio.net 2003, win32 C++ app. Thanks for any advice or clarification. Hi Strakian. I've had the same problem myself, and I'm not aware of any way to prevent execution of all other threads while you're stepping through a thread in Vi ...Show All
rexisfed 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
cisco0407 Beginner shader question - I'm missing something obvious
Hello, all: I'm working on a simple space sim, and I'm trying to render a weapon shot using an HLSL shader. I haven't used a shader before, so I've read through a bunch of code samples, and picked up a couple of books, so I *think* I (kind of) understand what's going on with vertex and pixel shaders. The problem I'm having is that when I enable the vertex shader the mesh I'm rendering is drawn in black. If I disable the vertex shader (comment it out), the pixel shader outputs the color I expect. I've tried it with a mesh I created and with a mesh created via Mesh.Sphere with the same result. Here's the shader code (it's almost an exact copy of the simple pixel shader code from MDXInfo). As you can see, it's totally simple: uni ...Show All
sql2005 user XNA compiled programs crashing
Hi, i downloaded XNA Game Studio express Beta an hour ago. The application itself works pretty well, but when i compile an application (like the Spacewar starter kit or a new project), the exe that i find in *project folder*/bin/Release/ won't launch : it crashes and asks me if i want to send a report to microsoft. I know it's kinda normal since it's a beta software, but if anyone knows an issue to this problem, it would be very helpful ;) Thanks in advance. Launching the exe from Explorer works fine for me. More than likely a problem with your setup (hardware/software). Thanks everyone, it works now ! I installed the latest version of the directX SDK (august 2006) and changed the code, and it now ...Show All
