-
- The Quest to understand BasicEffect continues...
by NickMcCrea
- 2 Replies
- Last post
by NickMcCrea
- Hello all,
I'm starting to get to grips with the structure of things, but through all the code I've looked at, all the tutorials etc etc, I'm still not clear on a few things. I've searched these forums pretty exhaustively, but I'll issue the obligatory pre-emptive apology if I've missed something obvious.
Now, to start with, I believe I'm correct in saying that camera position must be set vi
-
- Shooting help
by Ion101
- 8 Replies
- Last post
by Spydarlee
- Can anyone post a website, code, or a project they have on making something shoot. I have tried, and it doesn't draw the bullet right, and some other ppl's code meses up
-
- Multi threading in a game (using XNA)
by Chryso
- 14 Replies
- Last post
by Shawn Hargreaves - MSFT
- Hello. I am able to create thread and make them exchange information through common objects they know (server / each other reference) Now I would like 2 threads to update a server. Each of those threads takes for inputs a keyboard for one, a mouse for the other one. However, it seems that the thread that listens on the keyboard do not detect events from it. Seems like it is the parent thread that
-
- XNA Asteroids game in the Channel 9 XNA launch video
by Jim Perry
- 14 Replies
- Last post
by Jim Perry
- Any idea if this is going to be released to the community It looks like it would be a blast to play.
I'd ask about the font support that was shown too, but I'm guessing that'll come in the first patch.
-
- Forcing content pipeline items to certain directories?
by Ben Vanik
- 4 Replies
- Last post
by Ben Vanik
- I'm using a custom ContentImporter to take a custom model format and convert it to NodeContent root that is then written out by the default writer. It works great - it takes my file, say Assets/Foo/Bar.xxx, and spits out Assets/Foo/Bar.xnb.
My problem lies with the external references I create (in this case textures, but I'm sure it would apply to effects and such) - they do not get put where I
-
- Will run from debugger, won't run from .EXE on same machine
by Keith Henrickson
- 2 Replies
- Last post
by Johnnylightbulb
- 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 doe
-
- Will the HDMI output on the revised 360 require any code changes
by CaRNaGe_46038
- 9 Replies
- Last post
by Richard Fine
- I am hoping some developers have a beta unit and can answer this question.
Thanks
And don't forget to stop by
www.lucidzombie.com
www.indygamers.com
www.Dailytech.com
-
- Dream Build Play Contest Question - Using languages other than C#
by soulmate75
- 14 Replies
- Last post
by r2d2-proton
- I've managed to use Chrome ( www.remobjects.com ) to create some small XNA demos that use the content from SpaceWars. The rules do not mention whether non C# langauges are allowed to enter the contest. Since there are several .NET 2.0 compatible compilers out there shouldn't this contest allow these entries as well as they can use both the Windows and XBox 360 XNA assemblies. Just to clarify, I ha
-
- D3D10CreateDeviceAndSwapChain() buffer
by WolfgangEngel
- 2 Replies
- Last post
by WolfgangEngel
- Hi,
I can create a device and a swap chain with D3D10CreateDeviceAndSwapChain(). To get a suitable device a render target format can be specified in the buffer description. This seems to be equal to a CreateTexture2D() call.
To create the render target view later, we can get the buffer or the buffers we created with GetBuffer() from the SwapChain.
As far as I understand it
-
- Vista Compatibility
by Dan Lingman
- 14 Replies
- Last post
by Bill Reiss
- Looking for any hints on when a Vista version will be released.
(Note that I'm in the middle of installing the same version as everyone else is right now, but the web site says it won't be out for a bit).
I really don't want to put a third OS on my system just so I can run xna express. (I've already got Vista Ultimate 32 and 64 bit on here - starting to get crowded)
Dan
-
- Good Tutorials
by Strikket
- 6 Replies
- Last post
by The ZMan
- Could someone please post some good beginner tutorials
Strikket
-
- 2D - Draw points on screen
by psychogeek
- 9 Replies
- Last post
by Jim Perry
- Hello, I'm experimenting with a 2D space-shooter type of game and need to implement a starfield. To that end, what is the easiest way to draw a single pixel on the screen I'd like to be able to do this using normal (positive only) display coordinates (ie: 0,0 - 1024,768). I'm not familiar with cameras/matrixes/transformations but I'm hoping I won't need all that just to do something as simple as
-
- Easy question - refer to base variable from a component
by LamptonWorm
- 4 Replies
- Last post
by LamptonWorm
- Hi, I know I'm going to kick myself when I see how to do this... but hey here goes - if I set up a public variable in my main game class, how do I view/use it from inside a component I'm using the default Component code from doing a new>GameComponent btw. I figured I'd just be able to do game.myVariable or similar, but I can't get the component to know anything about variables or methods in th
-
- Loading 3D Landscapes
by sticky
- 9 Replies
- Last post
by BLiTZWiNG
- Hello,
I would like to start this thread as hopefully a complete how-to with 3D Landscapes until the documentation is availalble.
Here are my initial questions:
These would pertain more for those that want a shooter or mmorg, but useful for all!
1.) How would one load a 3d heightmap and view it 2.) How can you apply splatting to the landscape using alpha maps 3.) How can one go about p
-
- where have a opensource software about edit geometry?
by tongxin
- 4 Replies
- Last post
by The ZMan
- i need do a software like 3dsmax,no need animator.now have a open source software like this
-
- Mesh animation with directX (c#)
by kensai
- 11 Replies
- Last post
by The Real John Smith
- Hi, that makes one week that I try to animate tiny.x in a window without result using c#.
I looked on many forums and i just found pple who are in the same situation as me...The SimpleAnimation example in the directX SDK is helpless, I get an Direct3DXException when I try to insert the code wich handle what I need from the SimpleAnimation example.
i have an Exception somewhere here :
// U
-
- font.DrawFont error with VB2005 and DirectX9.c
by Zakkito
- 2 Replies
- Last post
by Zakkito
- I have these simple code :
' 2 VIDEO
Dim gameFont As Font
gameFont = New Direct3D.Font(DEVICE, New System.Drawing.Font( "Arial" , 36.0F, FontStyle.Italic))
gameFont.DrawText( Nothing , "Press any key to begin." , New Rectangle(25, 100, 0, 0), DrawTextFormat.NoClip, Color.WhiteSmoke)
but when I write "gameFont." (Font) I haven't any proper
-
- Help Using Quaternion To Find Target
by Thomas Aylesworth
- 9 Replies
- Last post
by Mike36
- I've read a couple of very helpful threads here on Quaternions, so I decided to try putting them to use. I was able to use them to move a 3D object around using a modification of Riemer's flight simulator tutorial, to which I added a second object.
However, I then tried to initialize the orientation of the two objects to point towards each other from any given starting location, and that didn't
-
- Installing managed dx on windows xp embedded
by MTclip
- 2 Replies
- Last post
by The ZMan
- I have ran into the same problem as mentioned here
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=172017&SiteID=1
basically when trying to install directX on our windows embedded machines it the installer just flashes and says completed... but it infact has installed non of the managed directx material.. does anyone know a solution to this
-
- Reloading the same content
by Bloom326984
- 5 Replies
- Last post
by Bloom
- I am having an issue reloading the same content. I load a Texture2D for the first time, and everything is ok. I dispose that Texture2D and load different data into the same variable, and everything is ok. I dispose the 2nd Texture2D data and reload the 1st data into the same variable, and the Texture2D.IsDisposed value is true. This happens whenever I attempt to reload a Texture2D after having dis
-
- Help about "...is inaccessible due to its protection level"
by JakeArmstrong
- 1 Replies
- Last post
by Kyle_W
- Hello. I am trying to make it so that my character shoots a bullet when I click the mouse, and I have all my objects as different .cs files.
Code Snippet Game1 .spriteBullet = new bullet ( Game1 .graphics.GraphicsDevice, Game1 .content);
The part of my code that reads the above errors when I try to run it because TestGame.Game1.spriteBullet is inaccessible due to
-
- C# Managed DirectX app does not working on other computers
by TruthReveller
- 5 Replies
- Last post
by The ZMan
- I have been getting the following error for the last two days: EventType : clr20r3 P1 : internetvisualization.exe P2 : 1.0.0.0 P3 : 46686fac P4 : internetvisualization P5 : 1.0.0.0 P6 : 46686fac P7 : 13 P8 : 0 P9 : system.io.filenotfoundexception I recently figured out there might be something wrong with my references to the DirectX assemblies, as my app works fine on my machine, but no others
-
- Where to Start?
by Epiq
- 6 Replies
- Last post
by Darkside
- Hello there, i am fairly new to programming and i have done some C# in the past, and played around with Python. Now i am going to be starting with XNA fulltime and i wish to create WINDOWS games. Someone with next to no knowledge of XNA where is a good place to start, i have seen many video tutorials around but they dont seem to be beginner enough as sometimes they skip certain things. Is there
-
- 3d rotations on different axis
by 99jonathan
- 6 Replies
- Last post
by 99jonathan
- I am currently trying to figure out the best way to represent an object that will be rotated and transformed in 3d. This is what I have so far:
Code Snippet
Vector3 Position; float CurrentSpeed = 0; Vector3 Direction; Vector3 UpDirection; The goal is to make everything compact and small. Now the problem comes up when I want to rotate the object. All I should have to do is change the
-
- Texture showing up black?
by SnOrfus
- 5 Replies
- Last post
by Kyle_W
- I'm sure there's something simple that I'm missing but I'm just trying to texture a sphere here. If I comment out the: e.Texture = texture; e.TextureEnabled = true; I get a nicely lit green sphere, but otherwise it's just a black circle. The model was made in blender and exported to an xfile. I've tried it both with the normals flipped/not flipped and with the texture applied in blender and no