Answer Questions
Cordell Swannack Deplacement of sprite, round to int problem...
Hello This problem make my unit deplacement strange :) i have located the problem, it is cos and sin value. Example : On the X, X = position + speed * cos but if cos < 0.5, it won't move... so it will wait cos > 0.5... so the mouvment will be not realy good... so Do i must save last cos and add it example : double lastcos=0; if cos < 0.5 lastcos += cos; if lascos > 0.5{ lastcos = 0 cos = 0.6 } It may be work (i don't test it) but is there an other method to do this because if i have 150 unit in mouvment fps will be smaller !!! Thank you I try but not working... just a little better. Round correct this problem ! Thanks for all that help me ! I think that the problem may be that you want to track the cumul ...Show All
Enlikil feature request: virtual folders
It would be great if one could create virtual folders in sound/wave banks. It would help much to manage many sounds in bank. I agree. It's big disadvantage that one can't get such information. I asked some time ago about this feature. I think API to get such information from code would be even better solution. while this would be nice, I still think that they should drop everything and come up with a comprehensive and coherent sound designer to programmer report generator. you know, cuename | sound bank | wave bank | variable | variable parameters | looping | etc. Every handle that the programmer has on the sound designer's work is already known by XACT and should be ea ...Show All
Bob79 Getting Direct3D 10 Samples (April SDK) running
Hi! I'm using the Vista Beta 2 and I'm trying to run the Direct3D 10 samples in the April SDK. Unfortunately they all don't work on my computer. They should work in a Direct3D 10 software emulation mode, right Do I have to change any (DX) settings Or do I need extra software Thanks Nico Ralf Kornmann wrote: I am not sure why it takes so long this time. Maybe someone from Microsoft can tell you the reason. As a matter of fact, I can: Technical difficulties. The actual pages on the MSDN DirectX site were already created by me (I'm responsible for that website). However, there was a major change in hardware on the MSDN site that I didn't know about, which resulted in a se ...Show All
vtortola ZSX4 -- Pretty Pictures
Here's some screenies for my new game-- ZSX4: Guitarpocalypse! It's got a weird gameplay mechanic: you use Guitar Fu (Kung Fu with guitars) to knock each other off the ledge a la smash bros, and obtain Orbs this way; then you punch in the right thumbstick to go into Guitar Solo mode, then push the right thumbstick in the appropriate directions as the Solo Cues show up to Monster Guitar Solo, then unleash screen filling Power Chord Attacks. lol, sounds very fun to play, should be a blast to play looks cool :D Sounds like a great concept for gameplay which would work very well, but for me the screenies just look too busy to fully make out what is going on. how well ...Show All
Videosurfer MDX Framework CloseWindow question.
How do all, FIrst of all, I'll apologise if this is the wrong forum or if a similar question has occurred before now. (I did a search and waded through numerous pages, but if I missed it...) Anywho, I am using the Sample Framework within a program I am currently making to model fur on meshes. Whoo! One of the buttons from the UI is used to close the application, or, at least the window and resources used by that part of the whole IDE. I am using the Framework.CloseWindow(); call and as a result, it causes an exception. Fair enough, its handled. However, I am wondering if there is a way to close an application while in the Framework Mainloop The current way works, and I assume the Managed nature means garbage collector and Framework.ExitCo ...Show All
qrli Problem Solved
Hallo! Can anyone tell me if there is a way to create textures, that have Width and Height not powered by 2 I am trying to do this on a laptop with SiS 650 Chipset and the CreateTexture function fails if the Width and Height are not ^2 value. And more, on a Via chipset, despite there this problem is absent, the mapping of the textures is awful if the texture dimentions are not ^2. I am using D3D to draw textures as 2D images on the screen, so if there is something designed especially for this case (but D3D, not DDraw :), please, please, please reply ! P.S. Also on an Ati video cards texture coordinates beyond 2.0 do not map 0_0... Have you any clue how to change that > within the sizes the video card supports, of co ...Show All
mlanners Ray.Intersects()
I am a bit confused concerning the return value for Ray.Intersect. The documentation (in summary) says: public Nullable<float> Intersects( BoundingBox box ) Return Value Class indicating the relationship between the Ray and BoundingBox . What does that mean I'm familiar with Nullable types, and assume it's null if they don't intersect, but what would the values mean Distance along the ray If it helps, my actual intent is to determine where on a bounding box a ray intersects in order to get the normal and calculate a reflection vector. So are you saying that the returned value for Ray.Interstect is "t" in your equation Yes, ...Show All
Ying06 How to get the model filename from the content processor?
I've extended the standard content processor so I can extract the vertex and index data from my models. I also want to get the model filename - it looks like it's a property of the ContentIdentity class, but how do I access it Many thanks. I thought I'd gone through all the properties in the debugger but I must have missed that one. Look in the Identity.SourceFilename property of the root NodeContent passed in to your Process method. ...Show All
johnny_no1_boy Referencing other managed libraries from XNA Game Studio Express
Is it possible to reference other (safe) managed libraries from XNA Game Studio Express Since the JITer doesn’t care about what language the binary was initially written in, it should work properly on the 360 right The reason I’m asking, is that with this approach I could keep some of my libraries which requires very high performance in managed C++. Then I can just reference them from XNA game studio express in the C# project, and voila, we get the best of both worlds. Thanks, Roger Larsen In general, you can reference assemblies as you wish. The idea of building a high performance assembly in managed C++ for referencing in the game is likely to ...Show All
Paulo Reichert Newbie question
Hi all, Having some issues building the default "My Space War" project in XNA. It builds fine but dies and gives me an error prompting me to send the information back to MS. Any ideas about why this might be Thanks! Also make sure your system is up to date from Windows Update and that you have the latest video drivers. Could you please clarify what is crashing Is it Visual C# Express, or the Spacewar game that you built It seems to me like you mean C# Express, since otherwise you would be able to debug the exception instead of getting the Error Reporting dialog. Can you also specify what platform you are using (Windows XP or Vista) and whe ...Show All
GSReddy Viz rebuilding unnecessarily?
Ever since I moved to C# express 2005 for XNA, every project in my solution gets rebuilt every time I build, even if nothing has changed. If I build and then immediately build again without changing anything, it still rebuilds the entire project. Why is this happening, and how do I stop it If it's of any significance, this project was migrated from Visual Studio 2003. Before the conversion it was fine. I found this setting in Tools->Options that I didn't notice before that may be causing everything to compile. Try turning this on if your projects appear to build for no reasons: Tools->Options->Show All Settings check box in lower left->Project and Solutions->Build and Run->make sure ...Show All
imranmbukhari Numeric performance on 360
A question for the framework/VM guys... I have ported one of my simpler benchmarks to the 360, and find that the numeric performance is running 5x slower than my 2.8GHz P4 desktop. Now I was expecting a drop in performance on the 360, allowing for the difference in CPU implementation (in order execution / branch prediction etc), but nothing like this magnitude! The benchmark simply transforms a source array of Vector4s to a destination array of Vector4s, using a 4x4 matrix. Have you guys done any benchmarking of pure numeric perf, and if so is this in line with what you get Andy. Okay, some hard numbers from my game. Basically, I'm decoding some data, creating meshes from some previously-load ...Show All
Bhupendra_Singh_4c7760 GSE download numbers?
Can any download numbers be given out on XNA Game Studio Express I am wondering on how big the community might be. As it is almost the end of the month... Could we get a chart that shows the download pickup for the first month, could be interesting to see the rate. The numbers keep changing Would the number of downloads just keep incrementing Nothing specific, since the numbers keep changing, but "over 100,000" is quite accurate at the moment! Oh, ok. :) The number at the time you made the post would have been good. ;) Generally speaking, Glenn, we don't share those numbers. I disclosed the 100,000 mark because I thought it was important to share the milestone on how many people hav ...Show All
Eagle 101 Get cue list by AudioCategory
I am trying to programmatically extract the list of sounds/cue in an AudioCategory...and it seems that is no API to do that!!! I want to randomly pick a beat sample from the sound bank and play it. There is no AudioCategory.GetNames() or such method/property :( I know that I could parse the XAP file, but it would really be sad to have to that. (it's not even XML!!!) And the cue list/sound list headers/text file are even more worthless (you don't even have the categories!!!). Regards For the multiple variable: - create a variable (in XACT) under the 'Cue Instance' folder - create a RPC under the 'RPC Presets' folder - double click on the newly added RPC, you should now be able to link ...Show All
Jeff-B Codeplex XNA
I am starting to use CodePlex to host a GameComponent that I am creating. Has anyone had any experience in using Codeplex, VS C# Express I have the team explorer which works in my VS2005 Team Edition, but as far as I am aware GSE doesn't support Team System. Kind Regards, Paul Kinlan Thanks for blogging the project :) I only put it up a little while ago. I also noticed that my link to the project on this forum didn't come out too well. This is it http://www.codeplex.com/Wiki/View.aspx ProjectName=xnaparalax Although different to my intial question, this really comes under the same heading. I have started a Paralax (I think I got the spelling wrong :) Scrolling Component over on CodePlex [http://www.codeplex ...Show All
