-
- Rants on XNA 1.0
by qrli
- 14 Replies
- Last post
by qrli
- This is my first reaction when I installed and tried the 1.0 of XNA. To summarize my feeling: it's still 95% for XBox and no nearer to replace the old MDX 1.0. So I decided not to migrate from MDX to XNA though I want to do that very much. I feel like MDX 2 more; amen to MDX 2. The hardest issue for me is the content pipeline, which is very necessary, but the workflow is fixed and it assumes the c
-
- No text input in WinForm controls
by Christian Schiedermeier
- 9 Replies
- Last post
by Christian Schiedermeier
- I am putting some WinForm controls on the Game's window, like this:
protected override void Initialize()
{
// TODO: Add your initialization logic here
TextBox t = new TextBox ();
Form f = ( Form ) Form .FromHandle( this .Window.Handle);
f.Controls.Add(t);
base .Initialize();
}
This works fine for Buttons etc., but entered text does not show up in a TextBo
-
- Problem with new Animation sample
by Ludovico
- 14 Replies
- Last post
by Toni Greco
- I'm trying the new animation sample from microsoft! Code looks pretty good, I compiled it and everything goes well, a nice man walking appear on my screen! Then i tryied to change the model.. I took tiny.X, from the directX sdk, and added it to the project. When i run the a pplication a n exception is thrown here: // Look up our custom skinning information. SkinningData skinningData = currentMode
-
- Collision Detection With Bezier Curves
by Fusion1224
- 14 Replies
- Last post
by Arek Bal
- 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
-
- Someone from MS should clear this up
by Spyrrho
- 10 Replies
- Last post
by waruwaru
- Theres a debate going on in one of the TorqueX forum threads about the creators club subscription and its being claimed that people are deploying to their xbox without a subscription... its confusing some who may be interested in getting one or not.
http://www.garagegames.com/mg/forums/result.thread.php qt=55214
-
- Sprite animation
by Ecrofirt
- 2 Replies
- Last post
by Ecrofirt
- Let me start off by saying that I ALREADY KNOW how to animate sprites. I think the way I've been doing my animation, though, isn't really recommended as it can cause hiccups. Here's what I've been doing: I've got a sprite class. This class has a DateTime member called startTime. It also has a TimeSpan member called timePassed. In my constructor I have the following bit of code at the very end: pub
-
- XNA with VertexBuffers only? (No loading content)
by Tito Jermaine
- 5 Replies
- Last post
by Jon Watte
- I'm trying to create just a simple test app that draws some triangles on the screen. I don't want to load any models, just use a VertexBuffer and IndexBuffer right now. I load the buffers and set them on the GraphicsDevice. When I call DrawIndexedPrimitives, I get the following error:
"Both a valid vertex shader and pixel shader (or valid effect) must be set on the devic
-
- Color Banding
by Bloom326984
- 11 Replies
- Last post
by Bloom
- I am getting color banding issues when viewing my project on my Xbox 360. The textures look perfect when the app is ran on windows, using the same XNA source just in a different project. But when I display the textures on an Xbox 360, I get serious color banding. These issues are most pronounced when my Xbox is set to output at 720p or higher resolutions, but the color banding is still there even
-
- Files on Xbox360
by Elurahu
- 10 Replies
- Last post
by Elurahu
- I'm in the process of writing my master thesis about hybrid shadow casting methods using the Xbox360. I have a few questions I would love to have clearified.
- Say I wanted to use a .3DS file to represent my scene and models. Are there a way to get this file to the xbox360 without using the content pipeline since it doesn't support this format. I know this might be a simple problem, but I just
-
- How can I pass Cubemap texture into Pixal Shader ?
by leonlai
- 12 Replies
- Last post
by Nemo Krad
- Q1: How to contruction a samplerCUBE in .fx file
1. I import my static cubemap texture into content pipeline
TextureCube mySkybox;
2. In LoadGraphicsContent()
mySkybox = content.Load<TextureCube>("Contents\\skybox");
and now everything is ok.
The question is how can I contruct a samplerCUBE in myEffect.fx file
Q2: How t
-
- Form file not found ?
by Punkoff
- 6 Replies
- Last post
by Punkoff
- I'm writing a game with MDX 1.1 and VS's 2003 and 2005 On my computer i have 2 OSes I've started developing on Vista RTM with VS 2005 Game worked normally on my computer But when I uploaded it to a forum its members reported that it gives a system.iofilenotfound exception (don't yhink about missing data files, they're all at the right place and paths are not ablosute) Then i have switched to XP an
-
- LoadGraphicsContent - Is it right to load ALL graphics content at the start
by mammoo
- 12 Replies
- Last post
by Darkside
- Hi everyone, I'm just starting with XNA GSE and working on my first game. One thing that is puzzling me though is the LoadGraphicsContent. It seems in all the tutorials I've seen that everyone loads every single graphics resource inside this one function. This seems wrong to me for two reasons, the first is that surely this isn't the most memory friendly way of doing things. What if I have ten le
-
- user clip planes
by riemerg
- 3 Replies
- Last post
by riemerg
- Hi all--
I posted this small question in the XNA framework forum, but got no response so I'm trying my luck here ;)
I'm trying to add a clip plane to my scene, but this needs to be unprojected to world space first. This used to be done with the Plane.Transform method, which seems to be missing. Has anyone found a way to use clip planes in a 3D scene
I could settle with a VS clipping all
-
- Present() hangs for 10 seconds when mixing DirectX full screen and GDI
by JeremyAtGosub
- 5 Replies
- Last post
by Wessam Bahnassi
- I'm using C# and MDX. When I setup DirectX
to go full screen, and then also use GDI to draw on another form on a different
display, the Present() function can hang for 10 seconds. When it hangs, even
the mouse pointer stops moving. When it comes back to life and I click on a
form, it looks like GDI is resetting or something (the monitor goes black for a
few seconds, then redraws), and so
-
- SpriteBatch drawing speed
by Deldy
- 3 Replies
- Last post
by Kurt Jaegers
- Hi all,
Im having a bit of a problem with speed when i draw my sprites. I have about 500 sprites, and when this goes on the XBOX the thing starts to slow down. Im having pixel collition detection, and that can properbly be the limiting factor. But can it really be true that a max of 8 collition detections per frame, for sprites no larger than 100x100 can make the XBOX sweat (Im doing box detect
-
- Issue with far plane distance vs. radius in a camera component
by Crenna
- 5 Replies
- Last post
by Crenna
- Hello,
I'm curious about the behaviour of my camera class. It is a simple class that controls camera view. It behaves like it should, except when the radius happens to be the maximum value that I've set in code (farPlaneDistance). When the mouse wheel is moved, this changes the near and far plane distance: // don't get too far if (radius < nearPlaneDistance) { rad
-
- Meshes, Material and Light
by dga
- 8 Replies
- Last post
by dga
- Hi guys, i'm currently trying to get started with my first serious approach in getting something to work in XNA ;) It will be a ball game and it is called xMinton for now. Many things are done, setting up many classes and the usual stuff. While i was working there were more and more questions coming up. I was able to solve some of them on my own, some of them are those i want to ask you genius fol
-
- hi, question about mouse cordinates in 3d world
by elit
- 2 Replies
- Last post
by elit
- hi,
i want to be able to click on a 3d object with the mouse,
how can i do that i know its somthing to do with picking
i read about it, but i dont know how to make it happen, how can i do that
i know there is a sample to pick in the SDK, but the SDK is realy
evil to beginners...
thx.
and another question, i want to keep track of my
3d objects positions, now, after im pu
-
- Cannot Display Graphics
by Pigyman
- 8 Replies
- Last post
by Cygon4
- When I tried the tutorial for 3D graphics, but whenever I run it, it tells me that "Both a valid vertex shader and pixel shader (or valid effect) must be set on the device before draw operations may be performed." Can anyone tell me what's going wrong
Also, with the 2D graphics tutorial, when I run the program it tells me that the following method is "Invalid:"
spritebat
-
- Moving the view in 2D games
by Arkcann
- 8 Replies
- Last post
by Jeff Weber
- Hello, I'm not sure if this will make sense but hopefully it will.
Essentially I working on a 2D platformer as a way to develop a small 2D engine I'm working on that will hopefully help me when creating games in the future with XNA. The game is much like Mario, and like in Mario I need the view to follow the main character while moving non-player characters/enemies off the screen. I was wonderi
-
- surfaces compression to avi movie
by Kestutis
- 3 Replies
- Last post
by Wessam Bahnassi
- Hello,
I have developed a simple third person camera by using managed DX9 and C#. While the camera moves around and the view of the world changes, I take a screenshot of the view and save it in surf array as shown here:
Code Snippet
Surface backbuffer = device.GetBackBuffer(0, 0, BackBufferType .Mono);
surf[i] = backbuffer;
i = i + 1;
After taking a
-
- Where are the Creators Club?
by Deldy
- 1 Replies
- Last post
by Michael Klucher - MSFT
- Hi,
Where can i buy the creators club subscription Cant find it on XBOX life anyware...
-
- Can't deploy to Xbox 360 from GSE
by Gunston
- 14 Replies
- Last post
by Gunston
- All
Apologies but this is a repeat post from 31-Jan buried inside another thread that appears to have died.
I can't push code to my Xbox 360 from GSE. This issue has been reported by other people and their problems boil down to either having entered the 25-digit code incorrectly or, in one case, that their router didn't properly support UPnP.
I've regenerated, accepted and reconfigu
-
- A Collision Detection Method. Good or Bad?
by xVxObliVioNxVx
- 2 Replies
- Last post
by KOS4U2C
- I am developing a 2D fighting game so the game consists of a lot of 2D sprite animation. Inorder to detect collision of two fighters, I have decided to implement a pixel based collision detection method. What it does is during inizialization it stores all the pixels of each frame into a set of arrays (one array per sprite frame). Then it does this again with the sprites being flipped horizontal th
-
- Managed DirectX10 on XP64
by Pontius
- 11 Replies
- Last post
by Pontius
- Hello, I am porting a C# app which uses DirectX from 32bit to 64bit. I downloaded the Aug 2006 SDK. I looked around and saw that in the folder: C:\WINDOWS\Microsoft.NET\DirectX for Managed Code There are many versions of the DirectX dlls, but there is only one version for x64, and that version is 2.0.0.0, which is DirectX10. I guess this is more of a request for a confirmation rather than a quest