-
- loading image
by abhishek_6023
- 0 Replies
- Last post
by abhishek_6023
- hello I am using Visual C# 2005 with DirectX SDK 9.0 ..when i wrote the following code my screen turns black and I suspected that i needed to give the full path name of the image file,,but even then it didnot work. please help me to understand what went wrong.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
-
- Little 2d help
by Calvin Bell
- 6 Replies
- Last post
by Jim Perry
- Howdy,
Just a quick question for everyone. I have 2 64X64 textures that
I want to use. One of them will be on top of the other one.
For this I have a different draw height as the last parameter in the
SpriteBatch.Draw function. If I change the first to 1 and the
second 2 to I can see one of them. If I switch heights I can see
the other one. I would like to see THROUGH the top one (excep
-
- Payment procedure for XNA Creators Club for resident not from supported locales
by Singulus
- 1 Replies
- Last post
by The ZMan
- Hello everyone,
Here is the excerpt from e-mail I have sent to XBOX Live Support in order to receive information about my problem:
BEGIN_QUOTE
I want to get 4-month XNA Creators Club account, but a number of obstacles has been stopping me for doing so: - The country in which I live is not in the supported locales from the XBOX 360 settings. My country is Bulgaria. - As a consequence, I wa
-
- 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
-
- Render transparency with shaders
by XeviaN
- 8 Replies
- Last post
by SoopahMan
- Hi All! I'm in the beginning of shaders programming. I've two shaders that renders two meshes with some nice textures effects This is my great render queue: setEffect1 drawindexedprimitive setEffect2 drawindexedprimitive Cool. Now, i want the second drawindexedprimitive to draw the mesh at the half of opacity, over the first mesh rendered with Effect1. Have i to modify Effect2 so that it supports
-
- Car game prototype
by Astennu
- 1 Replies
- Last post
by mattjb
- Small car game prototype made as school projects, nothing too fancy but what the heck.. Some screenshots can be found over here: http://www.innogiant.com/octanehorn_proto/
-
- Programs used to make .bmp files and such?
by Link9228
- 11 Replies
- Last post
by Fluxtah
- I was wondering what programs people use to make the .bmp files and other image files for their heightmaps and stuff. Please dont say Adobe Photoshop as one, I have GIMP where that comes in. but any other program names will be very helpful, thanks
-
- 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
-
- XNA GSE - Vista installation
by Eric van Feggelen
- 4 Replies
- Last post
by Eric van Feggelen
- Hello all,
I'm running the latest Vista Ultimate (MSDN) version on my machine. For some reason I can't get GSE to install. At the end of the setup, Microsoft Visual C# Express crashes and the setup is rolled back. Always when it states "Registering project templates".
Like the Visual C# Express site suggests, I've tried uninstalling the product, and re-install it as an Administrat
-
- Where do I start?
by Mateusz Rajca
- 2 Replies
- Last post
by waruwaru
- Hi Guys!
I have been coding in C# for 3 years now. But I only wrote Windows and Console Applications. Where do I learn DirectX game development
~Matt
-
- question about positions
by GMS0012
- 5 Replies
- Last post
by Fluxtah
- hello all.
i am working on a little 2D game.
I am working with a background and a foreground..
for th ebackground i use the following stuff:
private void DrawHintergrund( SpriteBatch Batch)
{
for ( int y = 0; y < SichtbarY; y++)
{
for ( int x = 0; x < SichtbarX; x++)
{
Hintergrund.Draw(t2dTiles[Map[y + PosMapY, x + PosMapX]],
new
-
- TextureImporter returning a Zero'd texture
by Pocketmnky
- 5 Replies
- Last post
by Shawn Hargreaves - MSFT
- Something strange is happening in my ConvertMaterial override. Here's my build process in pseudo code:
I place the normal texture in the same directory as the diffuse texture with a simliar naming convention (eg. diffuse=BumpWall01_rgb.png normal=BumpWall01_nrm.tga)
My ConvertMaterial override scans the directory of each diffuse texture it converts to find whether it has a normal file.
-
- MDX - Tracking mouse position causes render loop problem
by Talyrond
- 0 Replies
- Last post
by Talyrond
- Hi, this is really strange, I am using Tom MillerĄ¯s render loop with the application idle.
All works well, but now I want to track the mouse position in my windows form. So I have a StatusStrip with some ToolStripStatusLabelĄ¯s, hereĄ¯s my code in the mouse move event:
Dim mousePositionX, mousePositionY As String
mousePositionX = String .Format( "{0:,0.0####}" , Me .Sc
-
- Wireless Connection To 360
by exiquio
- 7 Replies
- Last post
by Bill Reiss
- I have a 360 connected to a Linksys wireless router along with all the other devices on the network. My development machine is running Windows Server 2003 on a wireless machine. I have the game launcher, C# Express, and XNA Game Studio all installed in there respective places. I have correctly entered the key for XNA Studio. I can not for the life of me connect to my 360 (and yes Live is up) via X
-
- Animation sample?
by gmcbay
- 14 Replies
- Last post
by cybereality
- Great work on XNA GSE 1.0! I downloaded it today and signed up for the 360 Creator's Club. Getting the basic engine code I've been working on under Windows for the past few weeks compiling and running on 360 was far easier than I was expecting (though it would be nice if the IDE had better support for projects that target both platforms).
One aspect of the engine I've been avoiding for a while
-
- 3D cameras???
by TheGreenGenie
- 3 Replies
- Last post
by riemerg
- Hi all,
I am trying to create a basic driving game , i have a car model and a model that vaguely resembles an oval track, i have both models rendering and the car moving using the control system in the going beyond xna tutorials, my question is how would i implement a third person camera the looks something like those in Need For Speed Carbon.
I would like the camera to follow the car but st
-
- Weird backface glitch
by RavenWorks
- 10 Replies
- Last post
by RavenWorks
- I'm not sure what's going on here; I wouldn't be surprised if it's just my video card. But has anyone seen this before cellphone_rendering_bugs.jpg That's a series of screenshots I took as the model rotated... the original model in Maya has all its normals facing the right way. I exported it as an FBX200611 model. I'm (unfortunately) using a Compaq Presario with an NVIDIA GeForce 6150 LE video c
-
- How to run my XNA game on another computer
by Carolina Gomes
- 5 Replies
- Last post
by irishcoder
- Hi there!
I managed to write a simple XNA Windows game and IĄ¯d like to know : how can I have my friends actually play it on their computers Do I need any run-times or DLLs
Thanks in advance,
Carol
-
- Problem with "How To: Animate a Sprite" Tutorial
by GrizzlyBear1010
- 8 Replies
- Last post
by GrizzlyBear1010
- In XNA GSE 1.0, I've been looking at a few how-to articles in the documentation. The first few I tried were quite good, but I'm having a problem with the "How To: Animate a Sprite" tutorial. I made a single texture with four frames in it, all the same size (I believe the texture is 255 X 92 pixels, or close to that). I typed in all the code exactly what it's like in the tutorial, but whe
-
- Help Please, kinda alot of questions in here
by moo10032
- 14 Replies
- Last post
by moo10032
- Hi, im a complete beginner with any kind of coding and i want to make a simple game to start learning how to code. I'm very fluent in 3ds max and want to put some use to the models i've made and put them in my own game... I want to make a simple space ship flight game. I've done the 3 tutorials for moving models but I dont really know how to apply them to my own game. heres mainly what i want; 1.
-
- Build for Xbox 360 and Windows in one project
by Leaf.
- 14 Replies
- Last post
by AndyL
- I have created a Visual Studio project template that can be built for either Xbox 360 or Windows, by selecting the correct platform in the VS IDE. There's nothing particularly clever about this, it just uses some of the conditional abilities of MSBuild projects to merge the properties of an Xbox 360 XNA project with a Windows XNA project. There's a slight problem though - the VS Express C# IDE has
-
- debug drawing
by supagu
- 3 Replies
- Last post
by supagu
- hrmm how are people handling not being able to draw lines Previously i've extensively used line drawing (in opengl at least) for debugging purposes, but now dx10 is all shader driven i cant do this can i what methods are you using for debug drawing currently i load up the opengl version of my engine to see debugging then load up the dx10 version to see what it looks like under dx10, but this is a
-
- rotating with the mouse
by CyberLord_Dan
- 6 Replies
- Last post
by CyberLord_Dan
- I'm having a big problem on moving vertices with the mouse. Using the Vector3.Unproject, automaticly sets the Z coordinate for a point (the distance from camera)(in my case to 7). When I set the Z coordinate of a vertex to 2, it's not on the same position on the screen as the mouse is. How do I unproject a Vector without modifying it's Z coordinate, but the Vector coordinate to look on the screen
-
- JIT register allocation and bounds checking
by AndyL
- 14 Replies
- Last post
by AndyL
- A few questions for Shawn or one of his buddies:
1/ Does the register allocator used in the XBox JITter use all of the available scalar floating point registers If not, how many can it deal with
2/ Does the XBox VM ever skip array bounds checking, and if so under what conditions
3/ Presumably there are no bounds checks when using unsafe code and pointers
4/ Are the method inlining l
-
- Animating the bones from an *.FBX Modell
by ScaryJack
- 3 Replies
- Last post
by Dave van Bale
- hello there, IĄ¯ve created a 3d modell and now i wonder how to animate it... I donĄ¯t want to rotatet or translate the whole model, I just want to create an animation by working with the bones...unfortunatly I didĄ¯nt find an example file where this is done. also I wonder how a allready present animation( which is created in a 3d modelling programm ) can be started. thanx alot, ScaryJack