Search:

Type: Posts; User: Dirnol

Search: Search took 0.46 seconds.

  1. Replies
    6
    Views
    555

    Re: MouseListener Conundrum

    Thanks for the help, atan2 makes much more sense to use in this case. Also, I will definitely try to be more thorough in explaining my problem in the future, thanks for the advice :)
  2. Replies
    6
    Views
    555

    Re: MouseListener Conundrum

    After getting a crash course on angles from my trig teacher (I haven't used sin, cosin, or tan since I was a freshman), I found a way to do it. It's probably not the most efficient way to do it but...
  3. Replies
    6
    Views
    555

    Re: MouseListener Conundrum

    I know how to make a MouseListener as well as how it functions, my problem is with the math I need to use to calculate the angle depending on where the mouse is on the screen.

    For instance, let's...
  4. Replies
    6
    Views
    555

    MouseListener Conundrum

    Hello,

    I'm creating a top down dungeon crawler - esque game as a java application, and one of the problems I'm facing is changing the position of the player depending on where the mouse is in...
Results 1 to 4 of 4