Answer Questions
Vaughan Course of Action; PLEASE READ AND REPLY!!!!!!!!!!!!!!!!!!!!!!
what should my course of action be on my game i've got all the storyboarding done, what should i do next someone please map out for me, what my course of action should be. my game is going to be about a man who is stuck in prison in africa after an alledged murder that he committed, and he must escape to his freedom, from the imprisonment of being falsely accused. he will also help some of his friends out, back to the U.S. back to their families. PLease Help Sincerely, T2TD P.S. im not trying to encourage the act of escaping from prison, its just and idea i sprouted. And then when you've completed what the other guys mentioned, the next step is to add at least 25 exclamation p ...Show All
BDev13 Reading the buttons of Joystick Saitek x52
Hi all, Did anybody come across a C# sample that relates to Saitek X52 I have found some generic Joystick samples which help me read the buttons EXCEPT the Mode button. The GetButtons() function returns the codes of the pressed buttons, but I cannot get the status of the Mode button out. I just spoke to Saitek support - No .NET samples whatsoever. Any tips will be appreciated. Best Moni. OK so they sould show up as totally independant button presses and its up to your code to interpret the combinations. So they show up in control panel but not your code - sadly I don't have a 25 button joystick to test. In the DirectX SDK there is a C++ and a c# sample for direct input that seem t ...Show All
JacobRonnie I can't find what I'm doing wrong!
[EDIT]Well, I finally got it to work. What was wrong I don't know. I did get it to work simply by adding a weight variable into the vertex definition, but am not sure why, simply becuase that had not worked before (yes, I had defined them as 1 before). So, no more help needed, I guess... I already did that, unfortunately. I've been using several tutorials for this. After some switching out of code, I found that it is something in my device initialization code. I just can't figure out what. I've done to much to see what I did wrong easily. The best way would be to comment out most of the initialisation code using /* */ so you get something working then bit by bit start uncommenting sections until you get to the bit that’s givi ...Show All
Harald Mejlholm Asynchrous streaming of all resources
Hi everybody! I would like to load a really really huge world inside my game, but since it's not something procedual it would take quite a lot of memory, so i would like to be able to stream it from my disc by chunks (i don't want popping) but i don't know how to do this. Can somebody enlight me on that subject Yeah if the content manager is unable to unload only a piece, you're going to need to write your own if you plan on using XNA for any kind of contiguous world. (mmog, or gta type of game). With the current XNA Content manager, that'll be hard, because the content manager doesn't release data after it's loaded. You have to unload everything in the manager to reclaim memory. Perhaps you cou ...Show All
OmegaMan Backup Files?
I spent several hours starting a new game my friends and I are going to be working on, explicitly hitting save every so often... However, I discovered that VS doesn't actually create the project directory until you close the project. My computer stays on 24/7, why should I close VS for the night I discovered this when I hit execute and was greeted by the Blue Screen of Death. I have searched by hard drive for the project name and the names of various files I know should be in the directory, however the only thing that comes up is an empty folder in the VS "Backup Files" directory. Anyways, on to the XNA related stuff, I got the BSOD after changing the indices in my call to DrawIndexedUserPrimitives. I s ...Show All
rtaiss I could use a clearer explanation of 360 garbage collection and performance monitor
I bet others could, too. Are the numbers and timings in this article still accurate http://blogs.msdn.com/netcfteam/archive/2006/12/22/managed-code-performance-on-xbox-360-for-xna-part-2-gc-and-tools.aspx If I understand it, if my game has 100,000 live objects (a live object is any call to new a class that still has a pointer to it, right ), then I can expect a 15 msec hitch every time the GC is run, which if I'm trying to run at 60 will cause a visible stutter. According to the performance monitor, I'm currently facing a 23 msec GC. My game actually seems to be running surprisingly well if that's the case - are the garbage collections done on a different core Is there a number in the performance monitor that tells me how many live object ...Show All
dbcuser Handling Save Files in XNA
has anyone written any tutorials on save files for XNA I'm wondering what the save structure is, or if its possible to specify your own structure, and how we access this data. I've look at the storage overview, but its using FileStream, and I was wondering if it was possible to use XML formatted documents instead of a byte stream. Does anyone have any ideas on how to do this, or if this can be accomplished There's a good tutorial http://www.devhood.com/tutorials/tutorial_details.aspx tutorial_id=236 here on serializing arraylists to XML. I need to update this tutorial after doing some more examination as there's some problems and it's incomplete, but it might be useful, especially if you're lookin ...Show All
Hristo Displaying textured 3D objects
Hi there, I've been working my way through the tutorials at http://xna101.spaces.live.com/ , and I am stuck on lesson 16, the first 3D tutorial. The download of die.x didn't work, so I whipped up my own little 3D cube in Blender and applied a simple 64x64 pixel texture to it and saved it in DirectX format as cube.x. I was able to add it to my Project fine, but when I try to compile the program, it has all sorts of trouble understanding any texture I put on the thing. It will say the texture file is not found in the debug/bin directory; or it will give me other error messages about the structure of the texture file. I tried saving the cube as cube.3ds and cube.x3d and whatnot, and none of that worked. (Indeed, the Project didn't even rec ...Show All
Mike Riley Coding DirectX with C++
Hi, I recently started coding with C++, mainly to get into game programming, but I have a few questions about DirectX (I haven't downloaded the SDK). 1. I'm using Visual C++ Express, which I downloaded off the microsoft website. Is C++, and this compiler, good for coding games in DirectX 2. I assume I need the DirectX SDK to code DirectX, but it was a bit of a turn off when I saw it's size - a whopping 500mb! Is there a 'slimmed down' version for those only wanting to code in C++. Alternatively, is the DirectX SDK actually what I need I'm a little lost here. 3. If I was to code a game and sell it commercially, would I need a license (or something similar) to use DirectX David Weller - MSFT wrote: ...Show All
kcdclan Compatibility with Vista?
Does anyone know when it will be c ompatible with windows vista It installs but it gives me a bunch of errors while installing. So I'm guessing this is a Windows Vista issue Or maybe it's something else... Which version of Vista are you running I couldn't get it to work on my x64 version but apparently x86 is fine. A lot of apps on the x64 version don't like (like Windows Live Messenger) At this time we do not support XNA Game Studio Express on Windows Vista. We currently don't have an estimated timeline for support. But when we do, we'll update the FAQ on our Developer Center: http://msdn.microsoft.com/directx/xna/faq/ Thanks! ...Show All
JBJBJB How to you access parent elements from objects?>
I'm new to C#, I usually use VB.net and I'm having trouble finding how to access parent elements from inside objects. For example, imagine I instantiate this object in my program: (Note the class is created in a separate text file from my main program) namespace XNATest5 { class Statistics { private int LastTime; private int FrameCount; public Statistics() { FrameCount = 0; LastTime = Environment.TickCount; } public void Update() { FrameCount += 1; if (Environment.TickCount - LastTime < 1000) return; Window.Title = "FPS="+FrameCount.ToString(); <---- doesn't work FrameCount = 0; LastTime = Environment.TickCount; } } } It seems I can't refer ...Show All
laue Overlay window over a seperate fullscreen game window
Hi all, This is my first post. Is it feasible to do the following This will be an XNA/C# app. 1) Execute in the systray, scan in background for “special” key press to activate app. (Done) 2) When the "special" key is pressed, render (Bring into focus) a semi-transparent GUI (Mouse driven app), with no window decorations in front of whatever game is already executing.. Without the other game minimizing… When the “special” key is pressed again, the GUI goes into the background and whatever window was originally in focus, has the focus returned to it… Is this even possible What resources should I start reading about if this is possible, so that I can work on making the conc ...Show All
Cla82 Draw 2D circular
Hi, all i have been few 2D problem, Hope sombody help. Q1. What function can draw circular with directX(c#), for java example g.fillarc(x,y,wdith,height); Q2. How to mirror image Best Regards, For the circle you can use : x= R * cos (AngleInRad) y= R * sin (AngleInRad) For the Mirror of a Mesh you simple put all the Y to -Y and you have a mirror image on X,Z plan Q1. What function can draw circular with directX(c#), for java example g.fillarc(x,y,wdith,height); U can draw a circle but using a circle texture (texture with a circle in it and transperant around the circle) Q2. How to mirror image When the image is a texture, u can mirror it ...Show All
Christie Myburgh Heightmap Terrain Component
I thought the whole component concept was pretty cool. So I threw together a quick heightmap terrain component. http://i9.photobucket.com/albums/a59/craigory666/heightMapTerrain.jpg http://i9.photobucket.com/albums/a59/craigory666/heightMapTerrain2.jpg http://i9.photobucket.com/albums/a59/craigory666/heightmapprop.jpg It should work with square .raw files, and for the effectPath I'm just using the default texture shader found in the help file. The view and projection matrices of the terrain are exposed, so you should be able to hook up whatever camera you have going and just update the terrains view, and projection matrices during your games update. using System; using System.Collections.Generic; using System.IO; using Microsoft.Xna.Fr ...Show All
Frederic Buchet XNA help
Hi, I'm reallly new at XNA but i was wondering, after I have coded my game and want to test it on my 360 how do I get it to my 360. Do i need like the XDK for the 360, or do i jsut FTP, or do i have to have my 360 hooked up to my WindowsSP2 computer. I know how to write C# (kinda im still learing) but i just can't figure out how to get the gam to my 360. please help Dootuz As Jim said the beta version doesn’t support the upload to the XBox 360. The final release will do and you have to connect your PC and the XBox to the same local network. I don't think you can do that just yet. I thought I read that the tools to port it to XBox will be ready later, but not yet in this stage o ...Show All
