-
- Fade In/Out a single que
by Bloom326984
- 2 Replies
- Last post
by Scott Morgan
- Hi There,
I have been trying to get a particular Que to Fade In/Out, but am not having any luck. I tried the following steps:
1. In the XACT tool I set the Sound to the Category 'Music'. This made available the Fade In / Out duration values. Nothing happened when I adjusted either of them.
2. In the XACT tool I set the Que Fade In / Out duration values. Nothing happened when I adjusted ei
-
- Rendering 2D in screen (not in 3d world)???
by Hadow
- 2 Replies
- Last post
by Thomas Aylesworth
- Hello there =P
Yea i have many question abaut it, im trying my first shooter game but i have problems trying to make 2d's on the screen like lifebar or the portrait, theres an easy way to make 2d's on screen and not in the 3d wolrd, i dont like sprites following the camera, it is the only way to do it i would like to know another way to show my 2d(alpha chanel) on screeen if there is it....
-
- about the dream-build-play contest
by Psionic81
- 1 Replies
- Last post
by Kyle_W
- concerning the dream build play contest.. i have a game in development, and was wanting to use an external library called MOgre, which is a c# port of the Ogre3d engine. Are external 3d libraries like this allowed in the contest
-
- Need XNA on a WinForm?
by redshock
- 6 Replies
- Last post
by DoomGoober
- I was able to create this in a WinForm with my previous knowledge on MDX. Most of it was basically the same process, aka writing an initialization method, and a render method. The compilation is much faster than XNA Game Studio Express - roughly only 4 seconds as opposed to 30-40 seconds. Anyway, enjoy... just include the Microsoft.Xna references. I wish there was a code block to put this cod
-
- General debugging problem in Direct3d
by Andrius Bolsaitis
- 2 Replies
- Last post
by The ZMan
- Hello everyone,
I am trying to create a general game map editor. Please take a look at the code below.
Before going further I would like to fix some severe problems with the program. The problem is that while debugging the program I often (1 out of 3 times approximately) get different errors. For example "Fatal execution error was detected" on OnIbCreate, buffer.setdata, etc.
The compiled
-
- Help with 2d rotation... (Atan2?)
by Bruce M
- 1 Replies
- Last post
by dczraptor
- Hi,
Very noob to xna, as well as game programming.. but already stuck on some trig and would love some help.
I have a texture that i want to rotate to face my mouse cursor at all times, I have tried various formulas that I thought worked in Actionscript but I must be missing something on the conversion...
rotationPoint = GetAngle(mouseX,MouseY)
float GetAngle( int xx, int y
-
- XNA + Standard Dialogs
by acemuzzy
- 4 Replies
- Last post
by acemuzzy
- Hi, Thanks in advance for any help. Sorry if it's a silly question - though I have done a quick search of the forums and found nothing. I'm aware that, because of the way XNA uses the graphics device, standard windows buttons etc. can't be used in the main game window. So I wrote a quick form to show some diagnostics / settings outside of the main window. All OK. I now want that form to have a 'sa
-
- Which do I learn? C# or C++
by Derrick2004x
- 3 Replies
- Last post
by Lord_Dan
- Hi my name is Derrick(17 years old Junior in Highschool) and im fairly new to this website. I have been wanting to learn how to make videogames for quite some time, and once I realized all the work that goes into it, its quite overwhelming. I began earlier learning how to use C++ but it was in book form, and it was really outdated, and showed no way how to add graphics. I
-
- Using MCI Commands from C#
by ksolutions
- 1 Replies
- Last post
by Yan-Fei Wei - MSFT
- I have a windows form application for MP3 playback. The code is pretty simple ( mostly extracted from a post in CodeProject).
First the function declaration
[ DllImport ( "winmm.dll" )]
private static extern long mciSendString(
string strCommand,
StringBuilder strReturn,
int iReturnLength,
IntPtr oCallback);
and then i play the file
-
- Screen shots on the Xbox 360
by Martin Johannesson
- 14 Replies
- Last post
by waruwaru
- I'm simply wondering if there is a way to somehow capture the backbuffer contents to a file on the xbox 360 and then transfer that file back to the PC I've checked the framework docs and this forum and it doesn't seem to be possible, but I'm hoping that I am wrong. :-)
A screenshot looks slightly less amateurish on a website than if I photograph my TV, even though it still looks like programmer
-
- Collision Detection
by Blademasterbobo
- 3 Replies
- Last post
by Blademasterbobo
- I've searched everywhere, but I can't seem to find any up to date guides on pixel perfect collision detection with C++ and DirectX sprites. So far, I've got an idea of how to get the collision detection part based on the coordinates and size of the sprites, but no idea on how to do the pixel perfect part. Any guides, or help with how to check which pixels in two sprites are overlapping, would be a
-
- Putting a Window on top of a DirectX fullscreen window?
by Mathieson
- 6 Replies
- Last post
by The ZMan
- I'm trying to paint on top of a running full screen DirectX app (seperate process), similar to how XFire In Game works. Is there a way I can do this Currently anything I do just either knocks out my applications Device (DeviceLost event) or causes the other application to minimize. If possible I'd like to be able to do it without obtaining a handle to the other application's Device object. Any id
-
- How can I draw a flat Sprite in 3D space using transparency/alpha layers?
by n8dogg
- 9 Replies
- Last post
by n8dogg
- Hello XNA community, I am currently working on a level editor that renders in 3D for a 2D game (think New Super Mario Bros). I am using DrawIndexedPrimitives with 24 vertices to draw cubes, wedges, and other simple shapes that make up individual tiles in the game. When I use a similar technique to draw a 2D sprite in 3D space (let's say, a PNG file with transparent space in some areas of the file)
-
- Wave bank file is huge
by Scurvy Lobster
- 5 Replies
- Last post
by Scurvy Lobster
- Hi! I need help on compressing audio files.
Our game music is making our XNA game quite huge. How do you make XNA compress the sound and music for the game when you deploy
-
- XNA play key frame animation ?
by brian_tsim
- 1 Replies
- Last post
by Jim Perry
- Hi all,
I craete a .x file. The file include key frame animation. How to play animation with XNA. I tried search refer with internet. But the refer is very difficult, who can give me good easy example
Best Regards,
-
- 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
-
- Gamekit developming
by lotierm
- 7 Replies
- Last post
by waruwaru
- I have an idea - to make freeware game developming kit using XNA Game Studio Express , which will include all required instruments for normal game-developing like Level/word editing instruments, simple scripting language and physics included. All that included in 1 progamm using which game-developer would make his game.
I have a question - can I find here enthusiasts which can do this kind of
-
- Methods for creating 2D geometry in 3D
by Corvidae
- 3 Replies
- Last post
by Corvidae
- I'm doing some work with basic physical simulation in XNA, and I need to be able to draw a 2D circle at an arbitrary size in a 3D scene to show the path an object will take when orbiting another object. The only method I can find to do this will involve making a Texture2D and scaling it to fit; however, I'd like to avoid the inherent problems with this (primarily the fact that the texture quality
-
- Texture trouble
by Nostalgia
- 3 Replies
- Last post
by BLANC Guillaume
- Greetings, programs. I'm having an odd problem rendering a simple bitmap to the screen.
I've got a 256x256 texture that I'm trying to render onto a 1024x768 screen. I've got 4 vertices to make the two triangles that make up my screen rectangle. I lock the texture and fill it with differently colored horizontal stripes, then present it to the screen
When I use D3DFVF_XYZ coords in windowed mo
-
- Iterating through a GameComponents list?
by XenoByteZero
- 4 Replies
- Last post
by Darkside
- Ok so I have a standard list of GameComponents, and need to loop through them on the containing classes Draw and Update methods. However some of the Components in the list are DrawableGameComponents. So how do I only call the Draw method on the DrawableGameComponents that actually have a Draw method, and not the standard GameComponents that don't Is the only way to actually have 2 lists, one for D
-
- Poser Model
by Scott Guthery
- 3 Replies
- Last post
by thedo
- I exported a model (V3) from Poser as both a DXF and 3DS file, ran these files through the Autodesk converter to make FBX files and loaded both of these my XNA Game Studio Express program. The FBX model from the DXF file yielded a big red square. The FBX model from the 3DS file yielded just the tummy of V3.
Any suggestions as to the proper settings for the conversion of DXF and 3DS file to yiel
-
- Grr, my game wont play, WTF!!!
by Cho-Hakkai
- 13 Replies
- Last post
by Catalin Zima
- its coded right, but ist says this, for game.run();
"Could not find a Direct3D device that has a Direct3D9-level driver and supports pixel shader 1.1 or greater."
what the hell does that mean, and what do i do about it
-
- 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
-
- Is it support 5.1 ?
by Galith
- 3 Replies
- Last post
by Iron_Mala
- im trying to create a game for blind people so...
-
- 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