-
- Need a Mentor
by James108
- 2 Replies
- Last post
by Glenn Wilson
- Hey I was wondering if anyone would be able to help me make a game with XNA I want to make just a simple little top down move car around game. But I can't figure out how to start (I did the tutorials) So I was hoping one of you fine gentlmen and women would be able to help me on msn or aim or somthing That way its live instead of continually posting back and forth on the forums. Thanks Very Much J
-
- XNA on Original Xbox?
by AzBat
- 12 Replies
- Last post
by Jim Perry
- Back when XNA was first announced at GDC 2004 it was said that XNA would be a unifying environment for both original Xbox(and future versions), PC and mobile devices. With the XNA framework now available for the Xbox 360 are there any plans for supporting the original Xbox
I know there are about to be 10 million Xbox 360 consoles shipped by the end of this year, but as of last May Microsoft sai
-
- Texture2D.GetData fails on 500x500 texture
by Thunder2002
- 6 Replies
- Last post
by Thunder2002
- Hi, i am reading of a Texture2D the given colors to extract my height data of a heightmap image. Therefor i use this code: Int32[] data = new Int32[heightMap.Width * heightMap.Height]; heightMap.GetData<Int32>(data); heightMap is a Texture2D object with a width and height of 500, so the data-array gets at runtime a size of 250.000. Fine but it fails on getting the data from the Texture2D
-
- best way to do 2d parallax floor sprite
by Fistandantilus282303
- 9 Replies
- Last post
by Fistandantilus
- I need to do a 2d parallax floor sprite. (I want to closely emulate the style of an older game). Let me explain. I have a long, short rectangular floor texture. I'm rendering it as a texture on a 2 triangle (to make a square or rectangle) set of primitives, that is normally the same size as the texture, and the upper left corner is mapped to 0,0 of the texture, and the lower right corner to 1,1, e
-
- Embedding resources: Is it the answer for screensavers?
by Ecrofirt
- 4 Replies
- Last post
by Ecrofirt
- Hi all, I'm about 90% finished with my XNA Starfield screensaver, and I'm wondering what the best solution is for storing my textures and whatnot. I think it'll be very clunky to add any content files to the System32 folder along with the .scr, so I've been trying to come up with a good spot for them. Wouldn't it be best to embed the files within the .exe and just load them from there I'm trying t
-
- MRT's on the xbox 360?
by Keith Newton
- 2 Replies
- Last post
by Keith Newton
- With a chip dedicated to the framebuffer is it still possible to do MRT's on the 360 My initial tests suggest this is not the case but if anyone knows for sure I would appreciate it.
-
- .xnb file size
by Bloom326984
- 7 Replies
- Last post
by Leaf.
- Hi all,
I assume I am doing something wrong with the importing of content, but I can't seem to figure this out. I have 3 .bmp images that are each around 30kb. I am importing them as Textures and using the Sprite processor. The resultant .xnb files are 250-300 kb =/ I am fairly sure the .xnb file doesn't have mipmap data in it. Any idea why these images are becoming so large
Thanks
-
- Point sprites in XNA
by riemerg
- 10 Replies
- Last post
by Catalin Zima
- I was wondering if i would be possible to display point sprites (in 3D) using the BasicEffect When I specify the position and the texture, I see colored points where the sprites should be (really the size of pixels). I guess the BasicEffect doesn't support point sprites, but because I cannot find the PointScaleA-C renderstates in XNA, I still have some hope. I found the PointSpriteEnable rendersta
-
- Problem using SurfaceFormat.HalfVector2
by Derek Nedelman
- 4 Replies
- Last post
by Derek Nedelman
- I've been trying to adapt the C++ DirectX motion blur sample to XNA. This sample works perfectly on my NVidia 7900GT. In my own program I successfully create a "velocity" render target with SurfaceFormat.HalfVector2. Unfortunately something goes wrong with the graphics system when I set this with SetRenderTarget() - the program doesn't hang, it just refuses to render anything after that.
-
- Windowed rendering troubles
by fictionforever
- 5 Replies
- Last post
by windozer_
- i need to run my app in windowed mode with vertical synk,
but if i will set d3dpp.PresentationInterval = D3DPRESENT_INTERVAL_ONE;
then app work with 60-70fps, compare to my monitor refresh rate is 100fps,
if i will set D3DPRESENT_INTERVAL_DEFAULT then app work with 300fps,
but eat 100%l cpu time, how to fix this problem and get window rendering with correct framerate
-
- Memory Leak Blues (PlayCue)
by Duckocide
- 5 Replies
- Last post
by George Clingerman
- Hi
Well, my latest game is really starting to come together. However, I've noticed something that I think is the cause of a memory leak.
ParentGame.SoundBank.PlayCue( "spark_1" );
I've notice a positive allocation of memory whenever the "PlayCue" method on a SoundBank is called. This particular line of code is fired very regularly (its an electric arc sound) in my g
-
- Need help controlling forcefeedback functions with labview
by AJ13
- 4 Replies
- Last post
by AJ13
- Hello,
I am working on my engineering senior design project and need to control a force feedback joystick using software called labview. It looks like the easiest way to accomplish this is through DirectX. Labview has the ability to import .dll functions as well as .net and activex functions. If someone tell me the best way for me to accomplish this or at least point me to a specific kb to read
-
- Running Unit tests on XBox 360
by Rookboom
- 4 Replies
- Last post
by BarryRX
- Calling all TDD develepors... Does anyone know whether it is possible to use NUnit to run unit tests on the XBox 360 Thanks
-
- I would like to Dev With XNA but already have Visual Studio 2005 Prof, Do I have to Install Express?
by Brian5003
- 4 Replies
- Last post
by Glenn Wilson
- Where do I download the framework
-
- 3D VERY slow on the XBOX
by Deldy
- 14 Replies
- Last post
by Shawn Hargreaves - MSFT
- Im having a hard problem getting good FPS rates on the XBOX, everything turns around and gets alot slower. Does anyone have a solution, or reason for this
-
- Tutorial How to: Render a model error?
by John2156
- 2 Replies
- Last post
by John2156
- Hello. I'm a novice programmer, but I think I may have found an error in the example documentation that tripped me up for a while. In the model loading example there is a line which reads: float aspectRatio = graphics.GraphicsDevice.Viewport.Width / graphics.GraphicsDevice.Viewport.Height; It took me quite some time as a beginner coder to figure out why my models were stretched over the x axis. I
-
- SPACEWAR game does not run
by Marcio Madruga
- 3 Replies
- Last post
by Marcio Madruga
- I use windows 2003 server and visual studio 2005. I installed XNA game
studio express, which required C# express. It shouldn't, but did. So I
provided C# express, installed Game Studio and tried to run the sample
game.
The problem: The game.run() returns an unhandled exception which
says that my vgacard is not direct 3d compliant
(my ati radeon X200 256mb IS direct 3d complia
-
- Can you access member variables dynamically?
by mammoo
- 5 Replies
- Last post
by Joel Martinez
- I'm writing an input handler class and I'm writing a function to return true or false depending on if the requested button is down or not for the supplied player. At the moment I'm doing it like this: <code> switch (MyRequestButton) { case "A": if (currentState[player].Buttons.A == ButtonState.Pressed) { buttonDown = true; }
-
- Render target + multisample problem
by ShAdeVampirE
- 4 Replies
- Last post
by ShAdeVampirE
- My problem is: I just want to draw some objects to a render target, and than save it to texture -> post process it. It works, if I turn off multisample. But if it's turned on, it behave like DepthBuffer would be turned off (the last drawed object will be the nearest, even if it's far away), but it's not. Again, if I only turn off the multisample, it works fine, if I turn it on, it's get crazy.
-
- XNA and Windows Application
by Ubat
- 3 Replies
- Last post
by Jim Perry
- Hi! This is going to be a newbie question... I am a complete newbie in terms of game development and also a big fan
of managed languages :-), so I was extremely happy to read about XNA.
I know, this question might seem a bit strange, but I wonder if it is possible to integrate XNA-code (soundrelated) in a "Windows Application". I am not working on a game, but rather on a tool to supp
-
- Minimizing and Maximizing
by A1Programmer
- 12 Replies
- Last post
by Richard Kain
- I have my application set to use the full screen. If I hit alt tab, go into another app, then alt+tab back into my game, it's solid gray, and then locks up. I wrote some simple code to check the keyboard state, and close the app if I hit escape, but that doesn't even work. I just assumed that this would all be handled for me, out of the box... Do I have to write anything myself to fix this
-
- Cannot convert DX projects from VS 2003 to VS 2005!
by Milos Kompjuteras
- 1 Replies
- Last post
by Niello
- Hi!
I got a bunch of Direct3D projects done in Visual Studio .net 2003 (and as I remember DX9 SDK), that used to run quite fine. But now when I run old .exe files (both debug and release) none of them work! Also, when I convert these projects to new Visual Studio format, they refuse to run!
I now got Visual Studio 2005 and new DirectX (dxsdk_dec2006).
Please give me some neat advice on th
-
- ||| Collision |||
by Andrew3
- 9 Replies
- Last post
by Andrew3
- how can I detect collision of complex 3d objects
for example, on this "platform"
http://img85.imageshack.us/img85/7749/newbitmapimageiq4.png
help please!
-
- How to make a facial animation system with c#?
by Robin101
- 0 Replies
- Last post
by Robin101
- Someone can give me some idea thank you
-
- Is there a way to get Display settings (like GetAdapterDisplayMode in D3D9)?
by Pavor
- 5 Replies
- Last post
by Pavor
- Hello!
Has anyone tried to set up fullscreen mode in D3d10
In this case window width and height values (members of
DXGI_SWAP_CHAIN_DESC structure) must be equal to the screen resolution "width" and "height".
The question is - how to find out what screen resolution is curenntly set
Please help me.