Answer Questions
LukeG Collision Detection With Bezier Curves
Hi, I'm currently making a small 2D game in XNA Game Studio Express. It involves a player moving around a terrain and being able to collide with it. Nearly all the graphics and settings in my game are user generated so this allows for everything to be quite customisable. For collision detection the user specifies paths made of Bezier curves which are stored in a file. The game reads this file and stores a number of points on the curves in an array. The player is also made of Bezier curves that are converted into points: This shows how I want collision detection to happen; if any of the lines that make up the player intersect with any of the lines that make up the terrain, then a collision has occurred. Once a collision has occurred two t ...Show All
doener Where is the download?
It is 12:48 pm here (GMT + 1)... in Nuku'alofa (GMT + 13) it is tomorrow... So where the hell is my download link :-D EvilOneSD wrote: Hmmm... the holy grail is here on my desk. Btw... it's "tomorrow" now... What, you have one too :p It's been "tomorrow" here all day... heck, it's almost the day after here! Patience is a virtue Probably the same place you left the Holy Grail! it's past 9 am over here (Netherlands). By my calculations it should be past midnight Pacific Time... I'm bored of cleaning my Holy Grail, let's get this show on the road!! It's 4:57 PM here in Adelaide, Australia.. I've been waiting s ...Show All
neilsmorr888 Can SOMEONE PLEASE HELP ME? I need help learning XNA-C#
Can somone help me PLEASE I need some help learning how to make games and that type of stuff using the C# XNA program. If anyone can help me, let me know. I would like a site that can lead me threw one step at a time and is easy to understand if posible. Thank you =) -Ryan i just have 1 more problem. each time i click (start debuging) my computer says {"The values used in the attempt to create the GraphicsDevice were invalid."} WHAT DOES THAT MEAN !! im using the space one and evrything else i try it does not work It means you did something wrong - what code are you using Does the space war sample wor ...Show All
MikeLR A Simple grid component
I created this self contained grid and figured someone may find it a useful starting point. [ code language="C++" ] using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Components; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Storage; namespace XNAEngine { public class SOGrid : Microsoft.Xna.Framework.GameComponent { // This is how you would add camera control to the grid component /*private myCameraComponent camera; pub ...Show All
RodneyJ DirectX, XNA, Or XNA Game Studio?
Dear, I Am A Beginer In Game Development, But Professional In C# And C++.Net 2005. I Want To Start Learning 3D Game Development Where I Have 2 Main Questions: 1- C++, C++.Net 2005, Or C# Is The Fastest And The Powerfull Language For Creating 3D Application 2- What Is The Graphic Library I Have To Learn And What Are The Difference Between XNA, DirectX, And XNA Game Studio I Hope To Help Me In My 1st Steps. Thx Alot Thx Alot, However I Want To Ask You As An Expert: 1- Which Do You Prefer, Managed Or Unmanaged Code (Note That I Want To Build Very Good 3D Applications). 2- If Managed Code, Do You Prefer To Start Using XNA Or Managed SDK 3- Does Their Be DirectX 10 Or The DirectX10 Is The XNA 4- I Am Pro ...Show All
alvi_du main menus for newbie
ok so i have just started C# and C++ and i seam to be catching on prety quickly. I have been able to get many custom modles to move with sound and effects. But today i wanted to start an entire game. so I was woundering how would i go about making a main menu/ I hae not been able to find any tutorials on it. Did you take a look at the SpaceWar starter kit They've implemented a fairly good menu there and it's a great example to look at. I can't recall any community tutorials posted on how to make a Menu, but if you're loading models and moving them around and playing sounds, loading a Title screen with menu options on it isn't going to be much more difficult. Basically, you're g ...Show All
Alexander Petukhov Gamekit developming
I have an idea - to make freeware game developming kit using XNA Game Studio Express , which will include all required instruments for normal game-developing like Level/word editing instruments, simple scripting language and physics included. All that included in 1 progamm using which game-developer would make his game. I have a question - can I find here enthusiasts which can do this kind of job I'm not a programmer - I'm gamedesigner that worked on a few shareware games. Main reason of why I'm asking such help, it's because I've tried to find such kind of soft for making mini-projects or game prototypes which can help not pro gamedesigners to start making their ideas come true and achieve practice on game-developming. That's why I ...Show All
Radvis Can I apply different transforms to different groups of primatives
Hello everyone, I'm currently muddling around with direcetX primatives and I'm attempting to write a function which will produce an array of dots that describes a sphere. I know there's a mesh of a sphere in the examples of the sdk but I want to generate this myself. I've written a function which can generate a series of dots representing a circle on the Y plane. My idea is that I'll generate a set of these circles and apply a y-axis rotation to each to each to spin them out to form the sphere. Like the lines of longitude on a globe. Now for this to work I'll need to be able to apply a different Y rotation to each circle, up until now my text book and any website I've found for primatives have only described ways of appl ...Show All
Muder I'm confused...
Why aren't the vertex positions in loaded models the same as they are in the file from which they are loaded It seems that some coordinate transformation occurs in the importing step. Can anyone please tell me what this transformation is Confirmed - the .X IMPORTER mirrors along the Z axis. I mirrored every vert in my importer and the texture maps "properly." (I also mirrored the normals by the inverse transpose of the reflection matrix (too lazy to figure out what axis that is) to get lighting to work properly) Does it also reflect the bones and animation data This could be a major headache if it doesnt (for anyone trying to get animations to work and didn't know about this). I sort of wish t ...Show All
Christian Schweizer Managed Direct3D 10
Since XNA only supports DirectX 9.0 Where is Managed Direct3D 10 I hope there will be Managed wrapper for Direct3D 10 thanks XNA only lets you use an entire window for the graphicscomponent. This is not much use to people like me that make business apps with 3D elements in them, for us being able to create a device in a control within a Windows Form is essential. Our applications are never going to hit the XBox so we would end up moving away to OpenGL libraries rather than use C++ which is too much of an overhead in a RAD environment. Thanks Michael, That was the answer I was looking for. (Official MDX10 way cool). I already did check out ...Show All
mario.muja Izzy545 mentioned on Major Nelson's PodCast
Hey, just informing you of Izzy545's game being mentioned on Major Nelson's PodCast. Congrats, Izzy545. Well done Izzy545, I feel like you and teh_programerer, are my LearnXNA Brothers, although both your games were better than mine :D. Awesome, thanks for the heads up! I'll have to check it out Major also mentioned xbox360homebrew.com -- I thougth about that domain but it was too long ...Show All
Shawn Carroll How do i learn to write games for the xbox 360
Im sorry if i posted this in the wrong spot. However let me tell you a little about me. I dont any computer programing skills so im starting fresh. I want to know what i should read. What programs i should get and what courses i should take. Does microsoft offer a couse is there a good course in language and graphic design. Now let me be clear i want to learn hw to do everthing from building the game to by code as well as doing all the art work that needs t go into so i need to know what i should learn. Thank you for your help Hi. What a great time in history to be asking that question . Microsoft just released the Beta of the XNA framework. Right now, XNA only lets you build Windows games, but whenever it moves out of the "Beta ...Show All
sc_simsl No way to set the SpriteBatch transform ?
I can't find a way to set the transform of the underlying ID3DXSprite of the XNA SpriteBatch. Am I missing something Thanks L. The SpriteBatch class doesn't support any transform state members. You will need to perform any transforms yourself before calling Draw methods. The overloaded Draw methods also contain options for scaling, translation and rotation transforms. ...Show All
Lerxst193952 Retrieving effects and textures
Assuming that I have a model in 3DS Max that I export into a FBX file, which goes through the content pipeline, and is then loaded into the runtime as a Model, how do I go about getting the 3DS texture and effects bindings from my C# code Looking at the Model class all I can see hanging off it is an Effect class, but no texture references - are the textures supposed to be embedded in the effect files If so, how should I set the effects in 3DS so that they are imported via the content pipeline Sorry if there is an obvious answer to this, but I'm more used to dealing with pure HLSL/ASM files rather than effects files.. Andy. Looks to me like I would prefer to use an X file exporter (the current fb ...Show All
AdrianGodong How to access Surface data?
here is my code Surface surface = graphics.GraphicsDevice.GetBackBuffer(0, 0); uint[] data = new uint[4]; surface.GetData<uint>(data,0,4); "The size of the data passed in is too large or too small for this resource" exception will throw out when execute GetData function. How draw a picture on an surface except to use GetData SetData function Is there a way to use GDI+ function to draw something on XNA surface,or copy data from System.Drawing.Image I want to write some code to draw chinese string on screen.If GDI+ function is available in XNA,that will easy to complete. Yes , it's a tiny font class there.But I need a font class to display chinese charater.You know there are more than 1000 chinese ch ...Show All
