Angle problem
Posted: Tue May 17, 2005 5:51 pm
Hi,
I have big problem:
I'm using angle=direction(pwire.x,pwire.y,xmouse,ymouse); and diretional_velocity=15; to move a bullet. //pwire is a player
But it's not working, bullet is moving toward the game center(I think).
I was using a xscreen instead of pwire.x and yscreen....and it works well, but now it's not enought for my ideas.
I have big problem:
I'm using angle=direction(pwire.x,pwire.y,xmouse,ymouse); and diretional_velocity=15; to move a bullet. //pwire is a player
But it's not working, bullet is moving toward the game center(I think).
I was using a xscreen instead of pwire.x and yscreen....and it works well, but now it's not enought for my ideas.