-
- Using directx without a soundcard
by bogibear
- 2 Replies
- Last post
by bogibear
- I have an application that compresses wav files (voice recordings). The compression method I use does about a 9:1 compression. Saves me a ton of disk. Unfortunately, the 3rd party app loses its mind. And I have to use that 3rd party app. I use DirectX to examine the input file and then compare it with the output file. If the comparison is more than +/- 1 second different, I quit with an error. Mi
-
- Animated Sprite - the MSDN example
by LamptonWorm
- 5 Replies
- Last post
by LamptonWorm
- Hi, With regards to this article, does anyone have the graphic they are loading in or a similar example I whipped up a simple 48x16 .png anim strip but when I use the AnimatedSprite class, it only shows one frame - the first, then blank, then frame 1 and so on, not the other 3 frames. I'm sure it's something simple I'm missing! I've entered the frame total as 3 by the way as I have 3 frames in tha
-
- Creating objects 'by name' read from level data
by LamptonWorm
- 4 Replies
- Last post
by Shawn Hargreaves - MSFT
- Hi, Firstly sorry for the confused subject line ;) Ok, I'll try and explain - suppose I have a class called Enemy1 and a text file that lists level data and in there I have the text "Enemy1" listed also. Can I somehow create a new instance of an Enemy1 object by only knowing 'Enemy1' as the string that I have read from the level text file This would mean I would avoid alot of code such as 'if bla
-
- Pixel Shader 1.1 not available
by Bubbla
- 3 Replies
- Last post
by glenrm
- I'm using Intel D845GVSR main board and it has 64mb VGA and 512mb of RAM but my main board does not support Pixel Shader 1.1 or greater, I want to do game programming but this problem does not allow me to do so. Please give me some suggestion to avoid this problem without purchasing any new Hardware.
I'll very thankful to you, Farhan
-
- XNA Contest a yearly affair??
by DJ Magneto
- 1 Replies
- Last post
by The ZMan
- Hello all,
Like the rest of you, I'm an aspiring game programmer. My real job is a Java application developer. I just learned about the XNA Dream Build Play contest from that video that is on Xbox Live. This is just the thing I've been looking for. So I've started to learn about the XNA framework and programming in C#. Now, I've got all these ideas as to what kind of game I'd like to create
-
- How to Launch a XNA game in a new thread ?
by Chryso
- 8 Replies
- Last post
by Rob Hanz
- Hello, So, no, this thread is not a tutorial on how to do it. And I am a beginner at thread programming. I ll start by explaining why and what I would like to do. So I am planning on creating a game that can be played by multiple persons either on the same machine, or using network. I though that having a thread listening to input events was a good idea. On thread for each input devices (keyboard
-
- XNA GSE and Vista
by Mike Brown
- 9 Replies
- Last post
by Michael Hansen
- So here's a quick question. I'm pretty sure it's been asked before but none of the combinations I can think of give a definitive answer for me.
I'll make this one quick and to the point. Are there any known compat issues with GSE and Vista RTM (currently using Vista Business). Let me know
-
- general use of XNA vertex types?
by Mark Flamer
- 12 Replies
- Last post
by Mark Flamer
- I am trying to create some methods to manipulate various parts of the XNA vertex structs. I want to be able to pass all the different vertex types as arguments to these methods. Because they are structs they don't derive from a base class other than ValueType. If I use ValueType as the parameter I don't have access to the propertys of the vertex. Is this a case where refelection would be usefull C
-
- 2D Sprite Mirroring
by Sonix2001
- 3 Replies
- Last post
by Sonix2001
- Hi everyone, another noob question I'm afraid
After creating my first XNA game (the usual...Pong ) I am now underway with my first "real project", still trying to keep it simple I thought I'd attempt to program a 'clone' of Jetpac (an old ZX spectrum classic). I'm well underway but I'm also trying to go back and improve code I've already done....anyway, to my question:
I have crea
-
- Creating projectiles, need help with list.
by OasisGames
- 9 Replies
- Last post
by Shawn Hargreaves - MSFT
- I am trying to make projectiles that my object can shoot, but am having trouble adding new projectiles to my List<projectile> object. My projectile code (so far) looks like this: public class projectile { float rotation; float rotationAlpha; Vector3 position; Vector3 velocity; float life = 0f; public void Update() { position += velocity * 1000f; li
-
- Animating Billboards Using A Single Texture
by Nick Gravelyn
- 14 Replies
- Last post
by Nick Gravelyn
- I just finished a basic billboard class that is capable of reading in multiple textures and animating. However, I would like to read in a single texture file and be able to simply change texture coordinates to change the appearance of the billboard. Now, I could recreate my VertexBuffer each frame, but that would be a lot of wasted processing. Is there a way to dynamically alter the texture coordi
-
- Writing Text to the Screen
by SoopahMan
- 5 Replies
- Last post
by waruwaru
- The XNA Framework can't write text to the screen out-of-the-box (unless you forego all of its 2D and 3D capabilities, that is). A little group called Nuclex has put together an excellent text-rendering utility that integrates extremely well with the XNA Framework: http://www.nuclex.org/framework/fonts 1) Reference the Nuclex stuff (see the Tutorial) 2) Make an XML file and fill it with a few tags
-
- Displaying Videoframes with DirectX
by R4d1um
- 11 Replies
- Last post
by BLANC Guillaume
- I use a open source codec/video library (libavcodec). This lib exposes the video frames
as 24_bit RGB bitmaps in memory.
All I want to do now, is displaying those frames in a window as fast as possible.
I tried a very naive approach:
for ( unsigned int i = 0 ; i < Framenumber; i++ ) { Load->get_nth_frame( ID, i , RGBFrame ); DXDev->BeginScene(); Backbuffer->LockRect( &
-
- Rendering to multiple full screens
by Punch
- 3 Replies
- Last post
by qrli
- For a special application we need to do the following using a NVidia Quadro FX 4500 X2 (2 GPUs with 4 outputs) on a system with 4 CPUs. - we get 8 input images from acquisition devices - these 8 images must be rendered to 8 textures using fragment shader programs in two render passes - the resulting images must be rendered to 4 render contexts fullscreen in full HD Resolution (1920x1080) again usi
-
- Various Importers....
by schlrobe
- 0 Replies
- Last post
by schlrobe
- I know that XNA Express ships with 2 3D importers (.x and .fbx).
I was wondering if anyone has written any importers for the other file formats out there
More inportantly, has anyone posted ony of them for general use
Thanks!
Robert
-
- Compiling Errors in FX?
by GeorgeOu
- 3 Replies
- Last post
by GeorgeOu
- I came to an error when compiling. And the error is an internal error in the fx file.The error description is like this:
"d:\Program Files\NVIDIA Corporation\SDK 9.5\MEDIA\programs\HLSL_VideoFilter\VideoFilter.fx(618,2): internal error: invalid access of unbound variable"
And the error code lies here:
texColor0 = tex2D( YUVSampler, VSOUT.TexCoord0 );
Later I compiled .fx file
-
- Creators Club Question
by Kasracer
- 7 Replies
- Last post
by BASmith
- It says on the Creators Club page that "Both subscriptions provide aspiring game developers with access to thousands of game assets from Microsoft and key partners such as Turbo Squid Inc., as well as white papers, specialized starter kits, samples and technical product support to help turn Your World, Your Game into a reality."
So my question is... where are these game assets How can I acces
-
- GameComponents controlling GameComponents
by DevanDanger
- 7 Replies
- Last post
by DevanDanger
- Most XNA game examples I have seen so far load all the game components right away at the beginning of the game no matter what. I looking to setup a GameComponent (GameWorld) which the user will control to load which will subsequently load several other game entities which are inherited from the DrawableGameComponent as well, but they all controlled by the GameWorld as far as enabled/visible. This
-
- SpaceWar with a PC controller?
by redshock
- 13 Replies
- Last post
by Angelpulse
- Hello, I was experimenting the SpaceWar application, but it seems to expect a xbox360 controller instead of a broad PC controller since... well, I'm running it on a PC. Do you know anything about that I should be able to use it. I have a team that wants to use XNA for the PC platform - we could hardly care about the xbox360 at the moment. Forcing our players to have a xbox360 controller when they
-
- XNA shader parameters from 3d studio
by Pawel J
- 8 Replies
- Last post
by Leaf.
- Hi!
I'm currently using 3D Studio Max to create scenes, then export them into .x file format and then import with a standard content pipeline. What I miss is that after the content pipeline processes my scenes I can't find the shader's parameter values I've set up in 3D Studio Max. Is there a way to overcome this problem
Any help appreciated,
Pawel Jarzebski
-
- Serializing/Saving Entire Scene
by Jeff Weber
- 2 Replies
- Last post
by Jeff Weber
- I'm looking for tutorials/examples/ideas on the best way to set up scene serialization. I'm about to start on an editor and will need the ability to save out an entire scene an reload it...
I know how to seriailize individual objects and such, I'm looking for more big-picture ideas/patterns.
Many of my physics objects currently do some intitialization work in there constructor. Should this w
-
- Single letter prefix before a variable
by ShawnKY
- 14 Replies
- Last post
by Jim Perry
- I was wondering if anyone can point me towards some information on having a single letter prefix before AND after a variable name. Is that a standard practice I have come across this in a number of different programs, yet still a bit unclear why they are used. Any info would be appreciated. Some examples of what I have seen:
aFireball.Value.Source
mWizard = new Sprite....
rotation_ang
-
- XNACommunityArcade - Need game info / links...
by Jason Jaegers
- 9 Replies
- Last post
by Mordt2
- XNAResources.com is about to launch the next site in our site network... The site is called XNACommunityArcade! We hope that it will turn into THE CENTRAL listing place for all XNA created games! Since right now there is no "Arcade" for the games developed with XNA we want to start building one for the community!
Here is a screenshot of the site:
http://www.xnaresources.com/xnaco
-
- Where to extract DirectX SDK?
by FlameGuard
- 4 Replies
- Last post
by Ejele012
- Hi all,
Where do i extract the DirectX SDK to
-
- Pixel Shader 1.1
by Jose Rodolfo
- 14 Replies
- Last post
by Barbarian of the West
- Hello, I'm studying the possibility to use XNA todevelop some educational games, but I Have a doubt, does every student that will play a simple game of mine will have to buy a video card that supports pixel shader I wonder if there is a way to develop a game in XNA and not to use pixel shader, I'm from Brazil, and many of the students does not have a good video card.