# PsyGames

Member Since 14 Jul 2007
Offline Last Active Oct 20 2011 01:43 PM

### Sounds Problem

10 March 2010 - 06:36 PM

in my project, the game is playing background music all the time and a gun shot sound when the player is shoot.
but when player shoots, they background music is stopped.. why? how i can solve it?

### A Mouse Problem

31 December 2009 - 10:28 PM

Hello GMC.
I have a problem in my first person shooter game.
The problem is with the mouse view.
To turn left, you just need to drag the mouse to the left.
but the mouse must be in center of the screen else the camera wont stop turning.
my question is:
How I can turn left with camera with out placing the mouse in the middle screen?

### Question

01 July 2009 - 08:26 AM

someone can tell me the difference between d3d_model_wall and d3d_draw_wall ?
and so on with other basic shapes....

### Problem. 3d Math

28 June 2009 - 11:45 PM

im making a tool that helps me create a levels for my game.
in the tool, i added a 3d mouse that every model you will create, the model will be create in the 3d mouse's x, y and z to his x2, y2 and z2(determined with real windows mouse).

the problem is:

when you moving the mouse along the x axis and the direction of the camera is 0, the y of the 3d mouse is moved, instead of x.

but when the direction of the camera is 90, its work fine, when you move the mouse to left, the 3d mouse is moved to left as well.

i tryed to figure out a math that calculate what coordinate should move depends on the direction of the camera and the mouse (x or y move) but failed.

i will be glad if someone can help me with this problem so i can move on.

02 June 2009 - 07:45 PM

im making a dll that create & writing & reading from file.
but iv got an error.. i dont know how to share the file with all the functions...

here is the code:

```#include "dll.h"
#include <windows.h>
#include <fstream.h>

export int new_file(char *name)
{
ofstream file(name);
}

export int write_string(char *string)
{
file << string;
}```

someone can help?