-
- Managed DirectX in a Panel control
by Suneet U.
- 0 Replies
- Last post
by Suneet U.
- Hello All,
Just to keep things simple, I'll strip my problem to the most basic statement.
I'm using C# Express.
I've opened tutorial 1 in the DirectX Feb. 2007 SDK. When run, this program displays a blue filled window.
I want to render in to a Panel control so I drew a Panel "panel1" in the Form Designer, and I made the following changes to the tutorial co
-
- 3D 3rd Person Camera
by pchan3
- 8 Replies
- Last post
by buster2000
- at the moment i have created a kart racing game and have the model and have set up a camera but it does not look at where i want it to look. which is following the back of the kart. This code is mainly from going beyond ( i think).
my draw function...
protected override void Draw( GameTime gameTime)
{
graphics.GraphicsDevice.Clear( Color .CornflowerBlue);
//Co
-
- Looking for an example using a 2D back buffer
by nick5454
- 6 Replies
- Last post
by Jim Perry
- Does anyone know of an example that shows how to use a back buffer and flipping a 2D app
-
- D3D10 documentation in December 2006 DX SDK
by Tim Preston
- 1 Replies
- Last post
by Tim Preston
- Is it just me, or is the D3D10 documentation missing from the December 2006 DX SDK
-
- 3d perlin noise on pixel shader
by ThomasAG
- 2 Replies
- Last post
by Alexey Barkovoy
- I have a mesh which wraps in such a way that I can not get continous texture coordinates all over, so I thought that I would generate the pixel color with a noise function.
I want to generate 3d perlin noise on a per pixel basis, where I calculate for example 5 octaves for each pixel and pertubs its default color somewhat with the noise. The thing is.. I feel that this should not be that dificu
-
- Texture Bleeding when Scaling...
by GroZZleR
- 2 Replies
- Last post
by GroZZleR
- Hey all, I've rolled my own version of the SpriteBatch to give myself a little more control (mainly to gain different diffuse colours per corner). However, I've found a problem: When I render the quads at a scale other than 1:1, the edges take colours from the surrounding areas. Here's my control "sprite sheet": http://www.grozzler.com/dump/control.png Here's the result: http://www.grozzler.com/du
-
- Fullscreen Spacewars
by Smrtital
- 2 Replies
- Last post
by Smrtital
- I was just wondering if anyone knows how to make SpaceWars into fullscreen, rather than windowed. Thanks in advance!
-
- Creating/Destroying an object.
by Preston Moore
- 10 Replies
- Last post
by Shawn Hargreaves - MSFT
- So, I was working on a new update to my game, when I realized that I have no idea how to create or destroy an object outside of the beggining of the game. I've been looking through tutorials, but so far I haven't found anything useful. Can anyone tell me how to do this, or link me to a tutorial on the subject I'd be most grateful. :D
-
- 360 deployment question
by Jim.Welch
- 5 Replies
- Last post
by Peter D.
- I have a question about the 360 deployment. (I don't own a 360 right now, so that's why I'm asking... I'm planning on getting one this summer.) I know that you need GSE on your computer to deploy it to your 360. But once you have it on your 360, can you unplug, pick up the console, take it to someone else's home (or just disconnect it from net), and still play the game or does it require an active
-
- XBox 360 hard drive question for MS staff - semi off topic
by XNA Rockstar
- 14 Replies
- Last post
by buster2000
- With all the great new offerings out or coming soon for the 360: XBox Live Video Marketplace, XNA game creation, and the recently announced IPTV, the poor little 20GB hard drive's days look numbered.
Is MS planning to release a larger hard drive for the 360 I'm pretty sure that many people (including myself) would be very interested in one.
-
- How to you access parent elements from objects?>
by ImagineNation
- 2 Replies
- Last post
by ImagineNation
- I'm new to C#, I usually use VB.net and I'm having trouble finding how to access parent elements from inside objects. For example, imagine I instantiate this object in my program: (Note the class is created in a separate text file from my main program) namespace XNATest5 { class Statistics { private int LastTime; private int FrameCount; public Statistics() { FrameCount
-
- Changing aspect ratio stretches screen
by redneon
- 3 Replies
- Last post
by redneon
- I'm sure this is a fairly simple answer but it's been bugging me for a while. Most of the XNA stuff I do at 1024x768 but recently I decided to change this to widescreen, ie 1280x720. The thing is, instead of actually creating a widescreen play area it seems to just stretch the game from 4:3 to 16:9 which is really irritating. Here is a basic example of what I mean... This is 4:3: http://www.dunman
-
- GSE with VisualStudio.Net2005?
by sdeyoreo
- 4 Replies
- Last post
by waruwaru
- Can I install GameStudioExpress with VisualStudio .NET 2005 instead of
C# Express I plan a new build with VISTA and VSNet05 installed.
-
- Invoking MSBuild programmatically at runtime (editor model building and loading)
by Knight99
- 4 Replies
- Last post
by Knight99
- I have decided to work on a editor. For this, I have been researching on how to invoke MSBuild at runtime programmatically. I read that we can use the MSBuild API. I was wondering if anyone has managed to do this Any help is appreciated. A method I have so far is to create a .proj file each time according to the asset I am trying to build, and then call the MSBuild as an external process like thi
-
- Material vs Shader
by Fluxtah
- 14 Replies
- Last post
by Arek Bal
- Welcome to another one of my newb questions! Can somebody explain the difference between a material and a shader
My own ideas would probably be:
- A Material defines the texture and lighting properties of a surface, and maybe even the sound properties of a surface. Visual qualities of a material can be described with shader(s) ! Anyway, if someone could give me some ideas here as
-
- Transparent textures in Spacewar
by Joe Simmonds
- 4 Replies
- Last post
by Shawn Hargreaves - MSFT
- Hi all,
I was looking around the spacewar starter kit and I am slightly confused by some of the textures.
Some of the transparent textures, especially the info_screen.tga seem to defeat my image editing programs. I have tried to load them in GIMP and paint.net and all I can see is the alpha channel. I get the same result from the DirectX texture tool but when I run the game or render the s
-
- Can Draw() be called halfway though Update()
by mammoo
- 3 Replies
- Last post
by Jon Watte
- Hi everyone, I have a main Draw method that calls various Draw methods inside my classes i.e. <code> protected override void Draw(GameTime gameTime) { graphics.GraphicsDevice.Clear(Color.CornflowerBlue); spriteBatch.Begin(SpriteBlendMode.AlphaBlend); levelHandler.Draw(spriteBatch); paddle.Draw(spriteBatch); ball.Draw(spriteBatch); spriteBatch.End
-
- Methods to check 2D rectangle collision?
by redshock
- 9 Replies
- Last post
by JP Bridges
- I enjoyed Win32's IntersectRect() before for this kind of work. Is there a similar method for 2D collision
-
- Grouping units like in a RTS game
by GMS0012
- 12 Replies
- Last post
by GMS0012
- hello all..
is it possible to group units (drawing a rectancle) while holding down the mouse button with XNA
i am planning to do a 2D game where i would need this..
if yes, please give me a hint how to do it...
thanks in advance
greg
-
- How can I create a GUI for my XNA game? (do any GUI libraries exist?)
by sofakng
- 7 Replies
- Last post
by George Clingerman
- Almost every game needs a GUI of some sort so I'm wondering how I can create one in XNA...
Do any XNA GUI libraries exist
Thanks, John
-
- Getting the DepthBuffer is possible?
by Imanol
- 6 Replies
- Last post
by Shawn Hargreaves - MSFT
- How can i get the DepthBuffer and put it into a texture at any time while drawing meshes
Is that possible
And a quite peculiar question too:
Is there any way to, for example, assign the Alpha channel in and RGBA texture (multiplied by a factor) as a value for the z-depth of a concrete part of a mesh while drawing it
This means... is there any way to assign the
-
- XBox 360 shader profile
by AndyL
- 5 Replies
- Last post
by Shawn Hargreaves - MSFT
- What are the best profiles to pre-compile shaders for on the XBox I was expecting something like xvs_3_0 and xps_3_0, but only seem to be able to use ps_3_0 and vs_3_0. Is this the best we can use
-
- BSP Trees, Polygon Complexity (?)
by netshade
- 6 Replies
- Last post
by waruwaru
- Hey all - I've been working on segmenting a polygon to some arbitrary complexity. When I first encountered this problem, I took in an array of Vector2[]'s, computed the centroid, and walked the outside, generating a list of polygons to draw triangle lines from the centroid to. ( I walked the outside with Bresenham's Line Algorithm ) However, this isn't really going to solve the problem for me - i
-
- Humorous but somewhat serious question about XNA
by redshock
- 14 Replies
- Last post
by Jim Perry
- Microsoft has claimed the Nintendo Wii as a "kids toy;" however, if XNA can produce graphics and push performance up to what the Wii is capable of handling (games like Half-Life, Sims 2 from most XNA performance claims), does that mean that XNA is a kids toy too
-
- XNA 360 Payment Methods
by Justin.V
- 7 Replies
- Last post
by kingdona
- Hello all,
I've been really interested in XNA for a while now and today it's finally released! However... Since I don't have a credit card (and I don't intend to get one) it seems I won't be able to buy it!
So obviously my question is, is there any other payment methods besides credit card (ex: Microsoft points ^^)
Thanks.