Answer Questions
Nicolas Humann Porting the engine (written in C++) from DirectX 8.1. What are my options ?
I`ve got a 3D engine used in my previous and upcoming online/budget PC games that I wrote by myself from scratch during last several years. However, I would like to port it to XNA since that would give me another platform (XBOX360), since that`s what most of distributors would like to have (multiplatform title) these days. Plus, all games/demos that I would create would then run on both platforms, which is a fantastic feature in itself, and a great negotiating factor with distributors/publishers. Will XNA support ASM shaders natively, or will I have to rewrite those in HLSL I`ve got a pretty huge set of ASM shaders handling lighting,animation,decompression and lots of other stuff. But, from what I`ve read so far, it seems I`m goin ...Show All
Brian Gullo DirectX9 for per Pixel Rendering
Hello I'm developing an app wich must render 2d graphics in real time, so I've decided to use direct3d9. I want direct3d to render the vertices pixel per pixel. Is it possible I've only done 3d stuff... Thx! I had the same problem of speed when I try to draw Wave file You could address a texture by pointing the x,y you need on it with pointer and draw your pts this way in the texture and simply render a quad aligned to the screen using the resulting texture This would draw very fast your signal in a simple BMP format texture offscreen and the render is very fast, basicly that is what GDI was doing when it used BMP to speed the render... In RenderMonkey you have some sample of Pixel Shader drawing on a quad align ...Show All
Mike75 Problem creating a render target.
I'm just having issues because I'm trying to create a render target with a surface format of RGBA5551 is it unsupported With SurfaceFormat.Color it doesn't raise an exception, so I'm guessing it has to do with that. Surface renderTarget = this.graphics.GraphicsDevice.CreateRenderTarget( 1024, 512, SurfaceFormat.Bgra5551, MultiSampleType.FourSamples, 0, true); Am I doing something wrong here do I need to prepare the device first I don't think it's that my vidcard doesn't support it since it's a Geforce 7800GT... Well, any answer would be greatly appreciated. Sorry I was wrong. The supported format is bgr555 and not bgra5551.As an old DirectX ...Show All
lamont_23 Deploying my own game assets
I've chosen not to use the content pipeline provided with GSE. How do I deploy my game assets to the 360 HD Is there a command line utility so that I can build it into my tools Thanks. -Nick Thanks, I'll try that. Do I need to make any changes to my file i/o code -Nick My understanding is that due to the lack of the IO namespace, you don't have file access with XNA so all of your assets have to use the content pipleine to be converted to XNB files. I find more joy in creating the engine and pipeline than the actual game. I just wrote my own Maya exporter, and am working on a level builder. If I'm forced to use the pipeline, I will be canceling my Creator's Cl ...Show All
Tirath RocketCommanderXNA Mouse Issue
I've successfully compiled the RocketCommanderXNA. However, when I run it I cannot click on any menu items. My mouse is moving around the screen but nothing I do allows it to work. I've looked at the source and it looks as if there are hot keys, but those do not work either. Also, whenever I attempt to debug and step through the code, it pukes on a renderTarget line and I can't debug in that fashion. Anyone have any idea whats going on and can point me in the proper direction Thanks! Well, the "click" logic is handled inside the RenderButton methods of the RocketCommanderGame class. // Play click sound if button was just clicked bool ret = (Input.MouseLeftButtonJustPressed || ...Show All
Francis Shanahan is it possible to create strategy games like command hq on XNA GSE ?
i am just wondering to create strategy games like command hq, ancient art of war on XNA Game Studio Express..., is it possible to achieve ... this is a simple war strategy games. it is only 2D games but required some AI to make route / path movement of objects, Iterarion Calculation to find shortest path, plan attact strategy , defense strategy . It is turn-base strategy.... I know the logic and business process of this war strategy games.... but i am just wondering if XNA can perform such AIs... what do you think XNA isn't a language, it's just a framework that helps make it a little easier to make games (doesn't automatically create game AI or menus, etc, but it does make it easy to draw sprites, automatically give you a game loo ...Show All
Muralidhar M S Assemblies Not Referenced
After installing XNA Game Studio Express 1.0, I get the following error in my Beta 2 project: Error 1 The type 'Microsoft.Xna.Framework.Graphics.SpriteBlendMode' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.Xna.Framework, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f48fa5f25d27e8ff'. But it is referenced, and I'm pretty sure it's the right version too. I even tried to copy the code and content files into a new project, but it still gave the error. If anyone can help me I would appreciate it. Thanks. It sounds like you may have just tried to open a Beta 2 project in the final version of GSE. Your program may be looking for the older XNA beta framework. Try this, it migh ...Show All
RamonS Detect mouse click on a sprite
Anybody know how to detect a mouse click on a sprite I would guess you'd start off reading something like mouse.x and mouse.y and then iterating through all the coordinates of the sprite to see if the point clicked is in the sprites non-transparent pixels (slow) or.. Is there a way to hit test the sprites region Since this is specifly a game dev kit, I would assume there would be a method in the sprite class part of the engine to handle this like I would in vb.net for a polygon region(InRegion), and not have to iterate through each non-transparent pixel. Is that in the sprite class for hit testing If not, why ...that's a standard thing for a game(hit testing/collision detection). Guess thats for a MS XNA developer to answer ...Show All
Curtis the Analyst of Doom Indexed vertex blending - MaxVertexBlendMatrixIndex
Hello all, I have a piece of code which would need MaxVertexBlendMatrixIndex > 0 in hal device capability to work, this has derived from one of the DirectX sdk samples. Using an NVIDIA GeForce 6600GT based card this capability is not implemented so I'm trying to solve the problem in one the two ways : find a grafic card which support this capability (possibly NVIDIA) or using a different technique to animate a bone based model. Unfortunately, I'm new in DirectX programming (c#) so I do not know how to proceed. Does anyone know an NVIDIA cpu which implement such a capability If not, how can I solve this problem maybe changing the programming technique but deriving from the above code Thanks in advance for you help ...Show All
K. Murli Krishna One BGM in memory at a time? See if my method makes any sense.
Take a look and see if this makes sense. I can't seem to stream an audio file from the hard drive, or at least I don't know how. It looks like streaming is designed to be read from a DvD. However, failing that, it looks like when you define a new audio engine and specify the xact file to use, it loads all the wav files into memory. Obviously, this isn't a good idea for multiple large music files. So... what about creating a separate xact file for each bgm, disposing the wavebank when you want a new bgm and creating a new audio engine, wave bank, and sound bank using the xact file of the new bgm you want. Would this achieve the goal of having only one bgm in memory at a time Ok, so, in xact, I created a new Wave Bank (Wave Bank 2 ...Show All
ravindra_pn Will XNA work with .......?
hey everyone im new to this forums and i just had a quick question but if this question has been already asked then you may lock it. ok my question is i recently downloaded Microsoft Visual C# Express 2005 will this work with XNA / is that the only program i had to download for XNA.. or in other words are there any other software i need to download to use XNA on August 30th or will XNA come with the other programs Thank You very much.. I am not to sure if you need C# Express to run XNA, the way it sound it will come with it. However I think if you already have C# Express it will share files with XNA. Paul Bleisch wrote: XNA Game Studio Express plugs into existing Visual C# Express installat ...Show All
Michael Weingartner XNA Starting
Well, I got XNA yesterday and i have been trying to figure out how to use it all day. I have used the help but i am still completely lost. Can anyone help me start out Thank you very much. That helps a ton. Video tutorials - http://learnxna.com/default.aspx http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series1/Starting_a_project.php http://www.ziggyware.com/articles.php cat_id=6 http://www.xnadevelopment.com http://xna101.spaces.live.com/ http://www.xnatutorial.com/ Many more. If you have specific questions, feel free to post them. Moving to the XNA GSE Groups. The usual stance is 1: Use the XNA Documentation 2: Browse the MS XNA Site 3: Search These forums (for words Like tutorial) Lastly ...Show All
WPF Fan compiling a program in a program
I've created the .cpp source file. I've included the vcvarsall.bat and the correct mspdb80.dll file, yet when I used the "system("cl ash.cpp");", it said that I had not included the path for my include files. and that some tools were missing or not able to be used... How do I include the path in the program The ultimate objective is to make one program create another. Here's the source code: #include <iostream> #include <string> #include <fstream> #include <cstdlib> using namespace std; //works fine except for the compiling int main(){ ofstream fout( "newprogram.cpp" ); if (fout.is_open()){ fout<< "#include <iostream> ...Show All
Shinzo-Prime XML, XNA & Dll's Oh My...
I already have an MDX 1.1 engine partially started and will be immediately porting it to XNA asap (aka starting Aug 30th :-) ). The main portion of the system I am eager to keep is my custom GUI. I use XML extensively in my GUI, and application. Will there be any native built in XML support in XNA by default Or will I have to temporarily patch in the System.XML (Windows Only) assembly into my project until I can build my own XML parser I love using XML for storing various information, and would love to see a way of reading and writing XML with the XNA framework. Also my project is built with modular design in mind. Portions of the project are broken in various dll's. Does (Will) the XNA Framework for the 360 support Dll's or an .NET li ...Show All
Montse 2d Platforms
I understand it'd be pretty difficult to help me with a problem with me just describing it, without seeing code so... http://skynes.tripod.com/TheWizard.zip There's a link to a zip file containing my XNA project and all images. The Project so far is a mix of a couple of tutorials I found online (2d wizard and a tile engine) along with sprites I found online. I haven't made any of my own sprites yet cause I don't see the point until I have everything working, but I will be using all my own original sprites when it works. Anyway. So far it's a wizard who can jump and shoot fireballs. An enemy (movement currently commented out) walks across the screen, firballs dont do anything yet, but touching the enemy costs you a life. M ...Show All
