The Unofficial "Hooray I'm Done With my DBP Game" Thread When you get done with you game and sumbit it, crow about it here.
A little over 24 hours left until the deadline and I'm so amazed I'm done, so much better than college
Thanks to ZMan for his help, good luck all. I'll post the source code for my submission once the deadline hits.
Bill Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
low fps i'm confused about fps in my programme.
i draw 200 textured triangles in 640x480 window but get only approximately 160 fps.
it's strange but when i zoom out from triangles fps growth momentally, but when i close...
PreferMultiSampling = false ;
SynchronizeWithVerticalRetrace = false ;
RenderState.DepthBufferWriteEnable = false ; (i need it coz, ill render triangles with transparent textures)
i use DrawIndexPrimitives, i.e. useing vertex and index buffer.
any ideas how to increase fps Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
Microsoft's future policy for redistributing Xbox 360 games? Before I commit serious time and effort to the XNA framework, I'm wondering if anyone knows Microsoft plans for allowing us to redistribute our games for Xbox360. I'm an academic. Let's say I want to make some educational/simulation games that my students can use on the Xbox 360. Will I be able to provide them with a CD or download link in XBox live As far as I can tell so far, the only games I can write are for myself. Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
Trying to pass a cubemap.dds to a fx shader I have been playing with these shaders:
http://msdn.microsoft.com/library/default.asp url=/library/en-us/directx9_c/Goal_3___Environment_Mapping.asp
and I have got these shaders up and working in my engine, with the exception of 3 and 4, they light my model correctly, but they don't seem to be rendering the cube map I am giving them.
The shader manages the cubemap like this:
texture EnvironmentMap < string type = "CUBE"; string name = "lobbycube.dds"; >; samplerCUBE EnvironmentSampler = sampler_state { Texture = (EnvironmentMap); MipFilter = LINEAR; MinFilter = LINEAR; MagFilter = LINEAR; };
I load the cube map like this:
private TextureCube myCube; myCube = myLoader.Load< TextureCube >( "Content/Textures/SkyBox/RC/default_reflection" );
This now loads fine. So I then pass the TextureCube param to the effect:
if (myEffect.Parameters[ "EnvironmentMap" ] != null ) myEffect.Parameters[ "EnvironmentMap" ].SetValue(myCube);
I have put a break on this and I know it is loading myCube into the paramter.
Unlike the other params I set this does not seem to be working, can anyone tell me where I am going wrong Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
Efficiency of Threads on the 360? If I remember correctly, there are 3 dual core processors in the 360. So how fast is threading on it I apologize in advance if this question is vague. This is my first time using something other than a single single core processor. If I do everything without threads, will the other threads just be idling Or will work be distributed to them automatically -Nick Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
Im new and im interested in making a game! Ok im new but I DONT KNOW HOW TO CREATE A GAME! can someone help me please! :) Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
Will run from debugger, won't run from .EXE on same machine Ok, I've got my project building and running on the 360. A friend of mine wanted to see what I was up to, so I moved the source over to an PC hosted XNA project, and got it running there too.
Before I sent the .EXE to him, I double clicked on it, and I just get a message box that says "Application generated an exception that could not be handled."
This works fine under GSE, but doesn't seem to work when clicking directly through Windows.
What am I missing Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
XNA Graphics Performance Issues with GraphicDevice Hello, So I am rendering a 3D scene. I do run a kind of old card ATI Radeon 9800 Pro+ (@XT) I am having the following problem after heavy debugging: I am drawing different part of the frame. However the graphic processor does not have the time to manage all the data I ask it to handle. So when I draw the next part it has not yet finished to process the precedent data. So I have an interruption on the main processor. The GP is slow enough that I find myself with 90% of my processor time used to manage interruptions. Any one knows either: - A way to compile different textures, meshes so on in one big lump that is then sent to the GP - A way to wait for the GP to finish processing the preceding batch of data sent before sending new data Regards, Chryso Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
Multiuser games? Just curious... but has anyone used XNA/C# to develop MOG's or even MMOG's Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
Models Hello im trying to load the same model many times at differnt locations first i create an array of models then i load the the models content location info then i created each model to draw in the draw method. however doing this simply is transforming the same model instead of drawing 10 seperate models here is m code if anyone can figure it out public class Game1 : Microsoft.Xna.Framework.Game { GraphicsDeviceManager graphics; ContentManager content; Model[] models; public Game1() { graphics = new GraphicsDeviceManager(this); content = new ContentManager(Services); } protected override void Initialize() { models = new Model[10]; base.Initialize(); } protected override void LoadGraphicsContent(bool loadAllContent) { if (loadAllContent) { for(int i=0;i<10;i++) { models = content.Load<Model>(@"Contents\Models\asteroid1"); } } } protected override void UnloadGraphicsContent(bool unloadAllContent) { if (unloadAllContent == true) { content.Unload(); } } protected override void Update(GameTime gameTime) { // Allows the default game to exit on Xbox 360 and Windows if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed) this.Exit(); base.Update(gameTime); } protected override void Draw(GameTime gameTime) { graphics.GraphicsDevice.Clear(Color.CornflowerBlue); foreach(Model mods in models) { LoadModel(mods); objectPosition.X +=+2f; } base.Draw(gameTime); } Vector3 cameraPosition=new Vector3(0.0f,0.0f,2000.0f); Vector3 cameraTarget = new Vector3(0.0f, 0.0f, 0.0f); Vector3 cameraUP = Vector3.Up; float FOV = MathHelper.ToRadians(45f); float aspectRatio=640f/480f; float clipNear=1.0f; float clipFar=50000f; Vector3 objectPosition = new Vector3(0.0f, 0.0f, 0.0f); protected void LoadModel(Model model) { foreach (ModelMesh mesh in model.Meshes) { foreach (BasicEffect effect in mesh.Effects) { effect.EnableDefaultLighting(); effect.World = Matrix.Identity * Matrix.CreateRotationX(45f) * Matrix.CreateTranslation(objectPosition); effect.View = Matrix.CreateLookAt(cameraPosition, cameraTarget, cameraUP); effect.Projection = Matrix.CreatePerspectiveFieldOfView(FOV, aspectRatio, clipNear, clipFar); } mesh.Draw(); } } } Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
Drawing Animated Sprites to the Screen Hello, I'm writing an RPG-Esque creation tool. And I was wondering what the best way to draw sprites would be.
1.) Draw the sprite from a Raw .gif file.
2.) Create a series of Frames for the sprite and loop through each sprite incrimenting the frame number.
I was wondering what the best approach to this is and how to impliment it. Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
How to load a WaveFront model? Hi. Using DirectX, how can I load a WaveFront model Or I can work just with the X model (I don't think so..) Tks. Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
low fps i'm confused about fps in my programme.
i draw 200 textured triangles in 640x480 window but get only approximately 160 fps.
it's strange but when i zoom out from triangles fps growth momentally, but when i close...
PreferMultiSampling = false ;
SynchronizeWithVerticalRetrace = false ;
RenderState.DepthBufferWriteEnable = false ; (i need it coz, ill render triangles with transparent textures)
i use DrawIndexPrimitives, i.e. useing vertex and index buffer.
any ideas how to increase fps Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
Good Example XNA 3D Game? Hi all,
I want to develop xna game, Who can tell me, where has good example such as how to set light, mesh , mesh move , add hlsl, etc..
best regards, Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
colorvalue in progressive mesh sample Hi, new to DirectX in C#, not in C++. In the August 2005 DirectX sdk update, there is a sample in C# called "Progressive Mesh". When I compile this sample, I get 36 errors, all of which are type or namespace missing errors. Here's an example. 'ColorValue', which is supposed to be of the Microsoft.DirectX.Direct3D namespace simple does not appear to be there. MSDN says it's part of the namespace, auto-complete does not. What is going on I know this is probably a newb question, but hey, I'm a newb :) Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
membership? important!! uhm, when u get a membership for 4 months on xbox , can u still play games when the membership runs out,, cuz if not, this whole thing is a waste and money. and.. when ur creating for the 360, can u preview or liek .. play.. ur games on windows b4 sending it over newb question , but i havent tried XNA yet Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
Gaming groups or websites I'm looking for a good 2D gaming development group or website. For example, DeviantArt is where artists go to share their work with other artists. Is there a game dev equivalent I'm a 2D, RPG developer typically. If you know of any other great communitys out there (apart from this one, of course), please let me know. Thanx! *jinx Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
Bounding Box of a Model after rotating (and scaling) it. Hello :)
I was wondering how I would go about getting the (axis aligned) bounding box of a model after rotating and scaling it
Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
XNA games running very slow Hello everyone, i've seen a demonstration about XNA on Microsoft BigDays 2007 in Austria and now i've wantet do try this out. I've coded the Going Beyond Demo and looked the learning videos. Everything looks good, except of one: the game runs VERY VERY VERY slow! and i don't know why, because my computer is not sooo bad: Core 2 Duo 2,4ghz 2gb corsair ram sapphire radeon x1950 pro asus p5b e-plus so my hardware shouldn't be the problem. but everytime a runs this demo, my cpu usage is 100% and it looks like, that only the cpu is used and my graphiccard does absolutly nothing with this. i've installed latest drivers of my graphiccard, latest directx and i didn't find the problem why this runs soooo slow. does anyone of you know what the problem could be thanks for help! Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
Rendering Question first of all, I'm using d3d 9.0 C# 1.1
And now to the problem: I'm writing a little application in which i parse a dxf file (contains geomtry information) and render it. the application allows pan, tilt and zoom.
big dxf files containes thousands and more entities.
at the moment I'm rendering the entities to a texture and then I'm rendering the texture. the problem is when i render on a texture with a X8R8G8B8 format it acts like a bitmap - which means, when I'll zoom in the objects (for example lines) will become thicker. (I want them to stay at the same size).
I saw that there's a format called VertexData but I couldn't create a texture with that format.
I would like to render it staright to the device, but every cycle of render will take from 1 second (small file) to more than 10 seconds (big files).
don't ask me for code, because i have too much of it :)
I hope you can help me. Thanks. Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
Is XNA the tool for serious game developers. I'm trying to make the decision if our game development team should use XNA as the technology solution.
The question is, if XNA is capabale, or is intended to be, a commercial game development tool set for serious game developers. Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
"Use of unassigned local variable" error on Xbox360 but not Windows Anyone know why the compiler produces an error when the following code is compiled in an Xb0x360 project but not when it is compiled on a Windows project
public void GetTileRect( int tileX, int tileY, out Rectangle tileRect)
{
Rectangle myRect;
myRect.X = tileX * tileWidth;
myRect.Y = tileY * tileHeight;
myRect.Width = tileWidth;
myRect.Height = tileHeight;
tileRect = myRect;
}
I get a "Use of unassigned local variable 'myRect'" when assigning it to tileRect.
It's not a big deal, I can get around it by simply using "myRect = new Rectangle()". I'm just wondering why it works in one case but not the other. Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
Here's How to use XNA GSE with the F# programming language F# is a research programming language written by Microsoft Reserch. It's still in its experimental phase, but I like to play with it. Here are my notes on how to use XNA GSE from F#.
(Note: F# is an exotic programming language, and is harder to learn and use than C#. If you don't care about exotic programming languages, you're much better off using C#, since it's much easier and faster to use C# with XNA GSE. But if you _are_ an exotic programming language fan, especially of functional languages, I hope these notes are useful to you!)
Part 1: How to Write XNA Game Studio Express Games with F# - Part 1 Getting Started
http://grammerjack.spaces.live.com/blog/cns!F2629C772A178A7C!156.entry
Part 2: How to Write XNA Game Studio Express Games with F# - Part 2 Using F# with Visual C# Express
http://grammerjack.spaces.live.com/blog/cns!F2629C772A178A7C!157.entry
Part 3: How to Write XNA Game Studio Express Games with F# - Part 3: Running F# code on the Xbox 360
http://grammerjack.spaces.live.com/blog/cns!F2629C772A178A7C!158.entry Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
conversion of tchar I am using an XML parser based upon the std::string class however I have ran into the issue of converting a std::basic_string<TCHAR> tstring into a std::string I have googled around but havent found anything usefull, anyone have ran into this issue an came around it gracefully Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
Invisible Skybox Hi i have used some of the code from the SkyBoxDemo tutorial to make a skybox in my game. I adapted the code to run with my game but when i debug the game i cannot see the skybox and my model following camera flips round to face the front of the model insted of the back and The Ship model turns weird colors! Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
What does creators club include right now? I'm a little puzzled about what the creators club actually includes, I've checked the FAQs and can't really find an answer. I have however managed to find the following: "The XNA Creators Club is available on Xbox LiveR
Marketplace for $49 (U.S.) for a four-month subscription, or $99 (U.S.)
for an annual subscription. Both subscriptions provide aspiring game
developers with access to thousands of game assets from Microsoft and
key partners such as Turbo
Squid Inc., as well as white papers, specialized starter kits, samples
and technical product support to help turn Your World, Your Game into a
reality." I signed up for a year because it sounds like quite a good package, however there seems to be no information provided on how to access these assets, the white papers, the starter kits, the product support and samples. Is it just that this content isn't available yet If so, it seems rather a rip off currently - the XNA launcher software is free, so essentially it's ¡ê65 a year just to be given permission to able to compile direct to the 360 Perhaps I'm the one in the wrong here and I've missed something obvious and if that's the case I'd be grateful if someone could point me in the right direction! Hope someone can help clear this up for me. Thanks in advance! Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
How I get the skin weights? Hey, I am trying to understand how animations works in XNA. I have
modified the content processor to get the vertex buffer of a mesh from
a model in a raw data, and I believe that it is in the vertex buffer
where the skin weights indices of each vertex for each bone is stored.
Does anyone has some clue how to get the skin weights or how they are stored in the vertex buffer
Or even better, does anyone know the proper way to retrieve the vertex buffer, index buffer and skin weigths from a model Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
NEED SERIOUS HELP WITH XNA, SOME PROBLEMS DOES ANYONE KNOW WHERE I COULD LOOK AT SOME XNA 1.0 TUTORIALS THAT ARE MADE SPECIFICALLY FOR 1.0 OF XNA
PLEASE HELP!!!!!!!! Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
Declaring alternative input devices Hi to all I have been told that I can register alternative input devices to the DirectX such that a game that runs will see my input instead of the standard devices that are connected on the machine. To be more specific, I want to use a client that receives a user input (game pad, mouse etc.) from a remote machine and gives it to the Direct Input, such that the game that runs on the local machine thinks that an action was taken locally. I have browsed through the DirectX SDK Documentation and also searched for an answer in the web, but I haven't figured out anything yet. Could anyone from this site clear this issue for me please Is what I am trying to do feasible I really thank you for your time Theofilos Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
XNA Forums I have a large amount of webspace at my disposal not being used for anything. If I created a XNA based forum on it, would anyone use it Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
pop up box? in game Hi newbie problem, i am trying to create a few options for the player to choose from like: 10 x 10 = 100 10x10 = 1000 10x10 = 10
i was going to do this as images as i cannot think of a better way of showing on screen is there an easier way then if the person clicks on a certain versinity like x = >10 it will display a message if wrong box selected explaining the answer how can i do this can anyone help thanks Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.
Is it possible to use Newton Physics or FMOD? Is it possible to use Newton Physics or FMOD
Can the newton .dll be used in XNA http://www.newtongamedynamics.com/
What about FMOD for sound http://www.fmod.org/
Im trying to get a handle on creating a game in XNA - ive been using TV3D 6.5 Beta and I want to see if i can accomplish the same things with XNA.
thank you, Tag: Game Technologies: General What is a GPU Game Technologies: DirectX, XNA, XACT, etc.