-
- Content pipeline design issues
by Ben Vanik
- 3 Replies
- Last post
by Shawn Hargreaves - MSFT
- I LOVE the content pipeline, but while digging deep and creating a bunch of cool custom importers/processors/etc I found a few annoyances that I don't see clean solutions for. I was hoping some experts here or MSFTies could set me on the right path.
My problem is with the content pipeline and it's files/types. I have two assemblies that I'm using, we'll call them Foo.Content and Foo.Content
-
- Get cue list by AudioCategory
by freds72
- 5 Replies
- Last post
by Joel Martinez
- I am trying to programmatically extract the list of sounds/cue in an AudioCategory...and it seems that is no API to do that!!!
I want to randomly pick a beat sample from the sound bank and play it.
There is no AudioCategory.GetNames() or such method/property :(
I know that I could parse the XAP file, but it would really be sad to have to that. (it's not even XML!!!) And the cue list/sound
-
- Pool Game help totally stuck
by Mark_Davies
- 4 Replies
- Last post
by Mark_Davies
- Hi all,
i am just totally stuck i have a pool game and my problem is as follow. what i need to do is shoot the white ball in the direction the cue is facing which i just cant work out how to do i have been messing around with it but with no success can any one please help me on this problem please.
thanks in advance
Regards
Mark
-
- How do i create models in XNA?
by Demonslayer
- 4 Replies
- Last post
by waruwaru
- How do i create a model in XNA
-
- WaitForVerticalBlank
by Celios
- 2 Replies
- Last post
by Celios
- Hi. I noticed that in DirectDraw, there is a WaitForVerticalBlank() function. Is there any similar equivalent to that function in Direct3D Thanks, Celios
-
- XNA doomed?
by CacheFriendly
- 14 Replies
- Last post
by CacheFriendly
- XNA may be the greatest thing since sliced bread, but I don't see it getting a lot of support until you make a simple web page that explains what features the XNA framework supports and why I would want to use it. I'm not going to download the thing just to figure out what it is.
-
- 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
-
- Mouse-responsive programs
by ropley
- 8 Replies
- Last post
by Stas Kravets
- Well done to everyone for getting it out of the door. Like a lot of us I had a double-take with the Spacewar example - strange, that although this version specifically doesn't allow you to deploy on Xbox 360, the only complete example provided requires an Xbox controller as released (... or change your build options to include USE_KEYBOARD). OK, a couple of visits to this forum answered the questi
-
- 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
-
- Compile Errors when trying to run Directx sample tutorials
by CJohnson
- 7 Replies
- Last post
by CJohnson
- Hey folks, I've just downloaded VC++ Express edition. Proceeded to install the platform SDK, then installed Directx 9 SDK, October 2006. I've installed the first sample tutorial, CreateDevice, and no matter what I do, I get error LNK2019's. I've added the include and lib paths to the project options as well. Any help would be greatly appreciated. Here's the errors: 1>------ Build started: Pr
-
- Project file incompatible error?
by WilliamStacey
- 2 Replies
- Last post
by Glenn Wilson
- All the XNA project (except for SpaceWar StarterKit) I try to load get:
"The project file Pong cannot be opened. The project file was saved with an incompatible version of XNA Game Studio Express or the project file has become corrupted."
I have the XNA RTM. Anyone have links to builds of games for XNA V1 RTM TIA
-
- Error in SpriteBatch.Draw() call with SpriteSortMode enum
by newcyan
- 6 Replies
- Last post
by Shawn Hargreaves - MSFT
- Hi all. I wrote a simple program using XNA to test the differences of SpriteSortMode.BackToFront and SpriteSortMode.FrontToBack options. I created two Texture2Ds and call SpriteBatch.Draw() method and feed it with SpriteSortMode.BackToFront, the program run well. But every time I call SpriteBatch.Draw() with SpriteSortMode.FrontToBack, the program threw an unhandled exception called NotSupportedEx
-
- cant download XNA game studio express 1.0
by best49erfan
- 2 Replies
- Last post
by Jim Perry
- I can't download it! It always stops or times out....at 99%! can anyone email it to me at my gmail account IF you can, thanks in advance
best49erfan at gmail.com
-
- Game Levels like Quake?
by jeffmorris
- 7 Replies
- Last post
by jeffmorris
- I found out from another website that there's an add-on (I think) for XNA Game Studio called XNA Magic that is supposed to load game levels made for games like Quake. Should I wait for XNA Magic or similar add-on before trying to create game levels Can I create game levels using XNA Game Studio only and a 3D modeler only Is it possible to create game levels that have two or more texture files
-
- XAP Importer
by Vasura
- 12 Replies
- Last post
by Vasura
- Hi,
I'm loading files from a windows form test application and I want to load XACT audio assets, but my idea was to ask the user only for the xap project filename, generate the files into a folder in run time and then simply load all the generated data according to the extensions. I've been doing MSBuilds for other standard importers, but I just can't fin
-
- Using BSP with XNA
by Scionwest
- 3 Replies
- Last post
by GMS0012
- Just curious if anyone has wrote any libraries or examples on how you could create BSP environments and load them with XNA I'm a programmer and by no means capable of designing detailed environments within Maya (I've spent months trying to come to grips with it) and\or 3D Studio Max, then import them into XNA. I have used BSP based level editors with the Unreal and Quake Franchises and have no pro
-
- 3D picking with the mouse combined with a moving camera...
by NickMcCrea
- 10 Replies
- Last post
by NickMcCrea
- Hi all,
I'll get right to the point. My camera is defined using the following code...
cameraworld = Matrix .CreateTranslation(xplane, yplane, 0) * Matrix .CreateScale(zoom) * Matrix .CreateRotationZ(angle);
view = cameraworld * Matrix .CreateLookAt( new Vector3 (0, 0, 100), Vector3 .Zero, Vector3 .Up);
projection = Matrix .CreatePerspectiveFieldOfView( MathHelper .ToRadians(45
-
- Are they bugs?
by ShAdeVampirE
- 7 Replies
- Last post
by ShAdeVampirE
- Hy! I'm trin' XNA since 1.0 was released, so I'm kind of newbe. The first thing, what I expected as a bug is that SynchronizeWithVerticalRetrace seems to do nothing. I use the base Windows Game project for test, and in the Initialize function I set some parameters: _graphics.GraphicsDevice.PresentationParameters.FullScreenRefreshRateInHz = 70; _graphics.SynchronizeWithVerticalRetrace =
-
- Memory Leak?
by Trisk2
- 14 Replies
- Last post
by LegacyOfHerot
- Heya, I've been working on this 2d game for about a month and a half. A
space shooter with a ton of animations. But thats not the problem the
problem is recently as the amount of Images has increased I've noticed
that the memory usage never stops going up as the game progresses. I
know there is some kind of flaw or redundancy in the way i store
textures now since the release of beta2 and the
-
- Why is Game not a singleton?
by AndyL
- 14 Replies
- Last post
by AndyL
- I'm a bit puzzled by this - why is the game class not a singleton, i.e. there is and can be only ever one instance of it.
I can't quite see any sensible reason to have more than one of them, but as it doesn't seem to be a singleton, I have to hold a reference to it anywhere I want to access game services from. Otherwise I could have just written Game.Instance.Services when I wanted access
-
- incorporating c# 2d drawing into the xna template
by lordJapheth
- 6 Replies
- Last post
by lordJapheth
- I recently found the following link that describes how to make 2D primitives in C#: tutorial I would love to be able to use this in my XNA game, but the above example uses a Graphics object that it gets from the PainEventArgs of the form. However, the XNA template uses a GraphicsDeviceManager. Is there any way I could get the Graphics object of the xna game window so that I could draw the things
-
- Sprite Blitting question - Wondering if this is still a problem
by Ecrofirt
- 14 Replies
- Last post
by LeeC22
- Hi all, When Beta 1 was out I dove right in and started working on a simple demo that moved a sprite with some alpha transparancy around the screen. The way I had it set up was something like this: -I had a class set up for the sprite that I called Player -The Player had a Vector2 for his screen position. -If the user was pushing the left thumbstick in any direction, the Player class's move functi
-
- Has anyone thought of making XNA screen savers?
by Ecrofirt
- 12 Replies
- Last post
by Ecrofirt
- Now I know XNA is supposed to be for game development, but its ease of use should also allow for very simple screen saver programming. In only a few hours I've got a completely working version of the Windows Starfield screen saver up and running, and I'm sure other people here could come up with stuff that's a ton more creative than that. What would be hard about turning these into completely work
-
- Two gfx-cards in parallel ?
by Enrico zschau
- 4 Replies
- Last post
by Enrico zschau
- Hello, i have a general question and hope somebody can give me an answer. Is it possible to run two instances of a D3D-programm on two different graphics-boards the same time The full-screen output of each program should be displayed on one monitor each - there should be two monitors connected to the two graphics-boards. The boards are two GF8800 GTX, built inside an SLI-Motherboard. Thanks, Enric
-
- Moving my camera around....need help with rotation
by Seraphino
- 5 Replies
- Last post
by leclerc9
- OK, I have been working on a camera class for a while using Microsoft's example, and I recently just moved (almost) completely over to their first-person camera deal. But, now I am working on rotation and I really want the camera to rotate on its own instead of me having to press forward after pressing the rotation key. Below is my code if you want to help me, like I said, it is pretty much all mi