text: I created a 3D game called Galactic Battle 3D using directx 10.
  Operating system: Windows Vista or 7
  Compiler: MS Visual C++ Compiler
  Graphics Library: Direct3D 10
  Other Libraries: DirectInput...
  I created a 3D game called Galactic Battle 3D using directx 10.
  Operating system: Windows Vista or 7
  Compiler: MS Visual C++ Compiler
  Graphics Library: Direct3D 10
  Other Libraries: DirectInput...
  I want to tell the player his/her health via the DrawText function, but the only problem is that by doing so it messes with the how the meshes are drawn. What I mean by that is it seems like the...
  Thanks to everyone, now my problem is solved.
  Well, I feel a little silly now...
  I'm trying to pass an array in a function, but only one element gets through. For example, in this program,
  #include <iostream>
  using namespace std;
  void displayInts(int intergers[]);
  ...
  I'm reading an obj file to get its vertex and index data, but the file I was reading didn't say how many vertices or indices, so I decided to use a vector to read it and then transfer the data to an...
  Oops, I guess that was a mistake, but it still didn't solve my problem.
  What do you mean? I double checked the example in my book and it looked right.
  Here is my favorite game I have made. It is called Galactic Battle.
  Operating system: Windows
  Compiler: Code::Blocks
  Graphics Library: Win32
  Other Libraries:
  Description: Try to stay alive by...
  I'm trying to make a game using DirectX 10, and I started by making a sprite for the health bar. The problem is the health bar isn't being drawn on the screen. Here is the relevant code.
  ...
  Can anyone recommend a good DirectX10 book that covers lighting and loading 3D models?
  That was when the code was
  vertices[x + z * NUM_VERTSX].Pos.y = rand() % CELL_HEIGHT;
  I'm reading the book "Beginning DirectX 10 Game Programming" and as I go along I'm
  writing a simple game engine using what I learned.
  I am trying to make a simple 3D grid using that engine, but...
  I'm writing a simple game engine and the first thing I decided to do was to make it output text, but the problem is the text wont show up
  Here is my code
  //Initializing font and sprite object...
  Well this is what I mean
  //At the beggining pBackBuffer is NULL
  ID3D10Texture2d pBackBuffer = NULL;
  GetBuffer(0, __uuidof(ID3D10Texture2D), (LPVOID*)&pBackBuffer);
  //At the end pBackBuffer...
  So how do you do that, like in the function GEtBuffer()?
  I was creating a basic window, and when I tried to compile it I got these errors
  c:\program files (x86)\microsoft sdks\windows\v7.0a\include\objidl.h(11280): error C2061: syntax error :...
  Nope, still not working
  These errors where in the d3d10.h file and the error for _out was in line 818 and the one for _in was is line 822.
  I just began reading the book Beginning DirectX 10 Game Programming and when I tried to compile the program from the second chapter I get an array of error. Here are the first few
  error:...
  I'm not sure if I can post this here, because this isn't a game (but game related), but I want to get this out there. This is a graphics engine (I think that's the appropriate name for it) for...
  I want to create a hang man game and need some way to have the user input text. Is there some function like MessageBox, but instead of outputting text you receive input, or do I have to make one...
  Alright, here's my code (sorry, it's a bit sloppy)
  HangMan.h
  #ifndef HANGMAN_H
  #define HANGMAN_H
  #include <windows.h>
  When I debug my program it says this
  Program received signal SIGSEGV, Segmentation fault.
  In ntdll!RtlEnumerateGenericTableWithoutSplaying () (C:\Windows\system32\ntdll.dll)
  I would...
  Ok, thanks!
  Ok, here's the code to the GameEngine.cpp file
  #include "GameEngine.h"
  GameEngine* GameEngine::m_pGameEngine = NULL;
  GameEngine::GameEngine(HINSTANCE hInstance, LPSTR szTitle, LPSTR...