Search:

Type: Posts; User: fighter92

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Thread: Audio

    by fighter92
    Replies
    9
    Views
    1,504

    OK, it works now. I unfortunately don't know...

    OK, it works now.

    I unfortunately don't know the meanings of some things. Maybe someone could tell me what are:

    1) AL_VELOCITY
    2) AL_ORIENTATION
    3) AL_PITCH
    4) AL_GAIN
  2. Thread: Audio

    by fighter92
    Replies
    9
    Views
    1,504

    I started with OpenAL, but I have already run...

    I started with OpenAL, but I have already run into a problem.

    The problem is about loading WAV files. All the tutorials I have read tell me to use a function called alutLoadWAVFile, but it seems...
  3. Thread: Audio

    by fighter92
    Replies
    9
    Views
    1,504

    I also found some info about XACT and it's a part...

    I also found some info about XACT and it's a part of DirectX. Maybe you could say some advantages/disadvantages.
  4. Thread: Audio

    by fighter92
    Replies
    9
    Views
    1,504

    Audio

    Hello!
    Currently I'm planning to start programming the audio part of my game.

    I'm a little bit confused. I googled and found out that DirectSound is practically gone for Vista. That means there's...
  5. Thread: Textures

    by fighter92
    Replies
    1
    Views
    1,449

    Textures

    Hello!
    I know I can swap textures on a mesh, but it should be impossible to use several textures on one mesh simultaneously, right?

    If it's impossible, how can I do such things as changing...
  6. Replies
    4
    Views
    2,505

    I had a similar problem when I programmed my...

    I had a similar problem when I programmed my collision detection algorithm. For example if I tried to detect collision with two rectangles I tried if the corners of one rect were inside the other...
  7. Replies
    6
    Views
    1,711

    I found out the problem and fixed it. It seems...

    I found out the problem and fixed it. It seems I've been lazy and written if(charname=="blabla"). It works perfectly in debug, but not in release.
  8. Replies
    6
    Views
    1,711

    There seems to be no uninitialized variables in...

    There seems to be no uninitialized variables in places connected to view. Although I didn't know that difference, I usually give them a value anyway, if it's important.

    Are there more important...
  9. Replies
    6
    Views
    1,711

    debug release conf problem

    Hello!
    I have a weird problem. My DirectX game works like it should only with debug configurations. With Release it does not. The same code works differently somehow.

    When I try the release...
  10. Replies
    6
    Views
    4,241

    Problems solved, thanks!

    Problems solved, thanks!
  11. Replies
    6
    Views
    4,241

    Thanks, problem solved! I have another problem...

    Thanks, problem solved!

    I have another problem however that fits into the same category, so I won't make a new topic for it.

    When I hold a key down for some time and then press another key, it...
  12. Replies
    6
    Views
    4,241

    problem with keyboard input

    Hello!
    I'm programming a game. I use the keyboard input of my arrow keys to move the character in my game. It works, but there's a small defect.

    When pressing a button and not releasing it, the...
  13. Replies
    7
    Views
    1,238

    Never mind the previous post, that wasn't the...

    Never mind the previous post, that wasn't the problem.
    The problem was, that I had to unset the texture, so the 2D elements used the colors of the previously set textures. Colors turned darker,...
  14. Replies
    7
    Views
    1,238

    It seems I know the problem now....

    It seems I know the problem now.
    D3DPRESENT_PARAMETERS :: EnableAutoDepthStencil

    When it is set to TRUE as in 3D it does weird things. I use 3D and 2D rhw simultaneously so I somehow need to...
  15. Replies
    7
    Views
    1,238

    OK, I forgot about alpha, because I don't use it....

    OK, I forgot about alpha, because I don't use it. These colors are for rhw vertices. Nevertheless it seems to make no difference. It seems that ffffff and ffffffff give exactly the same result and...
  16. Replies
    6
    Views
    1,173

    There are two possibilities 1) I'm an idiot. 2)...

    There are two possibilities
    1) I'm an idiot.
    2) My memory fails me.

    Problem is solved.


    LPDIRECT3DTEXTURE9 Texture[1];
  17. Replies
    6
    Views
    1,173

    I narrowed the variable changing part more down....

    I narrowed the variable changing part more down.



    D3DXCreateTextureFromFile(DirX_Device, render_info[2].tex_name, &Texture[2]);


    I'm absolutely sure the variable that changes isn't one of...
  18. Replies
    6
    Views
    1,173

    There's no need to name the variable as it isn't...

    There's no need to name the variable as it isn't used in that code anyway. I have already debugged and I have no idea why it changes there. It seems to have no logical connection. I have never had...
  19. Replies
    6
    Views
    1,173

    Data corruption

    Hello!
    I have come to a weird problem. My data seems to corrupt somehow with a little piece of code that is not at all connected to the thing that corrupts.


    ...
  20. Replies
    7
    Views
    1,238

    Value Expected Actual ffffff white this...

    Value Expected Actual
    ffffff white this
    ffff00 this this
    00ffff this this
    ff00ff this this


    It's no point to give more colors. It seems that all colors are darker and...
  21. Replies
    7
    Views
    1,238

    color problem

    Hello!
    I use vertex-colors in my 2D elements of my program.
    I thought I understood the what the color is, but it seems I don't. I thought the color consists of RGB values: RRGGBB. So that 0000ff is...
  22. Replies
    6
    Views
    5,375

    Thanks, it's working now.

    Thanks, it's working now.
  23. Replies
    6
    Views
    5,375

    I really don't need to rotate or scale, but I...

    I really don't need to rotate or scale, but I need to use some detail at multiple places on the screen, so I still need to be able to move them.
  24. Replies
    6
    Views
    5,375

    I'm not sure if I understood correctly what you...

    I'm not sure if I understood correctly what you meant by re-translate into world's position. The problem is these 2D details don't actually have a world position as they are menus, their details etc....
  25. Replies
    6
    Views
    5,375

    2D in directX

    Hello!
    I use both 3D and 2D in my DirectX program. I use the rhw method for 2D. My question is probably surprising: How can I draw 2D in a given location on the screen? In 3D I use matrix...
Results 1 to 25 of 62
Page 1 of 3 1 2 3