Search:

Type: Posts; User: bijan311

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    132
    Views
    729,846

    Sticky: I created a 3D game called Galactic Battle 3D...

    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...
  2. Direct3D 10 DrawText function screws with depth.

    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...
  3. Thanks to everyone, now my problem is solved. ...

    Thanks to everyone, now my problem is solved.



    Well, I feel a little silly now...
  4. When getting array as a parameter for a function, only one element is passed

    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[]);
    ...
  5. Replies
    1
    Views
    1,442

    Transferring vector data to an array

    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...
  6. Replies
    5
    Views
    3,299

    Oops, I guess that was a mistake, but it still...

    Oops, I guess that was a mistake, but it still didn't solve my problem.
  7. Replies
    5
    Views
    3,299

    What do you mean? I double checked the example in...

    What do you mean? I double checked the example in my book and it looked right.
  8. Replies
    132
    Views
    729,846

    Sticky: Here is my favorite game I have made. It is...

    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...
  9. Replies
    5
    Views
    3,299

    Direct3D sprite not appearing on the screen

    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.


    ...
  10. Replies
    1
    Views
    1,431

    DirectX 10 book recemondations

    Can anyone recommend a good DirectX10 book that covers lighting and loading 3D models?
  11. Replies
    2
    Views
    3,586

    That was when the code was vertices[x + z *...

    That was when the code was


    vertices[x + z * NUM_VERTSX].Pos.y = rand() % CELL_HEIGHT;
  12. Replies
    2
    Views
    3,586

    Creating a 3D grid using direct3d 10

    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...
  13. Replies
    0
    Views
    1,562

    Direct3D font not showing up

    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...
  14. Well this is what I mean //At the...

    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...
  15. How do you change the value of a variable using a function?

    So how do you do that, like in the function GEtBuffer()?
  16. Replies
    3
    Views
    3,298

    Odd windows problem

    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 :...
  17. Replies
    4
    Views
    1,352

    Nope, still not working

    Nope, still not working
  18. Replies
    4
    Views
    1,352

    These errors where in the d3d10.h file and the...

    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.
  19. Replies
    4
    Views
    1,352

    Program from book is not working

    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:...
  20. Replies
    132
    Views
    729,846

    Sticky: I'm not sure if I can post this here, because...

    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...
  21. Replies
    4
    Views
    2,411

    Get user to input text

    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...
  22. Replies
    3
    Views
    2,115

    Alright, here's my code (sorry, it's a bit...

    Alright, here's my code (sorry, it's a bit sloppy)

    HangMan.h



    #ifndef HANGMAN_H
    #define HANGMAN_H

    #include <windows.h>
  23. Replies
    3
    Views
    2,115

    Segmentation fault

    When I debug my program it says this



    Program received signal SIGSEGV, Segmentation fault.
    In ntdll!RtlEnumerateGenericTableWithoutSplaying () (C:\Windows\system32\ntdll.dll)


    I would...
  24. Replies
    5
    Views
    5,662

    Ok, thanks!

    Ok, thanks!
  25. Replies
    5
    Views
    5,662

    Ok, here's the code to the GameEngine.cpp file ...

    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...
Results 1 to 25 of 152
Page 1 of 7 1 2 3 4